Hi,

This patch fix the problem when a Delivery report comes on a MMSC which is not similar
to the MMSC from the MT is issued.
I don't know why mmcid is used on the filename (maybe for easy debuging)
- Notice : This patch means a Compatibility breaker.


diff -rbau /mbuni-cvs/mmsbox/dlr.c /mbuni/mmsbox/dlr.c
--- /mbuni-cvs/mmsbox/dlr.c     2005-09-12 11:51:31.000000000 +0200
+++ /mbuni/mmsbox/dlr.c 2007-03-13 20:16:27.000000000 +0100
@@ -53,7 +53,7 @@
          return -1;
     }

- t = octstr_format("%S-%s_%s", mmc_id, msgid, rtype); /* Put mmc id into name. */
+     t = octstr_format("%s_%s", msgid, rtype); /* filename */

octstr_replace(t, octstr_imm("/"), octstr_imm("$")); /* XXX safe in all cases?? */
     s  = octstr_format("%s/%S", fbuf, t);


--
Telemaque - 06560 SOPHIA-ANTIPOLIS - (FR)
Service Technique/Reseau - NOC
Developpement SMS/MMS/Kiosques
http://www.telemaque.fr/
[EMAIL PROTECTED]
Tel : +33 4 92 90 99 84 (fax 9142)

_______________________________________________
Devel mailing list
Devel@mbuni.org
http://lists.mbuni.org/mailman/listinfo/devel

Reply via email to