Hi guys,

I am receiving this DLR error when my DLR comes in. In the example below, you can see from the string that the message is delivery succesfully. So it should return a type=2. Though, the parsing isn't correct, so I think that may be the reason why type is set to 2.

I am running a cvs build of some time ago .. i'm not sure how I can check my exact version?

Is this solved in the latest CVS version?

Thanks in advance for your help.

My logs:

2008-11-10 15:15:56 [23865] [6] DEBUG: SMPP[73299]: Got PDU:
2008-11-10 15:15:56 [23865] [6] DEBUG: SMPP PDU 0x81b4720 dump:
2008-11-10 15:15:56 [23865] [6] DEBUG:   type_name: deliver_sm
2008-11-10 15:15:56 [23865] [6] DEBUG:   command_id: 5 = 0x00000005
2008-11-10 15:15:56 [23865] [6] DEBUG:   command_status: 0 = 0x00000000
2008-11-10 15:15:56 [23865] [6] DEBUG:   sequence_number: 14 = 0x0000000e
2008-11-10 15:15:56 [23865] [6] DEBUG:   service_type: NULL
2008-11-10 15:15:56 [23865] [6] DEBUG:   source_addr_ton: 0 = 0x00000000
2008-11-10 15:15:56 [23865] [6] DEBUG:   source_addr_npi: 0 = 0x00000000
2008-11-10 15:15:56 [23865] [6] DEBUG:   source_addr: "3162945162"
2008-11-10 15:15:56 [23865] [6] DEBUG:   dest_addr_ton: 0 = 0x00000000
2008-11-10 15:15:56 [23865] [6] DEBUG:   dest_addr_npi: 0 = 0x00000000
2008-11-10 15:15:56 [23865] [6] DEBUG:   destination_addr: "8090"
2008-11-10 15:15:56 [23865] [6] DEBUG:   esm_class: 4 = 0x00000004
2008-11-10 15:15:56 [23865] [6] DEBUG:   protocol_id: 0 = 0x00000000
2008-11-10 15:15:56 [23865] [6] DEBUG:   priority_flag: 0 = 0x00000000
2008-11-10 15:15:56 [23865] [6] DEBUG:   schedule_delivery_time: NULL
2008-11-10 15:15:56 [23865] [6] DEBUG:   validity_period: NULL
2008-11-10 15:15:56 [23865] [6] DEBUG:   registered_delivery: 0 = 0x00000000
2008-11-10 15:15:56 [23865] [6] DEBUG: replace_if_present_flag: 0 = 0x00000000
2008-11-10 15:15:56 [23865] [6] DEBUG:   data_coding: 0 = 0x00000000
2008-11-10 15:15:56 [23865] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2008-11-10 15:15:56 [23865] [6] DEBUG:   sm_length: 70 = 0x00000046
2008-11-10 15:15:56 [23865] [6] DEBUG:   short_message:
2008-11-10 15:15:56 [23865] [6] DEBUG:    Octet string at 0x81b3bb8:
2008-11-10 15:15:56 [23865] [6] DEBUG:      len:  70
2008-11-10 15:15:56 [23865] [6] DEBUG:      size: 71
2008-11-10 15:15:56 [23865] [6] DEBUG:      immutable: 0
2008-11-10 15:15:56 [23865] [6] DEBUG: data: 69 64 3a 30 38 36 34 38 31 30 38 38 36 20 73 75 id:0864810886 su 2008-11-10 15:15:56 [23865] [6] DEBUG: data: 62 6d 69 74 20 64 61 74 65 3a 30 38 31 31 31 30 bmit date:081110 2008-11-10 15:15:56 [23865] [6] DEBUG: data: 30 39 31 35 20 64 6f 6e 65 20 64 61 74 65 3a 30 0915 done date:0 2008-11-10 15:15:56 [23865] [6] DEBUG: data: 38 31 31 31 30 30 39 31 35 20 73 74 61 74 3a 44 811100915 stat:D 2008-11-10 15:15:56 [23865] [6] DEBUG: data: 45 4c 49 56 52 44 ELIVRD
2008-11-10 15:15:56 [23865] [6] DEBUG:    Octet string dump ends.
2008-11-10 15:15:56 [23865] [6] DEBUG: SMPP PDU dump ends.
2008-11-10 15:15:56 [23865] [6] DEBUG: SMPP[73299] handle_pdu, got DLR
2008-11-10 15:15:56 [23865] [6] DEBUG: SMPP[73299]: Couldnot parse DLR string sscanf way,fallback to old way. Please report! 2008-11-10 15:15:56 [23865] [6] DEBUG: DLR[mysql]: Looking for DLR smsc=73299, ts=864810886, dst=3162945162, type=2 2008-11-10 15:15:56 [23865] [6] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM dlr WHERE smsc='73299' AND ts='864810886'; 2008-11-10 15:15:56 [23865] [6] DEBUG: Found entry, row[0]=31, row[1]=mbridges, row[2]=http://login.mobilebridges.com/sms/mo/quattromobile_smpp/DLR.php5?mtid=71341386&msgid=%I&smsc=%i&ts=%T&sender=%q&receiver=%Q&status=%d&application=qm_co_8090&answer=%A, row[3]=8090, row[4]=573162945162 row[5]= 2008-11-10 15:15:56 [23865] [6] DEBUG: DLR[mysql]: created DLR message for URL <http://login.mobilebridges.com/sms/mo/quattromobile_smpp/DLR.php5?mtid=71341386&msgid=%I&smsc=%i&ts=%T&sender=%q&receiver=%Q&status=%d&application=qm_co_8090&answer=%A>
2008-11-10 15:15:56 [23865] [6] DEBUG: removing DLR from database



Reply via email to