That was for a different message ID. I tried all the combinations of message ID. But I doubt that the SMSC is acting weired.
Please find the logs. *2010-06-29 17:43:23 [24617] [22] DEBUG: SMPP[160by2SMPP]: Sending PDU:* *2010-06-29 17:43:23 [24617] [22] DEBUG: SMPP PDU 0x2aaaac00a580 dump:* *2010-06-29 17:43:23 [24617] [22] DEBUG: type_name: submit_sm* *2010-06-29 17:43:23 [24617] [22] DEBUG: command_id: 4 = 0x00000004* *2010-06-29 17:43:23 [24617] [22] DEBUG: command_status: 0 = 0x00000000* *2010-06-29 17:43:23 [24617] [22] DEBUG: sequence_number: 37 = 0x00000025* *2010-06-29 17:43:23 [24617] [22] DEBUG: service_type: NULL* *2010-06-29 17:43:23 [24617] [22] DEBUG: source_addr_ton: 1 = 0x00000001* *2010-06-29 17:43:23 [24617] [22] DEBUG: source_addr_npi: 1 = 0x00000001* *2010-06-29 17:43:23 [24617] [22] DEBUG: source_addr: "918089xxxxx"* *2010-06-29 17:43:23 [24617] [22] DEBUG: dest_addr_ton: 1 = 0x00000001* *2010-06-29 17:43:23 [24617] [22] DEBUG: dest_addr_npi: 1 = 0x00000001* *2010-06-29 17:43:23 [24617] [22] DEBUG: destination_addr: "Jinson"* *2010-06-29 17:43:23 [24617] [22] DEBUG: esm_class: 3 = 0x00000003* *2010-06-29 17:43:23 [24617] [22] DEBUG: protocol_id: 0 = 0x00000000* *2010-06-29 17:43:23 [24617] [22] DEBUG: priority_flag: 0 = 0x00000000* *2010-06-29 17:43:23 [24617] [22] DEBUG: schedule_delivery_time: NULL* *2010-06-29 17:43:23 [24617] [22] DEBUG: validity_period: NULL* *2010-06-29 17:43:23 [24617] [22] DEBUG: registered_delivery: 0 = 0x00000000* *2010-06-29 17:43:23 [24617] [24] DEBUG: boxc_receiver: got ack* *2010-06-29 17:43:23 [24617] [22] DEBUG: replace_if_present_flag: 0 = 0x00000000* *2010-06-29 17:43:23 [24617] [22] DEBUG: data_coding: 0 = 0x00000000* *2010-06-29 17:43:23 [24617] [22] DEBUG: sm_default_msg_id: 0 = 0x00000000 * *2010-06-29 17:43:23 [24617] [22] DEBUG: sm_length: 14 = 0x0000000e* *2010-06-29 17:43:23 [24617] [22] DEBUG: short_message: "Request Failed"* *2010-06-29 17:43:23 [24617] [22] DEBUG: SMPP PDU dump ends.* *2010-06-29 17:43:23 [24617] [22] DEBUG: SMPP[160by2SMPP]: Got PDU:* *2010-06-29 17:43:23 [24617] [22] DEBUG: SMPP PDU 0x2aaaac00a580 dump:* *2010-06-29 17:43:23 [24617] [22] DEBUG: type_name: submit_sm_resp* *2010-06-29 17:43:23 [24617] [22] DEBUG: command_id: 2147483652 = 0x80000004* *2010-06-29 17:43:23 [24617] [22] DEBUG: command_status: 11 = 0x0000000b* *2010-06-29 17:43:23 [24617] [22] DEBUG: sequence_number: 37 = 0x00000025* *2010-06-29 17:43:23 [24617] [22] DEBUG: message_id: NULL* *2010-06-29 17:43:23 [24617] [22] DEBUG: SMPP PDU dump ends.* -------- Thanks Jinson Abraham On Tue, Jun 29, 2010 at 11:13 PM, Rene Kluwen <[email protected]> wrote: > Then maybe you should indeed set msg-id-type. > > Someone else on the list may know what is going on. > > I don’t see how 51 translates to 70, no matter what base numerical system. > > > > == Rene > > > > *From:* Jinson [mailto:[email protected]] > *Sent:* dinsdag 29 juni 2010 19:37 > *To:* Rene Kluwen > *Cc:* users > *Subject:* Re: SMPP Delivery Reports Issue > > > > Hello, > > > > I'm sorry for the confusion. It was getting inserted. But not processing > the DLRs. > > > > I could see the following in my smsbox log > > > > *010-06-29 17:35:36 [24643] [4] WARNING: No translation found for > <id:0000000070 sub:001 dlvrd:001 submit date:1006292305 done date:1006292305 > stat:DELIVRD err:000 text:Test > from <+xxxxxx> to <+xxxxxx>* > > *2010-06-29 17:35:36 [24643] [4] ERROR: request failed* > > > > > > > -------- > Thanks > Jinson Abraham > > > > On Tue, Jun 29, 2010 at 10:56 PM, Rene Kluwen <[email protected]> > wrote: > > What happens if you try to do the same insert, manually? Do you get an > error message? > > > > == Rene > > > > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *Jinson > *Sent:* dinsdag 29 juni 2010 19:00 > *To:* users > *Subject:* SMPP Delivery Reports Issue > > > > Hello Users, > > > > I've configured a new SMSC on my existing kannel installation. My DLRs are > not working on this SMSC. I'm using mysql DLR storage. I can see the insert > queries in the log but nothing gets inserted into the DB. DLRs are coming on > SMPP properly. > > > > > > *2010-06-29 16:55:18 [24139] [22] DEBUG: priority_flag: 0 = 0x00000000* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: schedule_delivery_time: NULL* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: validity_period: NULL* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: registered_delivery: 1 = > 0x00000001* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: replace_if_present_flag: 0 = > 0x00000000* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: data_coding: 0 = 0x00000000* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: sm_default_msg_id: 0 = > 0x00000000* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: sm_length: 8 = 0x00000008* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: short_message: "Test SMS"* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP PDU dump ends.* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP[160by2SMPP]: Got PDU:* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP PDU 0x795bf0 dump:* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: type_name: submit_sm_resp* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: command_id: 2147483652 = > 0x80000004* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: command_status: 0 = 0x00000000* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: sequence_number: 18 = > 0x00000012* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: message_id: "0000000051"* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: SMPP PDU dump ends.* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: DLR[mysql]: Adding DLR > smsc=160by2SMPP, ts=51, src=91XXXXXXXXX, dst=91XXXXXXXXX, mask=31, > boxc=fabox* > > *2010-06-29 16:55:18 [24139] [22] DEBUG: sql: INSERT INTO kannel_table > (smsc, ts, source, destination, service, url, mask, boxc, status) VALUES > ('XXXSMPP', '51', '91XXXXXXXXX', '91XXXXXXXXX', 'xxxx', ' > http://xxx.xxx.xxx/dlr.php?type=%d&kannel_id=%F&msisdn=%p&dlrvalue=%A&message_id=900629222518-836128<http://xxx.xxx.xxx/dlr.php?type=%25d&kannel_id=%25F&msisdn=%25p&dlrvalue=%25A&message_id=900629222518-836128>', > '31', 'faaabox', '0')* > > > > > > This is not getting inserted into the DB. Is there anything to do with > msg-id-type? Can somebody help me on this? > > > -------- > Thanks > Jinson Abraham > > >
