1
0
Fork 0

*** empty log message ***

This commit is contained in:
bagyenda 2008-12-26 09:56:43 +00:00
parent 967898a995
commit 591c61f094
1 changed files with 6 additions and 2 deletions

View File

@ -109,10 +109,12 @@ static Octstr *get_dlr_notify_url(Octstr *msgid, char *report_type, Octstr *mmc_
/* At what point do we delete it? For now, when we get a read report,
* and also when we get a delivery report that is not 'deferred' or sent or forwarded
*/
#if 0
if (strcmp(report_type, "read-report") == 0 ||
(octstr_case_compare(status, octstr_imm("Deferred")) != 0 &&
octstr_case_compare(status, octstr_imm("Forwarded")) != 0))
mms_dlr_url_remove(msgid, report_type, mmc_gid);
#endif
done:
return url;
@ -136,13 +138,15 @@ static void fixup_relayed_report(MmsMsg *m, MmscGrp *mmc, char *rtype, Octstr *s
mms_replace_header_value(m, "Message-ID", octstr_get_cstr(newmsgid));
/* Add it back as original. */
mms_replace_header_value(m, "X-Mbuni-Orig-Message-ID", octstr_get_cstr(value));
#if 0
if (strcmp(rtype, "read-report") == 0 ||
(octstr_case_compare(status, octstr_imm("Deferred")) != 0 &&
octstr_case_compare(status, octstr_imm("Forwarded")) != 0))
mms_dlr_url_remove(value, "delivery-report", mmc->group_id); /* only remove if not
mms_dlr_url_remove(value, rtype, mmc->group_id); /* only remove if not
* interim status
*/
#endif
}
octstr_destroy(newmsgid);
octstr_destroy(transid);