hello all, i have a problem with dlr in kannel. in log :
2014-01-22 10:50:19 [11861] [7] DEBUG: SMPP[XLMT3] handle_pdu, got DLR 2014-01-22 10:50:19 [11861] [7] DEBUG: SMPP[XLMT3]: Couldnot parse DLR string sscanf way,fallback to old way. Please report! 2014-01-22 10:50:19 [11861] [7] DEBUG: DLR[internal]: Looking for DLR smsc=XLMT3, ts=4294967295, dst=412021155, type=1 2014-01-22 10:50:19 [11861] [7] DEBUG: DLR[internal]: created DLR message for URL <http://202.53.250.242:8088/dr/index.php?txid=2014012210495413903625949028&status=%d&a nswer=%A&ccode=%P&msisdn=%p&ts=%t&adn=9011&meta-data=%D&mdlr=%B> as you can see the msisdn should be filled with 412021155 and status 1 but in apache access_log kannel hit with the following information [22/Jan/2014:10:50:22 +0700] "GET /dr/index.php?txid=2014012210495413903625949028&status=1&answer=id%3A100001200301140122035010057011+submit+date%3A1401220350+done+date%3A1401220350+stat%3ADELIVRD+text%3AVideo+hewan+LUCU+Upd&ccode=901106&msisdn=406229237&ts=2014-01-22+03:50:19&adn=9011&meta-data=%3Fsmpp%3F&mdlr= HTP/1.1" msisdn filled with number 406229237 and status 1 while the msisdn self is used before dr got received [22/Jan/2014:10:50:15 +0700] "GET /dr/index.php?txid=2014012210494013903625802058&status=2&answer=id%3A100001200301140122035015060501+sub%3A001+dlvrd%3A001+submit+date%3A1401220350+done+date%3A1401220350+stat%3AUNDELIV+err%3A000+text%3AVideo+hewan+LUCU+Upd&ccode=901106&msisdn=412021155&ts=2014-01-22+03:50:13&adn=9011&meta-data=%3Fsmpp%3Fdlr_err%3D000%26ErrorCode%3D0000000000003101%26ErrorSource%3D012800%26&mdlr= msisdn filled 412021155 and status 2 this is another log for submit_sm 2014-01-22 10:50:08 [11861] [6] DEBUG: type_name: submit_sm 2014-01-22 10:50:08 [11861] [6] DEBUG: command_id: 4 = 0x00000004 2014-01-22 10:50:08 [11861] [6] DEBUG: command_status: 0 = 0x00000000 2014-01-22 10:50:08 [11861] [6] DEBUG: sequence_number: 91968 = 0x00016740 2014-01-22 10:50:08 [11861] [6] DEBUG: service_type: NULL 2014-01-22 10:50:08 [11861] [6] DEBUG: source_addr_ton: 0 = 0x00000000 2014-01-22 10:50:08 [11861] [6] DEBUG: source_addr_npi: 1 = 0x00000001 2014-01-22 10:50:08 [11861] [6] DEBUG: source_addr: "901106" 2014-01-22 10:50:08 [11861] [6] DEBUG: dest_addr_ton: 1 = 0x00000001 2014-01-22 10:50:08 [11861] [6] DEBUG: dest_addr_npi: 1 = 0x00000001 2014-01-22 10:50:08 [11861] [6] DEBUG: destination_addr: "412021155" 2014-01-22 10:50:08 [11861] [6] DEBUG: esm_class: 3 = 0x00000003 2014-01-22 10:50:08 [11861] [6] DEBUG: protocol_id: 0 = 0x00000000 2014-01-22 10:50:08 [11861] [6] DEBUG: priority_flag: 0 = 0x00000000 2014-01-22 10:50:08 [11861] [6] DEBUG: schedule_delivery_time: NULL 2014-01-22 10:50:08 [11861] [6] DEBUG: validity_period: NULL 2014-01-22 10:50:08 [11861] [6] DEBUG: registered_delivery: 1 = 0x00000001 2014-01-22 10:50:08 [11861] [6] DEBUG: replace_if_present_flag: 0 = 0x00000000 2014-01-22 10:50:08 [11861] [6] DEBUG: data_coding: 0 = 0x00000000 2014-01-22 10:50:08 [11861] [6] DEBUG: sm_default_msg_id: 0 = 0x00000000 2014-01-22 10:50:08 [11861] [6] DEBUG: sm_length: 121 = 0x00000079 2014-01-22 10:50:08 [11861] [6] DEBUG: short_message: 2014-01-22 10:50:08 [11861] [6] DEBUG: Octet string at 0xb0e14ce0: 2014-01-22 10:50:08 [11861] [6] DEBUG: len: 121 2014-01-22 10:50:08 [11861] [6] DEBUG: size: 122 2014-01-22 10:50:08 [11861] [6] DEBUG: immutable: 0 2014-01-22 10:50:08 [11861] [6] DEBUG: data: 56 69 64 65 6f 20 68 65 77 61 6e 20 4c 55 43 55 Video hewan LUCU 2014-01-22 10:50:08 [11861] [6] DEBUG: data: 20 55 70 64 61 74 65 20 62 61 6e 67 65 74 21 21 Update banget!! 2014-01-22 10:50:08 [11861] [6] DEBUG: data: 20 41 6d 62 69 6c 20 64 61 6e 20 6c 69 68 61 74 Ambil dan lihat 2014-01-22 10:50:08 [11861] [6] DEBUG: data: 20 76 69 64 65 6f 6e 79 61 20 6b 6c 69 6b 20 68 videonya klik h 2014-01-22 10:50:08 [11861] [6] DEBUG: data: 74 74 70 3a 2f 2f 6d 2e 64 75 6e 69 61 6b 6f 6e ttp://m.duniakon 2014-01-22 10:50:08 [11861] [6] DEBUG: data: 74 65 6e 2e 63 6f 6d 2f 76 69 64 65 6f 6c 75 63 ten.com/videoluc 2014-01-22 10:50:08 [11861] [6] DEBUG: data: 75 31 36 2e 33 67 70 20 43 53 3a 20 30 32 31 2d u16.3gp CS: 021- 2014-01-22 10:50:08 [11861] [6] DEBUG: data: 37 30 33 31 35 32 38 31 20 70315281 2014-01-22 10:50:08 [11861] [6] DEBUG: Octet string dump ends. 2014-01-22 10:50:08 [11861] [6] DEBUG: serviceid: "0013352000002456" 2014-01-22 10:50:08 [11861] [6] DEBUG: SMPP PDU dump ends. Hope someone know where to check it. Thanks Fajar
