Check flag msg-id-type You might need to adjust this to your kannel call
Alvaro On Thu, 2009-04-09 at 16:43 +0600, zillur rahman wrote: > Dear valuable kannel user, > > I am trying to receive delivery report from application. i have > already configured and studied about delivery report. from my > application i send this request > > http://10.1.4.45:13015/cgi-bin/sendsms?username=test&password=test&to=8801550155085&from=12345&text=hello&dlr-mask=31&dlr-url=http://localhost/kannel/dlr.php?dlr=%d > > > i receive dlr=8. i should also receive dlr=1 when sms is reachaed to > subscriber set. i also check from smsc that it inform kannel about > the delivery report. > Please help me solving this > This is the log file of smsc.log > 2009-04-09 16:25:14 [17193] [6] DEBUG: SMPP PDU 0xa198488 dump: > 2009-04-09 16:25:14 [17193] [6] DEBUG: type_name: deliver_sm > 2009-04-09 16:25:14 [17193] [6] DEBUG: command_id: 5 = 0x00000005 > 2009-04-09 16:25:14 [17193] [6] DEBUG: command_status: 0 = 0x00000000 > 2009-04-09 16:25:14 [17193] [6] DEBUG: sequence_number: 2533189 = 0x0026a745 > 2009-04-09 16:25:14 [17193] [6] DEBUG: service_type: NULL > 2009-04-09 16:25:14 [17193] [6] DEBUG: source_addr_ton: 1 = 0x00000001 > 2009-04-09 16:25:14 [17193] [6] DEBUG: source_addr_npi: 1 = 0x00000001 > 2009-04-09 16:25:14 [17193] [6] DEBUG: source_addr: "8801550155085" > 2009-04-09 16:25:14 [17193] [6] DEBUG: dest_addr_ton: 0 = 0x00000000 > 2009-04-09 16:25:14 [17193] [6] DEBUG: dest_addr_npi: 0 = 0x00000000 > 2009-04-09 16:25:14 [17193] [6] DEBUG: destination_addr: "12345" > 2009-04-09 16:25:14 [17193] [6] DEBUG: esm_class: 4 = 0x00000004 > 2009-04-09 16:25:14 [17193] [6] DEBUG: protocol_id: 0 = 0x00000000 > 2009-04-09 16:25:14 [17193] [6] DEBUG: priority_flag: 0 = 0x00000000 > 2009-04-09 16:25:14 [17193] [6] DEBUG: schedule_delivery_time: NULL > 2009-04-09 16:25:14 [17193] [6] DEBUG: validity_period: NULL > 2009-04-09 16:25:14 [17193] [6] DEBUG: registered_delivery: 0 = 0x00000000 > 2009-04-09 16:25:14 [17193] [6] DEBUG: replace_if_present_flag: 0 = > 0x00000000 > 2009-04-09 16:25:14 [17193] [6] DEBUG: data_coding: 0 = 0x00000000 > 2009-04-09 16:25:14 [17193] [6] DEBUG: sm_default_msg_id: 0 = 0x00000000 > 2009-04-09 16:25:14 [17193] [6] DEBUG: sm_length: 70 = 0x00000046 > 2009-04-09 16:25:14 [17193] [6] DEBUG: short_message: > 2009-04-09 16:25:14 [17193] [6] DEBUG: Octet string at 0xa1a0c50: > 2009-04-09 16:25:14 [17193] [6] DEBUG: len: 70 > 2009-04-09 16:25:14 [17193] [6] DEBUG: size: 71 > 2009-04-09 16:25:14 [17193] [6] DEBUG: immutable: 0 > 2009-04-09 16:25:14 [17193] [6] DEBUG: data: 69 64 3a 30 31 32 39 > 39 33 30 35 36 30 20 73 75 id:0129930560 su > 2009-04-09 16:25:14 [17193] [6] DEBUG: data: 62 6d 69 74 20 64 61 > 74 65 3a 30 39 30 34 30 39 bmit date:090409 > 2009-04-09 16:25:14 [17193] [6] DEBUG: data: 31 36 31 34 20 64 6f > 6e 65 20 64 61 74 65 3a 30 1614 done date:0 > 2009-04-09 16:25:14 [17193] [6] DEBUG: data: 39 30 34 30 39 31 36 > 31 34 20 73 74 61 74 3a 44 904091614 stat:D > 2009-04-09 16:25:14 [17193] [6] DEBUG: data: 45 4c 49 56 52 44 > ELIVRD > 2009-04-09 16:25:14 [17193] [6] DEBUG: Octet string dump ends. > 2009-04-09 16:25:14 [17193] [6] DEBUG: SMPP PDU dump ends. > 2009-04-09 16:25:14 [17193] [6] DEBUG: SMPP[sun] handle_pdu, got DLR > 2009-04-09 16:25:14 [17193] [6] DEBUG: SMPP[sun]: Couldnot parse DLR > string sscanf way,fallback to old way. Please report! > 2009-04-09 16:25:14 [17193] [6] DEBUG: DLR[internal]: Looking for DLR > smsc=sun, ts=0129930560, dst=8801550155085, type=2 > 2009-04-09 16:25:14 [17193] [6] WARNING: DLR[internal]: DLR for > DST<8801550155085> not found. > 2009-04-09 16:25:14 [17193] [6] ERROR: SMPP[sun]: got DLR but could > not find message or was not interested in it id<0129930560> > dst<8801550155085>, type<2> > 2009-04-09 16:25:14 [17193] [6] DEBUG: SMPP[sun]: Sending PDU: > 2009-04-09 16:25:14 [17193] [6] DEBUG: SMPP PDU 0xa1955f0 dump: > 2009-04-09 16:25:14 [17193] [6] DEBUG: type_name: deliver_sm_resp > 2009-04-09 16:25:14 [17193] [6] DEBUG: command_id: 2147483653 = 0x80000005 > 2009-04-09 16:25:14 [17193] [6] DEBUG: command_status: 0 = 0x00000000 > 2009-04-09 16:25:14 [17193] [6] DEBUG: sequence_number: 2533189 = 0x0026a745 > 2009-04-09 16:25:14 [17193] [6] DEBUG: sequence_number: 2533189 = 0x0026a745 > 2009-04-09 16:25:14 [17193] [6] DEBUG: message_id: NULL > 2009-04-09 16:25:14 [17193] [6] DEBUG: SMPP PDU dump ends. > 2009-04-09 16:25:15 [17193] [6] DEBUG: SMPP[sun]: Got PDU: > 2009-04-09 16:25:15 [17193] [6] DEBUG: SMPP PDU 0xa1955f0 dump: > 2009-04-09 16:25:15 [17193] [6] DEBUG: type_name: enquire_link > 2009-04-09 16:25:15 [17193] [6] DEBUG: command_id: 21 = 0x00000015 > 2009-04-09 16:25:15 [17193] [6] DEBUG: command_status: 0 = 0x00000000 > 2009-04-09 16:25:15 [17193] [6] DEBUG: sequence_number: 512738807 = > 0x1e8fc5f7 > 2009-04-09 16:25:15 [17193] [6] DEBUG: SMPP PDU dump ends. > 2009-04-09 16:25:15 [17193] [6] DEBUG: SMPP[sun]: Sending PDU: > 2009-04-09 16:25:15 [17193] [6] DEBUG: SMPP PDU 0xa198488 dump: > 2009-04-09 16:25:15 [17193] [6] DEBUG: type_name: enquire_link_resp > 2009-04-09 16:25:15 [17193] [6] DEBUG: command_id: 2147483669 = 0x80000015 > 2009-04-09 16:25:15 [17193] [6] DEBUG: command_status: 0 = 0x00000000 > 2009-04-09 16:25:15 [17193] [6] DEBUG: sequence_number: 512738807 = > 0x1e8fc5f7 > 2009-04-09 16:25:15 [17193] [6] DEBUG: SMPP PDU dump ends. >
