Hi, I tried using dlr_mask a 17 this but the pdu still shows registered_delivery as 1, and im not getting the intermediate dlr form the operator. am i missing out something here?
PDU ==== 2009-10-11 17:53:05 [18158] [6] DEBUG: SMPP PDU dump ends. 2009-10-11 17:53:35 [18158] [8] DEBUG: boxc_receiver: sms received 2009-10-11 17:53:35 [18158] [8] DEBUG: send_msg: sending msg to boxc: <smsbox> 2009-10-11 17:53:35 [18158] [6] DEBUG: SMPP[SampleSMPP]: Sending enquire link: 2009-10-11 17:53:35 [18158] [6] DEBUG: SMPP PDU 0x81a60c0 dump: 2009-10-11 17:53:35 [18158] [6] DEBUG: type_name: enquire_link 2009-10-11 17:53:35 [18158] [6] DEBUG: command_id: 21 = 0x00000015 2009-10-11 17:53:35 [18158] [6] DEBUG: command_status: 0 = 0x00000000 2009-10-11 17:53:35 [18158] [6] DEBUG: sequence_number: 2998 = 0x00000bb6 2009-10-11 17:53:35 [18158] [6] DEBUG: SMPP PDU dump ends. 2009-10-11 17:53:35 [18158] [6] DEBUG: SMPP[SampleSMPP]: Manually forced dest addr ton = 1, dest add npi = 1 2009-10-11 17:53:35 [18158] [6] DEBUG: SMPP[SampleSMPP]: Sending PDU: 2009-10-11 17:53:35 [18158] [6] DEBUG: SMPP PDU 0x81a5b48 dump: 2009-10-11 17:53:35 [18158] [6] DEBUG: type_name: submit_sm 2009-10-11 17:53:35 [18158] [6] DEBUG: command_id: 4 = 0x00000004 2009-10-11 17:53:35 [18158] [6] DEBUG: command_status: 0 = 0x00000000 2009-10-11 17:53:35 [18158] [6] DEBUG: sequence_number: 2999 = 0x00000bb7 2009-10-11 17:53:35 [18158] [6] DEBUG: service_type: NULL 2009-10-11 17:53:35 [18158] [6] DEBUG: source_addr_ton: 5 = 0x00000005 2009-10-11 17:53:35 [18158] [6] DEBUG: source_addr_npi: 0 = 0x00000000 2009-10-11 17:53:35 [18158] [6] DEBUG: source_addr: "test" 2009-10-11 17:53:35 [18158] [6] DEBUG: dest_addr_ton: 1 = 0x00000001 2009-10-11 17:53:35 [18158] [6] DEBUG: dest_addr_npi: 1 = 0x00000001 2009-10-11 17:53:35 [18158] [6] DEBUG: destination_addr: "9650770785" 2009-10-11 17:53:35 [18158] [6] DEBUG: esm_class: 0 = 0x00000000 2009-10-11 17:53:35 [18158] [6] DEBUG: protocol_id: 64 = 0x00000040 2009-10-11 17:53:35 [18158] [6] DEBUG: priority_flag: 0 = 0x00000000 2009-10-11 17:53:35 [18158] [6] DEBUG: schedule_delivery_time: NULL 2009-10-11 17:53:35 [18158] [6] DEBUG: validity_period: "100130175335000+" 2009-10-11 17:53:35 [18158] [6] DEBUG: registered_delivery: 1 = 0x00000001 2009-10-11 17:53:35 [18158] [6] DEBUG: replace_if_present_flag: 0 = 0x00000000 2009-10-11 17:53:35 [18158] [6] DEBUG: data_coding: 0 = 0x00000000 2009-10-11 17:53:35 [18158] [6] DEBUG: sm_default_msg_id: 0 = 0x00000000 2009-10-11 17:53:35 [18158] [6] DEBUG: sm_length: 12 = 0x0000000c 2009-10-11 17:53:35 [18158] [6] DEBUG: short_message: "ZULO-VIA-SMS" 2009-10-11 17:53:35 [18158] [6] DEBUG: SMPP PDU dump ends. 2009-10-11 17:53:35 [18158] [6] DEBUG: SMPP[SampleSMPP]: Got PDU: 2009-10-11 17:53:35 [18158] [6] DEBUG: SMPP PDU 0x81a5b48 dump: 2009-10-11 17:53:35 [18158] [6] DEBUG: type_name: enquire_link_resp 2009-10-11 17:53:35 [18158] [6] DEBUG: command_id: 2147483669 = 0x80000015 2009-10-11 17:53:35 [18158] [6] DEBUG: command_status: 0 = 0x00000000 2009-10-11 17:53:35 [18158] [6] DEBUG: sequence_number: 2998 = 0x00000bb6 2009-10-11 17:53:35 [18158] [6] DEBUG: SMPP PDU dump ends. 2009-10-11 17:53:35 [18158] [6] DEBUG: SMPP[SampleSMPP]: Got PDU: 2009-10-11 17:53:35 [18158] [6] DEBUG: SMPP PDU 0x81a5b48 dump: 2009-10-11 17:53:35 [18158] [6] DEBUG: type_name: submit_sm_resp 2009-10-11 17:53:35 [18158] [6] DEBUG: command_id: 2147483652 = 0x80000004 2009-10-11 17:53:35 [18158] [6] DEBUG: command_status: 0 = 0x00000000 2009-10-11 17:53:35 [18158] [6] DEBUG: sequence_number: 2999 = 0x00000bb7 2009-10-11 17:53:35 [18158] [6] DEBUG: message_id: "4394CFDB" 2009-10-11 17:53:35 [18158] [6] DEBUG: SMPP PDU dump ends. 2009-10-11 17:53:35 [18158] [6] DEBUG: DLR[internal]: Adding DLR smsc=Air2WebSMPP, ts=1133826011, src=test, dst=9650770785, mask=17, boxc=smsbox 2009-10-11 17:53:40 [18158] [6] DEBUG: SMPP[SampleSMPP]: Got PDU: 2009-10-11 17:53:40 [18158] [6] DEBUG: SMPP PDU 0x81a5b48 dump: 2009-10-11 17:53:40 [18158] [6] DEBUG: type_name: deliver_sm 2009-10-11 17:53:40 [18158] [6] DEBUG: command_id: 5 = 0x00000005 2009-10-11 17:53:40 [18158] [6] DEBUG: command_status: 0 = 0x00000000 2009-10-11 17:53:40 [18158] [6] DEBUG: sequence_number: 6 = 0x00000006 2009-10-11 17:53:40 [18158] [6] DEBUG: service_type: NULL 2009-10-11 17:53:40 [18158] [6] DEBUG: source_addr_ton: 1 = 0x00000001 2009-10-11 17:53:40 [18158] [6] DEBUG: source_addr_npi: 1 = 0x00000001 2009-10-11 17:53:40 [18158] [6] DEBUG: source_addr: "9650770785" 2009-10-11 17:53:40 [18158] [6] DEBUG: dest_addr_ton: 5 = 0x00000005 2009-10-11 17:53:40 [18158] [6] DEBUG: dest_addr_npi: 0 = 0x00000000 2009-10-11 17:53:40 [18158] [6] DEBUG: destination_addr: "test" 2009-10-11 17:53:40 [18158] [6] DEBUG: esm_class: 4 = 0x00000004 2009-10-11 17:53:40 [18158] [6] DEBUG: protocol_id: 0 = 0x00000000 2009-10-11 17:53:40 [18158] [6] DEBUG: priority_flag: 0 = 0x00000000 2009-10-11 17:53:40 [18158] [6] DEBUG: schedule_delivery_time: NULL 2009-10-11 17:53:40 [18158] [6] DEBUG: validity_period: NULL 2009-10-11 17:53:40 [18158] [6] DEBUG: registered_delivery: 0 = 0x00000000 2009-10-11 17:53:40 [18158] [6] DEBUG: replace_if_present_flag: 0 = 0x00000000 2009-10-11 17:53:40 [18158] [6] DEBUG: data_coding: 0 = 0x00000000 2009-10-11 17:53:40 [18158] [6] DEBUG: sm_default_msg_id: 0 = 0x00000000 2009-10-11 17:53:40 [18158] [6] DEBUG: sm_length: 122 = 0x0000007a 2009-10-11 17:53:40 [18158] [6] DEBUG: short_message: 2009-10-11 17:53:40 [18158] [6] DEBUG: Octet string at 0x81a5f78: 2009-10-11 17:53:40 [18158] [6] DEBUG: len: 122 2009-10-11 17:53:40 [18158] [6] DEBUG: size: 123 2009-10-11 17:53:40 [18158] [6] DEBUG: immutable: 0 2009-10-11 17:53:40 [18158] [6] DEBUG: data: 69 64 3a 31 31 33 33 38 32 36 30 31 31 20 73 75 id:1133826011 su 2009-10-11 17:53:40 [18158] [6] DEBUG: data: 62 3a 30 30 31 20 64 6c 76 72 64 3a 30 30 31 20 b:001 dlvrd:001 2009-10-11 17:53:40 [18158] [6] DEBUG: data: 73 75 62 6d 69 74 20 64 61 74 65 3a 30 39 31 30 submit date:0910 2009-10-11 17:53:40 [18158] [6] DEBUG: data: 31 31 31 32 33 31 20 64 6f 6e 65 20 64 61 74 65 111231 done date 2009-10-11 17:53:40 [18158] [6] DEBUG: data: 3a 30 39 31 30 31 31 31 32 33 31 20 73 74 61 74 :0910111231 stat 2009-10-11 17:53:40 [18158] [6] DEBUG: data: 3a 44 45 4c 49 56 52 44 20 65 72 72 3a 30 30 30 :DELIVRD err:000 2009-10-11 17:53:40 [18158] [6] DEBUG: data: 20 74 65 78 74 3a 20 20 20 20 20 20 20 20 20 20 text: 2009-10-11 17:53:40 [18158] [6] DEBUG: data: 20 20 20 20 20 20 20 20 20 20 2009-10-11 17:53:40 [18158] [6] DEBUG: Octet string dump ends. 2009-10-11 17:53:40 [18158] [6] DEBUG: SMPP PDU dump ends. 2009-10-11 17:53:40 [18158] [6] DEBUG: SMPP[SampleSMPP] handle_pdu, got DLR 2009-10-11 17:53:40 [18158] [6] DEBUG: DLR[internal]: Looking for DLR smsc=Air2WebSMPP, ts=1133826011, dst=9650770785, type=1 2009-10-11 17:53:40 [18158] [6] DEBUG: DLR[internal]: created DLR message for URL <http://localhost:4568/?log_id=9&dlr_value=%d&dlr_reply=%A> 2009-10-11 17:53:40 [18158] [6] DEBUG: SMPP[SampleSMPP]: Sending PDU: 2009-10-11 17:53:40 [18158] [6] DEBUG: SMPP PDU 0x81a60c0 dump: 2009-10-11 17:53:40 [18158] [6] DEBUG: type_name: deliver_sm_resp 2009-10-11 17:53:40 [18158] [6] DEBUG: command_id: 2147483653 = 0x80000005 2009-10-11 17:53:40 [18158] [6] DEBUG: command_status: 0 = 0x00000000 2009-10-11 17:53:40 [18158] [9] DEBUG: send_msg: sending msg to boxc: <smsbox> 2009-10-11 17:53:40 [18158] [6] DEBUG: sequence_number: 6 = 0x00000006 2009-10-11 17:53:40 [18158] [6] DEBUG: message_id: NULL 2009-10-11 17:53:40 [18158] [6] DEBUG: SMPP PDU dump ends. 2009-10-11 17:53:40 [18158] [9] DEBUG: boxc_sender: sent message to <127.0.0.1> 2009-10-11 17:53:40 [18158] [8] DEBUG: boxc_receiver: got ack 2009-10-11 17:53:41 [18158] [8] DEBUG: boxc_receiver: sms received 2009-10-11 17:53:41 [18158] [8] DEBUG: send_msg: sending msg to boxc: <smsbox> 2009-10-11 17:53:41 [18158] [6] DEBUG: SMPP[SampleSMPP]: Manually forced dest addr ton = 1, dest add npi = 1 2009-10-11 17:53:41 [18158] [6] DEBUG: SMPP[SampleSMPP]: Sending PDU: 2009-10-11 17:53:41 [18158] [6] DEBUG: SMPP PDU 0x819da18 dump: type_name: submit_sm 2009-10-11 17:53:41 [18158] [6] DEBUG: command_id: 4 = 0x00000004 2009-10-11 17:53:41 [18158] [6] DEBUG: command_status: 0 = 0x00000000 2009-10-11 17:53:41 [18158] [6] DEBUG: sequence_number: 3000 = 0x00000bb8 2009-10-11 17:53:41 [18158] [6] DEBUG: service_type: NULL 2009-10-11 17:53:41 [18158] [6] DEBUG: source_addr_ton: 5 = 0x00000005 2009-10-11 17:53:41 [18158] [6] DEBUG: source_addr_npi: 0 = 0x00000000 2009-10-11 17:53:41 [18158] [6] DEBUG: source_addr: "test" 2009-10-11 17:53:41 [18158] [6] DEBUG: dest_addr_ton: 1 = 0x00000001 2009-10-11 17:53:41 [18158] [6] DEBUG: dest_addr_npi: 1 = 0x00000001 2009-10-11 17:53:41 [18158] [6] DEBUG: destination_addr: "9650770785" 2009-10-11 17:53:41 [18158] [6] DEBUG: esm_class: 0 = 0x00000000 2009-10-11 17:53:41 [18158] [6] DEBUG: protocol_id: 0 = 0x00000000 2009-10-11 17:53:41 [18158] [6] DEBUG: priority_flag: 0 = 0x00000000 2009-10-11 17:53:41 [18158] [6] DEBUG: schedule_delivery_time: NULL 2009-10-11 17:53:41 [18158] [6] DEBUG: validity_period: "091012175341000+" 2009-10-11 17:53:41 [18158] [6] DEBUG: registered_delivery: 1 = 0x00000001 2009-10-11 17:53:41 [18158] [6] DEBUG: replace_if_present_flag: 0 = 0x00000000 2009-10-11 17:53:41 [18158] [6] DEBUG: data_coding: 0 = 0x00000000 2009-10-11 17:53:41 [18158] [6] DEBUG: sm_default_msg_id: 0 = 0x00000000 2009-10-11 17:53:41 [18158] [6] DEBUG: sm_length: 4 = 0x00000004 2009-10-11 17:53:41 [18158] [6] DEBUG: short_message: "test" 2009-10-11 17:53:41 [18158] [6] DEBUG: SMPP PDU dump ends. 2009-10-11 17:53:41 [18158] [6] DEBUG: SMPP[SampleSMPP]: Got PDU: 2009-10-11 17:53:41 [18158] [6] DEBUG: SMPP PDU 0x81a4bf8 dump: 2009-10-11 17:53:41 [18158] [6] DEBUG: type_name: submit_sm_resp 2009-10-11 17:53:41 [18158] [6] DEBUG: command_id: 2147483652 = 0x80000004 2009-10-11 17:53:41 [18158] [6] DEBUG: command_status: 0 = 0x00000000 2009-10-11 17:53:41 [18158] [6] DEBUG: sequence_number: 3000 = 0x00000bb8 2009-10-11 17:53:41 [18158] [6] DEBUG: message_id: "4394E93D" 2009-10-11 17:53:41 [18158] [6] DEBUG: SMPP PDU dump ends. 2009-10-11 17:53:41 [18158] [6] DEBUG: DLR[internal]: Adding DLR smsc=Air2WebSMPP, ts=1133832509, src=test, dst=9650770785, mask=17, boxc=smsbox 2009-10-11 17:53:50 [18158] [6] DEBUG: SMPP[SampleSMPP]: Got PDU: 2009-10-11 17:53:50 [18158] [6] DEBUG: SMPP PDU 0x81a5e38 dump: 2009-10-11 17:53:50 [18158] [6] DEBUG: type_name: deliver_sm 2009-10-11 17:53:50 [18158] [6] DEBUG: command_id: 5 = 0x00000005 2009-10-11 17:53:50 [18158] [6] DEBUG: command_status: 0 = 0x00000000 2009-10-11 17:53:50 [18158] [6] DEBUG: sequence_number: 7 = 0x00000007 2009-10-11 17:53:50 [18158] [6] DEBUG: service_type: NULL 2009-10-11 17:53:50 [18158] [6] DEBUG: source_addr_ton: 1 = 0x00000001 2009-10-11 17:53:50 [18158] [6] DEBUG: source_addr_npi: 1 = 0x00000001 2009-10-11 17:53:50 [18158] [6] DEBUG: source_addr: "9650770785" 2009-10-11 17:53:50 [18158] [6] DEBUG: dest_addr_ton: 5 = 0x00000005 2009-10-11 17:53:50 [18158] [6] DEBUG: dest_addr_npi: 0 = 0x00000000 2009-10-11 17:53:50 [18158] [6] DEBUG: destination_addr: "test" 2009-10-11 17:53:50 [18158] [6] DEBUG: esm_class: 4 = 0x00000004 2009-10-11 17:53:50 [18158] [6] DEBUG: protocol_id: 0 = 0x00000000 2009-10-11 17:53:50 [18158] [6] DEBUG: priority_flag: 0 = 0x00000000 2009-10-11 17:53:50 [18158] [6] DEBUG: schedule_delivery_time: NULL 2009-10-11 17:53:50 [18158] [6] DEBUG: validity_period: NULL 2009-10-11 17:53:50 [18158] [6] DEBUG: registered_delivery: 0 = 0x00000000 2009-10-11 17:53:50 [18158] [6] DEBUG: replace_if_present_flag: 0 = 0x00000000 2009-10-11 17:53:50 [18158] [6] DEBUG: data_coding: 0 = 0x00000000 2009-10-11 17:53:50 [18158] [6] DEBUG: sm_default_msg_id: 0 = 0x00000000 2009-10-11 17:53:50 [18158] [6] DEBUG: sm_length: 122 = 0x0000007a 2009-10-11 17:53:50 [18158] [6] DEBUG: short_message: 2009-10-11 17:53:50 [18158] [6] DEBUG: Octet string at 0x81a4a08: 2009-10-11 17:53:50 [18158] [6] DEBUG: len: 122 2009-10-11 17:53:50 [18158] [6] DEBUG: size: 123 2009-10-11 17:53:50 [18158] [6] DEBUG: immutable: 0 2009-10-11 17:53:50 [18158] [6] DEBUG: data: 69 64 3a 31 31 33 33 38 33 32 35 30 39 20 73 75 id:1133832509 su 2009-10-11 17:53:50 [18158] [6] DEBUG: data: 62 3a 30 30 31 20 64 6c 76 72 64 3a 30 30 31 20 b:001 dlvrd:001 2009-10-11 17:53:50 [18158] [6] DEBUG: data: 73 75 62 6d 69 74 20 64 61 74 65 3a 30 39 31 30 submit date:0910 2009-10-11 17:53:50 [18158] [6] DEBUG: data: 31 31 31 32 33 31 20 64 6f 6e 65 20 64 61 74 65 111231 done date 2009-10-11 17:53:50 [18158] [6] DEBUG: data: 3a 30 39 31 30 31 31 31 32 33 31 20 73 74 61 74 :0910111231 stat 2009-10-11 17:53:50 [18158] [6] DEBUG: data: 3a 44 45 4c 49 56 52 44 20 65 72 72 3a 30 30 30 :DELIVRD err:000 2009-10-11 17:53:50 [18158] [6] DEBUG: data: 20 74 65 78 74 3a 20 20 20 20 20 20 20 20 20 20 text: 2009-10-11 17:53:50 [18158] [6] DEBUG: data: 20 20 20 20 20 20 20 20 20 20 2009-10-11 17:53:50 [18158] [6] DEBUG: Octet string dump ends. 2009-10-11 17:53:50 [18158] [6] DEBUG: SMPP PDU dump ends. 2009-10-11 17:53:50 [18158] [6] DEBUG: SMPP[SampleSMPP] handle_pdu, got DLR 2009-10-11 17:53:50 [18158] [6] DEBUG: DLR[internal]: Looking for DLR smsc=Air2WebSMPP, ts=1133832509, dst=9650770785, type=1 2009-10-11 17:53:50 [18158] [6] DEBUG: DLR[internal]: created DLR message for URL <http://localhost:4568/?log_id=9&dlr_value=%d&dlr_reply=%A> 2009-10-11 17:53:50 [18158] [6] DEBUG: SMPP[SampleSMPP]: Sending PDU: 2009-10-11 17:53:50 [18158] [6] DEBUG: SMPP PDU 0x81a4bf8 dump: Regards Abe On Sat, Oct 10, 2009 at 11:44 AM, Abe mobME <[email protected]> wrote: > Hi, > I'm getting a dlr for these request, but the issue is the operator > wants the register_delivery set as 00010001. Other wise the DELAY dlr(in > case the subscriber is switched off) gets queued up at the smpp end. So i > think the dlr-url is working. > > Thanks > > Regards > Abe > > On Sat, Oct 10, 2009 at 11:26 AM, Iain Dooley <[email protected] > > wrote: > >> >> kannel-url= "' >>> >>> http://localhost:14001/cgi-bin/sendsms?username=%s&password=%s&to=%s&text=%s&smsc=SampleSMPP&from=mobme&dlr-mask=31&pid=64&validity=1440&dlr-url=%s >>> " >>> >>> dlr-url="http://localhost:4568/?log_id=%s&dlr_value=%%d&dlr_reply=%%A" >>> >> >> i'm not sure where this dlr-url and kannel-url are being defined ... but >> when i do an HTTP request to kannel, i include the full dlr-url in my >> request as a urlencoded parameter. so for example i use PHP: >> >> $dlr_url = 'http://myhost.com/dlr.php?status=%s&id=MYID'; >> $request = $kannel_host.$other_params.'&dlr-url='.urlencode($dlr_url); >> >> so the dlr-url passed in the HTTP request to kannel has the entire dlr-url >> in it. in your request above you're only putting dlr-url=%s which looks >> incorrect to me. >> >> cheers >> iain >> >> >> r >>> Regards >>> Abe >>> On Sat, Oct 10, 2009 at 8:53 AM, Iain Dooley < >>> [email protected]>wrote: >>> >>> Are you also setting the dlr-url parameter? >>>> >>>> Cheers, >>>> Iain >>>> >>>> >>>> On Sat, 10 Oct 2009, Abe mobME wrote: >>>> >>>> aa >>>> >>>>> >>>>> Hi, >>>>> I need to set the registered-delivery to x x x 1 x x x x as specified >>>>> by >>>>> the operator. Im currently using dlr-mask 31, but still the >>>>> registered-delivery has not changed. Please provide some help here. >>>>> Thanks >>>>> >>>>> Regards >>>>> Abe >>>>> >>>>> >>>>> >>> > -- Abe Sam Thomas Software Engineer - Telephony MobME Wireless Solutions ⓔ [email protected] ⓜ +919650770785 (Delhi) ⓜ +919846831827 (Kerala) =========================================================== MobME storms into Emerging 50 Companies in India by NASSCOM ===========================================================
