Hi all. I have a configuration like this:
┌-> smsbox -> sqlbox -> bearerbox -┐ | | └-----------(dlr)------------------┘ I insert a message directly on the sqlbox's sent_sms table with the boxc_id of the smsbox, then it is sent by bearerbox which routes the dlr incoming message to smsbox. The smsbox then uses the dlr_url to register the dlr info and passes it to the sqlbox. With this configuration I have three rows containing dlr info per message. On the dlr table of kannel: ┌-------┬---------------------┬---------------┬--------┬-----------┬ -----------┬------┬--------┬--------┐ | smsc | ts | destination | source | service | url | mask | status | boxc | ├-------┼---------------------┼---------------┼--------┼-----------┼-----------┼------┼--------┼--------┤ | ROUTO | 0000-00-00 00:00:00 | +35191******7 <%2B351919331367> | MV | | http://..<http://easymessage.multivision.pt/services/teste.p.>| 31 |0 | SMSBOX | └-------┴---------------------┴---------------┴--------┴-----------┴-----------┴------┴--------┴--------┘ On sqlbox's sent_sms table I have this ┌--------┬------┬--------┬----------┬----------┬---------┬------┬---------┬ ----------┬-----┬----------┬---------┬-----┬--------┬ - - - | sql_id | momt | sender | receiver | msgdata | udhdata | time | smsc_id | service | ... | dlr_mask | dlr_url | ... |boxc_id | ├--------┼------┼--------┼----------┼----------┼----- ----┼------┼---------┼----------┼-----┼----------┼---------┼-----┼--------┼ - - - | 33 | DLR | MV | 35191... | ACK%2F | [BLOB] | 13...| ***** | tester | ... | 8 | http:...| ... |SMSBOX | └--------┴------┴--------┴----------┴----------┴---------┴------┴---------┴----------┴-----┴----------┴---------┴----- ┴--------┴ - - - On my simple test table that records the info passed on the dlr url I have this ┌---------------------┬-------------┬------┐ | ts | destination | type | ├---------------------┼-------------┼------┤ | 2012-01-06 11:23:15 | 91******7 | 8 | └---------------------┴-------------┴------┘ All these records regard to the same message. So, my question is: if I recieved the SMS successfully having dlr status of 0 on kannel's dlr table and showing as well delivered on my provider's dashboard, why is it that I have a dlr status of 8 (smsc submit) on the other two tables, instead of 1 (delivery success)? The smsc log has this for the submit_sm_resp: SMPP PDU 0x7dddf0 dump: type_name: submit_sm_resp command_id: 2147483652 = 0x80000004 command_status: 0 = 0x00000000 sequence_number: 12 = 0x0000000c message_id: "817456359" SMPP PDU dump ends. Best regards, Jorge -- [image: Multivision] *Jorge Raimundo * RAN Consultant | [email protected] . Rua António Albino Machado, Nº33, 2ºB. S. Domingos de Benfica, 1600 - 870 Lisboa Fixed PT: +351 21 155 20 53 | Mobile PT: +351 91 933 13 67 www.multivision.pt
