1
0
Fork 0

*** empty log message ***

This commit is contained in:
bagyenda 2008-06-24 17:01:19 +00:00
parent 55f9ee3766
commit 769690693d
1 changed files with 3 additions and 1 deletions

View File

@ -396,7 +396,9 @@ static int sendMsg(MmsEnvelope *e)
octstr_get_cstr(e->from), octstr_get_cstr(to->rcpt), e->msize,
err ? octstr_get_cstr(err) : "(null)");
if (res == MMS_SEND_OK) { /* Do CDR writing. */
if (res == MMS_SEND_OK &&
(e->msgtype == MMS_MSGTYPE_SEND_REQ ||
e->msgtype == MMS_MSGTYPE_RETRIEVE_CONF)) { /* Do CDR writing. */
MmsCdrStruct *cdr = make_cdr_struct(settings->mms_bill_module_data,
e->created,
octstr_get_cstr(e->from),