Hi everybody, Below an issue I am faced trying to configure DLR management and kannel.
Environnement: Kannel CVS 20091124 installed using RPM patch from Alejandro MySQL DLR storage configured Issue: "can not decode PDU to a message" I have configure DLR to use mysql (config file below) I send a SMS using this command: # lynx -dump " http://localhost:13013/cgi-bin/sendsms?username=tester&password=foobar&from=%2B687755632&to=%2B687773502&text=SMStestdepuisNavette&dlr-mask=31 " Firstly I saw the following error in kannel.log 2009-12-04 13:41:59 [4163] [6] DEBUG: AT2[SiemensM20]: <-- +CDS: 24 2009-12-04 13:41:59 [4163] [6] DEBUG: AT2[SiemensM20]: <-- 0629099186773705F2902140313504449021403135044400 2009-12-04 13:41:59 [4163] [6] DEBUG: AT2[SiemensM20]: received message from SMSC: 09019687773 2009-12-04 13:41:59 [4163] [6] ERROR: AT2[SiemensM20]: got +CMT but pdu_extract failed I check some forum about this issue and I set one parameter in modems.conf: broken = true And I see in the kannel.log file now the following error: 2009-12-04 13:34:35 [4088] [6] DEBUG: AT2[SiemensM20]: <-- +CDS: 24 2009-12-04 13:34:35 [4088] [6] DEBUG: AT2[SiemensM20]: <-- 0628099186773705F2902140316471449021403164714400 2009-12-04 13:34:35 [4088] [6] DEBUG: AT2[SiemensM20]: received message from SMSC: 09019687773 2009-12-04 13:34:35 [4088] [6] ERROR: AT2[SiemensM20]: could not decode PDU to a message. And 09019687773 seems to be my destination number 09019 (unknown???) 687773 but the end 502 are missing. The destination is +687773502. I did not find any solution to my issue...any idea, it seems Siemens M20 modem can not decode DLR PDU ? BTW for what is dedicated the dlr-url parameter ? To execute some script in order to process DLR info in a third party application database? If juste kannel is used, is the dlr table enough usefull to get the SMS delivery status? (always 0 in my case, even if mobile is switch off) Regards, -- Emmanuel @email : [email protected]
kannel.conf
Description: Binary data
modems.conf
Description: Binary data
