Hi David,
This is a known problem on EMI/UCP
We did fix it with some patches posted to this mailling list
but no global fix has been release.
Vincent.
--
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)
----- Original Message -----
From: "David E. Meier" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, December 14, 2006 11:49 AM
Subject: DLR/message ID mismatch
Hello,
I found that sometimes the wrong message ID is updated with delivery
notifications. I tracked one of those in the logs:
2006-12-14 03:10:36 [12] DEBUG: boxc_receiver: sms received
2006-12-14 03:10:36 [12] DEBUG: boxc_receiver: sms received
2006-12-14 03:10:37 [10] DEBUG: EMI2[swisscom]: emi2 sending packet:
<^B17/00188/O/51/<mobile_1>/06C8A413//1//7/////////////3//414C45525420686E65687474702F687474703A20777777312E6469726574746F2E63682028546875204465632031342030333A31303A313629////////5039/////DF^C>
2006-12-14 03:10:37 [10] DEBUG: EMI2[swisscom]: Got packet from the main
socket
2006-12-14 03:10:37 [10] DEBUG: EMI2[swisscom]: emi2 parsing packet:
<^B17/00043/R/51/A//<mobile_1>:141206031036/39^C>
2006-12-14 03:10:37 [10] DEBUG: Found entry, row[0]=31, row[1]=inetworx,
row[2]=http://localhost/smsapp/dlr.php?msgid=183336&code=%d, row[3]=HIN,
row[4]=(null)
2006-12-14 03:10:37 [10] DEBUG: created DLR message for URL
<http://localhost/smsapp/dlr.php?msgid=183336&code=%d>
2006-12-14 03:10:37 [10] DEBUG: removing DLR from database
2006-12-14 03:10:37 [10] ERROR: Could not route message to smsbox id
<(null)>, smsbox is gone!
2006-12-14 03:10:37 [13] DEBUG: send_msg: sending msg to boxc: <(null)>
2006-12-14 03:10:37 [13] DEBUG: boxc_sender: sent message to <127.0.0.1>
2006-12-14 03:10:37 [1] DEBUG: Dumping 7 messages and 0 acks to store
2006-12-14 03:10:37 [12] DEBUG: boxc_receiver: got ack
2006-12-14 03:10:37 [8] DEBUG: EMI2[swisscom]: emi2 sending packet:
<^B04/00188/O/51/<mobile_2>/06C8A413//1//7/////////////3//414C45525420686E65687474702F687474703A20777777312E6469726574746F2E63682028546875204465632031342030333A31303A313629////////5039/////E7^C>
2006-12-14 03:10:37 [8] DEBUG: EMI2[swisscom]: Got packet from the main
socket
2006-12-14 03:10:37 [8] DEBUG: EMI2[swisscom]: emi2 parsing packet:
<^B04/00043/R/51/A//<mobile_2>:141206031036/41^C>
2006-12-14 03:10:37 [8] DEBUG: Found entry, row[0]=31, row[1]=inetworx,
row[2]=http://localhost/smsapp/dlr.php?msgid=183337&code=%d, row[3]=HIN,
row[4]=(null)
2006-12-14 03:10:37 [8] DEBUG: created DLR message for URL
<http://localhost/smsapp/dlr.php?msgid=183337&code=%d>
2006-12-14 03:10:37 [8] DEBUG: removing DLR from database
2006-12-14 03:10:37 [8] ERROR: Could not route message to smsbox id
<(null)>, smsbox is gone!
2006-12-14 03:10:37 [13] DEBUG: send_msg: sending msg to boxc: <(null)>
2006-12-14 03:10:37 [13] DEBUG: boxc_sender: sent message to <127.0.0.1>
2006-12-14 03:10:37 [12] DEBUG: boxc_receiver: got ack
2006-12-14 03:10:37 [9] DEBUG: EMI2[swisscom]: Got packet from the main
socket
2006-12-14 03:10:37 [9] DEBUG: EMI2[swisscom]: emi2 parsing packet:
<^B22/00247/O/53/13031500002/<mobile_1>/////////////141206031036/1/107/141206031036/3//4D65737361676520666F7220303739333134353232322C2077697468206964656E74696669636174696F6E2030363132313430333130333620686173206265656E206275666665726564/////////////5B^C>
2006-12-14 03:10:37 [9] DEBUG: Found entry, row[0]=31, row[1]=inetworx,
row[2]=http://localhost/smsapp/dlr.php?msgid=183336&code=%d, row[3]=HIN,
row[4]=(null)
2006-12-14 03:10:37 [9] DEBUG: created DLR message for URL
<http://localhost/smsapp/dlr.php?msgid=183336&code=%d>
2006-12-14 03:10:37 [9] DEBUG: DLR not deleted because we wait on more
reports
2006-12-14 03:10:37 [9] ERROR: Could not route message to smsbox id
<(null)>, smsbox is gone!
2006-12-14 03:10:37 [9] DEBUG: EMI2[swisscom]: emi2 sending packet:
<^B22/00020/R/53/A///9A^C>
2006-12-14 03:10:37 [13] DEBUG: send_msg: sending msg to boxc: <(null)>
2006-12-14 03:10:37 [13] DEBUG: boxc_sender: sent message to <127.0.0.1>
2006-12-14 03:10:37 [12] DEBUG: boxc_receiver: got ack
2006-12-14 03:10:38 [7] INFO: EMI2[swisscom]: Main connection closed by
SMSC
2006-12-14 03:10:38 [7] DEBUG: EMI2[swisscom]: clear_sent called
2006-12-14 03:10:38 [7] INFO: EMI2[swisscom]: connecting to Primary SMSC
2006-12-14 03:10:38 [7] DEBUG: EMI2[swisscom]: Sending operation type 60,
message with password not shown in log file.
2006-12-14 03:10:38 [7] DEBUG: EMI2[swisscom]: emi2 parsing packet:
<^B00/00019/R/60/A//6D^C>
2006-12-14 03:10:41 [8] DEBUG: EMI2[swisscom]: Got packet from the main
socket
2006-12-14 03:10:41 [8] DEBUG: EMI2[swisscom]: emi2 parsing packet:
<^B76/00303/O/53/13031500002/<mobile_2>/////////////141206031036/0/000/141206031040/3//4D65737361676520666F7220303738383038353534322C2077697468206964656E74696669636174696F6E2030363132313430333130333620686173206265656E2064656C697665726564206F6E20323030362D31322D31342061742030333A31303A34302E/////////////03^C>
2006-12-14 03:10:41 [8] DEBUG: Found entry, row[0]=31, row[1]=inetworx,
row[2]=http://localhost/smsapp/dlr.php?msgid=183336&code=%d, row[3]=HIN,
row[4]=(null)
2006-12-14 03:10:41 [8] DEBUG: created DLR message for URL
<http://localhost/smsapp/dlr.php?msgid=183336&code=%d>
2006-12-14 03:10:41 [8] DEBUG: removing DLR from database
2006-12-14 03:10:41 [8] ERROR: Could not route message to smsbox id
<(null)>, smsbox is gone!
2006-12-14 03:10:41 [8] DEBUG: EMI2[swisscom]: emi2 sending packet:
<^B76/00020/R/53/A///A3^C>
2006-12-14 03:10:41 [13] DEBUG: send_msg: sending msg to boxc: <(null)>
2006-12-14 03:10:41 [13] DEBUG: boxc_sender: sent message to <127.0.0.1>
2006-12-14 03:10:41 [12] DEBUG: boxc_receiver: got ack
Two messages are received with equal content and sent to two different
mobile numbers (<mobile_1> with msgid=183336 and <mobile_2 with
msgid=183337>. Both numbers get acknowleged by the SMSC.
<mobile_1> then gets a notification indicating it is buffered by the SMSC,
which is correct, since the mobile was not switched on. The DLR message
shows also the correct msgid.
<mobile_2> gets a delivered notification which is also correct. However,
the msgid with in the DLR message is not correct. The msgid from the
<mobile_1> submission is used instead.
I am still running 1.3.1 on FreeBDS 5.2.1 - maybe this is fixed in the
current release. Or is there another explanation?
David