Thanks Willy Mularto, "msg-id-type" did the magic, now i can see the DLRs.
issue resolved by using msg-id-type= "0x01" Thanks Again Ali On Mon, Feb 3, 2014 at 4:12 AM, Willy Mularto <[email protected]> wrote: > You got the DLR > > 2014-02-03 01:20:42 [22712] [10] DEBUG: SMPP[MYSMSC]: Got PDU: > 2014-02-03 01:20:42 [22712] [10] DEBUG: SMPP PDU 0xb040cb18 dump: > 2014-02-03 01:20:42 [22712] [10] DEBUG: type_name: deliver_sm > 2014-02-03 01:20:42 [22712] [10] DEBUG: command_id: 5 = 0x00000005 > 2014-02-03 01:20:42 [22712] [10] DEBUG: command_status: 0 = 0x00000000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: sequence_number: 180898049 = > 0x0ac84901 > 2014-02-03 01:20:42 [22712] [10] DEBUG: service_type: NULL > 2014-02-03 01:20:42 [22712] [10] DEBUG: source_addr_ton: 1 = 0x00000001 > 2014-02-03 01:20:42 [22712] [10] DEBUG: source_addr_npi: 0 = 0x00000000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: source_addr: "XXXXXXXXXXXX" > 2014-02-03 01:20:42 [22712] [10] DEBUG: dest_addr_ton: 2 = 0x00000002 > 2014-02-03 01:20:42 [22712] [10] DEBUG: dest_addr_npi: 1 = 0x00000001 > 2014-02-03 01:20:42 [22712] [10] DEBUG: destination_addr: "8334" > 2014-02-03 01:20:42 [22712] [10] DEBUG: esm_class: 4 = 0x00000004 > 2014-02-03 01:20:42 [22712] [10] DEBUG: protocol_id: 0 = 0x00000000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: priority_flag: 0 = 0x00000000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: schedule_delivery_time: NULL > 2014-02-03 01:20:42 [22712] [10] DEBUG: validity_period: NULL > 2014-02-03 01:20:42 [22712] [10] DEBUG: registered_delivery: 0 = > 0x00000000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: replace_if_present_flag: 0 = > 0x00000000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: data_coding: 0 = 0x00000000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: sm_default_msg_id: 0 = 0x00000000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: sm_length: 122 = 0x0000007a > 2014-02-03 01:20:42 [22712] [10] DEBUG: short_message: > 2014-02-03 01:20:42 [22712] [10] DEBUG: Octet string at 0xb0405640: > 2014-02-03 01:20:42 [22712] [10] DEBUG: len: 122 > 2014-02-03 01:20:42 [22712] [10] DEBUG: size: 123 > 2014-02-03 01:20:42 [22712] [10] DEBUG: immutable: 0 > 2014-02-03 01:20:42 [22712] [10] DEBUG: data: 69 64 3a 32 30 39 39 34 > 33 38 39 34 38 20 73 75 id:2099438948 su > 2014-02-03 01:20:42 [22712] [10] DEBUG: data: 62 3a 30 30 30 20 64 6c > 76 72 64 3a 30 30 30 20 b:000 dlvrd:000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: data: 73 75 62 6d 69 74 20 64 > 61 74 65 3a 31 34 30 32 submit date:1402 > 2014-02-03 01:20:42 [22712] [10] DEBUG: data: 30 32 31 36 33 38 20 64 > 6f 6e 65 20 64 61 74 65 021638 done date > 2014-02-03 01:20:42 [22712] [10] DEBUG: data: 3a 31 34 30 32 30 32 31 > 36 33 38 20 73 74 61 74 :1402021638 stat > 2014-02-03 01:20:42 [22712] [10] DEBUG: data: 3a 44 45 4c 49 56 52 44 > 20 65 72 72 3a 30 30 30 :DELIVRD err:000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: data: 20 74 65 78 74 3a 64 65 > 6c 65 74 65 20 74 68 69 text:delete thi > 2014-02-03 01:20:42 [22712] [10] DEBUG: data: 73 00 00 00 00 00 00 00 > 00 00 s......... > 2014-02-03 01:20:42 [22712] [10] DEBUG: Octet string dump ends. > > Your msg-id-type could be not correct, check user guide to correct this > > > Willy Mularto > SMS Gateway, Content Provider, Mobile Solution Specialist > M: +62811923464, +62818923464 > PIN BBM: 74924429 > > > > On Feb 2, 2014, at 7:42 PM, Ali Kashif <[email protected]> wrote: > > John Alero : already using dlr_mask = 31 > lsaac sanni: already using transceiver-mode = true in smsc config file. > > > and here is the log when an SMS is sent to MYSMSC > > ========================================== > 2014-02-03 01:20:38 [22712] [10] DEBUG: SMPP[MYSMSC]: throughput > (0.00,0.00) > 2014-02-03 01:20:38 [22712] [10] DEBUG: SMPP[MYSMSC]: Manually forced dest > addr ton = 0, dest add npi = 0 > 2014-02-03 01:20:38 [22712] [10] DEBUG: SMPP[MYSMSC]: Sending PDU: > 2014-02-03 01:20:38 [22712] [10] DEBUG: SMPP PDU 0xb040c9d8 dump: > 2014-02-03 01:20:38 [22712] [10] DEBUG: type_name: submit_sm > 2014-02-03 01:20:38 [22712] [10] DEBUG: command_id: 4 = 0x00000004 > 2014-02-03 01:20:38 [22712] [10] DEBUG: command_status: 0 = 0x00000000 > 2014-02-03 01:20:38 [22712] [10] DEBUG: sequence_number: 17412 = > 0x00004404 > 2014-02-03 01:20:38 [22712] [10] DEBUG: service_type: NULL > 2014-02-03 01:20:38 [22712] [10] DEBUG: source_addr_ton: 2 = 0x00000002 > 2014-02-03 01:20:38 [22712] [10] DEBUG: source_addr_npi: 1 = 0x00000001 > 2014-02-03 01:20:38 [22712] [10] DEBUG: source_addr: "8334" > 2014-02-03 01:20:38 [22712] [10] DEBUG: dest_addr_ton: 1 = 0x00000001 > 2014-02-03 01:20:38 [22712] [10] DEBUG: dest_addr_npi: 0 = 0x00000000 > 2014-02-03 01:20:38 [22712] [10] DEBUG: destination_addr: "XXXXXXXXXXXX" > 2014-02-03 01:20:38 [22712] [10] DEBUG: esm_class: 3 = 0x00000003 > 2014-02-03 01:20:38 [22712] [10] DEBUG: protocol_id: 0 = 0x00000000 > 2014-02-03 01:20:38 [22712] [10] DEBUG: priority_flag: 0 = 0x00000000 > 2014-02-03 01:20:38 [22712] [10] DEBUG: schedule_delivery_time: NULL > 2014-02-03 01:20:38 [22712] [10] DEBUG: validity_period: NULL > 2014-02-03 01:20:38 [22712] [10] DEBUG: registered_delivery: 1 = > 0x00000001 > 2014-02-03 01:20:38 [22712] [10] DEBUG: replace_if_present_flag: 0 = > 0x00000000 > 2014-02-03 01:20:38 [22712] [10] DEBUG: data_coding: 241 = 0x000000f1 > 2014-02-03 01:20:38 [22712] [10] DEBUG: sm_default_msg_id: 0 = 0x00000000 > 2014-02-03 01:20:38 [22712] [10] DEBUG: sm_length: 11 = 0x0000000b > 2014-02-03 01:20:38 [22712] [10] DEBUG: short_message: "delete this" > 2014-02-03 01:20:38 [22712] [10] DEBUG: SMPP PDU dump ends. > 2014-02-03 01:20:38 [22712] [10] DEBUG: SMPP[MYSMSC]: throughput > (1.00,0.00) > 2014-02-03 01:20:39 [22712] [10] DEBUG: SMPP[MYSMSC]: throughput > (0.00,0.00) > 2014-02-03 01:20:39 [22712] [10] DEBUG: SMPP[MYSMSC]: Got PDU: > 2014-02-03 01:20:39 [22712] [10] DEBUG: SMPP PDU 0xb040cb18 dump: > 2014-02-03 01:20:39 [22712] [10] DEBUG: type_name: submit_sm_resp > 2014-02-03 01:20:39 [22712] [10] DEBUG: command_id: 2147483652 = > 0x80000004 > 2014-02-03 01:20:39 [22712] [10] DEBUG: command_status: 0 = 0x00000000 > 2014-02-03 01:20:39 [22712] [10] DEBUG: sequence_number: 17412 = > 0x00004404 > 2014-02-03 01:20:39 [22712] [10] DEBUG: message_id: "7D22E564" > 2014-02-03 01:20:39 [22712] [10] DEBUG: SMPP PDU dump ends. > 2014-02-03 01:20:39 [22712] [10] DEBUG: DLR[mysql]: Adding DLR > smsc=MYSMSC, ts=7D22E564, src=8334, dst=+XXXXXXXXXXXX, mask=31, boxc= > 2014-02-03 01:20:39 [22712] [10] DEBUG: adding DLR entry into database > 2014-02-03 01:20:39 [22712] [10] DEBUG: sql: INSERT INTO `mdlr` (`smsc`, > `ts`, `source`, `destination`, `service`, `url`, `mask`, `boxc`, `status`) > VALUES (?, ?, ?, ?, ?, ?, ?, ?, 0) > 2014-02-03 01:20:39 [22712] [10] DEBUG: SMSC[MYSMSC]: creating DLR message > 2014-02-03 01:20:39 [22712] [10] DEBUG: SMSC[MYSMSC]: DLR = > http://localhost//index.php?app=call&cat=gateway&plugin=kannel&access=dlr&type=%d&slid=920888&uid=36&smsc=%i > 2014-02-03 01:20:39 [22712] [10] DEBUG: SMPP[MYSMSC]: throughput > (0.00,0.00) > 2014-02-03 01:20:42 [22712] [10] DEBUG: SMPP[MYSMSC]: throughput > (0.00,0.00) > 2014-02-03 01:20:42 [22712] [10] DEBUG: SMPP[MYSMSC]: Got PDU: > 2014-02-03 01:20:42 [22712] [10] DEBUG: SMPP PDU 0xb040cb18 dump: > 2014-02-03 01:20:42 [22712] [10] DEBUG: type_name: deliver_sm > 2014-02-03 01:20:42 [22712] [10] DEBUG: command_id: 5 = 0x00000005 > 2014-02-03 01:20:42 [22712] [10] DEBUG: command_status: 0 = 0x00000000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: sequence_number: 180898049 = > 0x0ac84901 > 2014-02-03 01:20:42 [22712] [10] DEBUG: service_type: NULL > 2014-02-03 01:20:42 [22712] [10] DEBUG: source_addr_ton: 1 = 0x00000001 > 2014-02-03 01:20:42 [22712] [10] DEBUG: source_addr_npi: 0 = 0x00000000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: source_addr: "XXXXXXXXXXXX" > 2014-02-03 01:20:42 [22712] [10] DEBUG: dest_addr_ton: 2 = 0x00000002 > 2014-02-03 01:20:42 [22712] [10] DEBUG: dest_addr_npi: 1 = 0x00000001 > 2014-02-03 01:20:42 [22712] [10] DEBUG: destination_addr: "8334" > 2014-02-03 01:20:42 [22712] [10] DEBUG: esm_class: 4 = 0x00000004 > 2014-02-03 01:20:42 [22712] [10] DEBUG: protocol_id: 0 = 0x00000000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: priority_flag: 0 = 0x00000000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: schedule_delivery_time: NULL > 2014-02-03 01:20:42 [22712] [10] DEBUG: validity_period: NULL > 2014-02-03 01:20:42 [22712] [10] DEBUG: registered_delivery: 0 = > 0x00000000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: replace_if_present_flag: 0 = > 0x00000000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: data_coding: 0 = 0x00000000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: sm_default_msg_id: 0 = 0x00000000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: sm_length: 122 = 0x0000007a > 2014-02-03 01:20:42 [22712] [10] DEBUG: short_message: > 2014-02-03 01:20:42 [22712] [10] DEBUG: Octet string at 0xb0405640: > 2014-02-03 01:20:42 [22712] [10] DEBUG: len: 122 > 2014-02-03 01:20:42 [22712] [10] DEBUG: size: 123 > 2014-02-03 01:20:42 [22712] [10] DEBUG: immutable: 0 > 2014-02-03 01:20:42 [22712] [10] DEBUG: data: 69 64 3a 32 30 39 39 34 > 33 38 39 34 38 20 73 75 id:2099438948 su > 2014-02-03 01:20:42 [22712] [10] DEBUG: data: 62 3a 30 30 30 20 64 6c > 76 72 64 3a 30 30 30 20 b:000 dlvrd:000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: data: 73 75 62 6d 69 74 20 64 > 61 74 65 3a 31 34 30 32 submit date:1402 > 2014-02-03 01:20:42 [22712] [10] DEBUG: data: 30 32 31 36 33 38 20 64 > 6f 6e 65 20 64 61 74 65 021638 done date > 2014-02-03 01:20:42 [22712] [10] DEBUG: data: 3a 31 34 30 32 30 32 31 > 36 33 38 20 73 74 61 74 :1402021638 stat > 2014-02-03 01:20:42 [22712] [10] DEBUG: data: 3a 44 45 4c 49 56 52 44 > 20 65 72 72 3a 30 30 30 :DELIVRD err:000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: data: 20 74 65 78 74 3a 64 65 > 6c 65 74 65 20 74 68 69 text:delete thi > 2014-02-03 01:20:42 [22712] [10] DEBUG: data: 73 00 00 00 00 00 00 00 > 00 00 s......... > 2014-02-03 01:20:42 [22712] [10] DEBUG: Octet string dump ends. > 2014-02-03 01:20:42 [22712] [10] DEBUG: SMPP PDU dump ends. > 2014-02-03 01:20:42 [22712] [10] DEBUG: SMPP[MYSMSC] handle_pdu, got DLR > 2014-02-03 01:20:42 [22712] [10] DEBUG: DLR[mysql]: Looking for DLR > smsc=MYSMSC, ts=2099438948, dst=XXXXXXXXXXXX, type=1 > 2014-02-03 01:20:42 [22712] [10] DEBUG: sql: SELECT `mask`, `service`, > `url`, `source`, `destination`, `boxc` FROM `mdlr` WHERE `smsc`=? AND > `ts`=? LIMIT 1 > 2014-02-03 01:20:42 [22712] [10] DEBUG: column=mask buffer_type=2 > max_length=0 length=6 > 2014-02-03 01:20:42 [22712] [10] DEBUG: column=service buffer_type=253 > max_length=0 length=40 > 2014-02-03 01:20:42 [22712] [10] DEBUG: column=url buffer_type=253 > max_length=0 length=255 > 2014-02-03 01:20:42 [22712] [10] DEBUG: column=source buffer_type=253 > max_length=0 length=40 > 2014-02-03 01:20:42 [22712] [10] DEBUG: column=destination buffer_type=253 > max_length=0 length=40 > 2014-02-03 01:20:42 [22712] [10] DEBUG: column=boxc buffer_type=253 > max_length=0 length=40 > 2014-02-03 01:20:42 [22712] [10] WARNING: DLR[mysql]: DLR from > SMSC<MYSMSC> for DST<XXXXXXXXXXXX> not found. > 2014-02-03 01:20:42 [22712] [10] ERROR: SMPP[MYSMSC]: got DLR but could > not find message or was not interested in it id<2099438948> > dst<XXXXXXXXXXXX>, type<1> > 2014-02-03 01:20:42 [22712] [10] DEBUG: SMPP[MYSMSC]: Sending PDU: > 2014-02-03 01:20:42 [22712] [10] DEBUG: SMPP PDU 0xb040e1e0 dump: > 2014-02-03 01:20:42 [22712] [10] DEBUG: type_name: deliver_sm_resp > 2014-02-03 01:20:42 [22712] [10] DEBUG: command_id: 2147483653 = > 0x80000005 > 2014-02-03 01:20:42 [22712] [10] DEBUG: command_status: 0 = 0x00000000 > 2014-02-03 01:20:42 [22712] [10] DEBUG: sequence_number: 180898049 = > 0x0ac84901 > 2014-02-03 01:20:42 [22712] [10] DEBUG: message_id: NULL > 2014-02-03 01:20:42 [22712] [10] DEBUG: SMPP PDU dump ends. > 2014-02-03 01:20:42 [22712] [10] DEBUG: SMPP[MYSMSC]: throughput > (0.00,0.00) > > ========================================== > > > > On Sun, Feb 2, 2014 at 11:03 AM, Isaac Sanni-Thomas < > [email protected]> wrote: > >> Ali Hi, >> >> Have you added transceiver-mode = true to your group=smsc configs? >> >> Try that as well. >> >> >> BR >> -- >> Isaac >> >> >> On 02/01/2014 11:36 AM, Ali Kashif wrote: >> > >> > Dear List, >> > >> > i am connected to an ESME and i want a DLR from it, i am pasisng >> > DLR_MASK= 31 and a DLR URL but still the ESME says that i am not >> > requesting a DLR. >> > >> > here is actual email from ESME. >> > >> > "application is not setting DLR=true in some submit_sm requests. Pls >> > enable delivery report in every message submitted by application. Pls >> > review SMPP settings of all ESMEs binded to this LA." >> > >> > >> > Can anyone guide me what should i check? >> > >> > Thanks >> > Ali >> >> > >
