Yes. I have a dlr url and send-sms url works fine for all other SMSCs
configured. The problem is with this particular SMSC

I guess bb doesn't consider DLR and process it as an MO.
Have attached detailed logs.

--------
Thanks
Jinson Abraham




2010/6/29 Nikos Balkanas <[email protected]>

> Hi,
>
> What do you mean "not processing"? Have you specified a dlr-url? What is
> your sendsms url?
>
> Please post also detailed bb logs of the deliver_sm for the DLR along with
> some context. It seems that bb doesn't consider it a DLR, instead it thinks
> it is an MO SMS, tries to find an sms-service for it and fails.
>
> BR,
> Nikos
> ----- Original Message ----- From: Jinson
>
> To: Rene Kluwen
> Cc: users
> Sent: Tuesday, June 29, 2010 8:37 PM
> 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',
> '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
>
2010-06-29 17:50:04 [24617] [22] DEBUG: SMPP[mysmpp1]: Sending PDU:
2010-06-29 17:50:04 [24617] [22] DEBUG: SMPP PDU 0x7d2df0 dump:
2010-06-29 17:50:04 [24617] [22] DEBUG:   type_name: submit_sm
2010-06-29 17:50:04 [24617] [22] DEBUG:   command_id: 4 = 0x00000004
2010-06-29 17:50:04 [24617] [22] DEBUG:   command_status: 0 = 0x00000000
2010-06-29 17:50:04 [24617] [22] DEBUG:   sequence_number: 53 = 0x00000035
2010-06-29 17:50:04 [24617] [22] DEBUG:   service_type: NULL
2010-06-29 17:50:04 [24617] [22] DEBUG:   source_addr_ton: 5 = 0x00000005
2010-06-29 17:50:04 [24617] [22] DEBUG:   source_addr_npi: 0 = 0x00000000
2010-06-29 17:50:04 [24617] [22] DEBUG:   source_addr: "Jinson"
2010-06-29 17:50:04 [24617] [22] DEBUG:   dest_addr_ton: 2 = 0x00000002
2010-06-29 17:50:04 [24617] [22] DEBUG:   dest_addr_npi: 1 = 0x00000001
2010-06-29 17:50:04 [24617] [22] DEBUG:   destination_addr: "9199xxxxx"
2010-06-29 17:50:04 [24617] [22] DEBUG:   esm_class: 3 = 0x00000003
2010-06-29 17:50:04 [24617] [22] DEBUG:   protocol_id: 0 = 0x00000000
2010-06-29 17:50:04 [24617] [22] DEBUG:   priority_flag: 0 = 0x00000000
2010-06-29 17:50:04 [24617] [22] DEBUG:   schedule_delivery_time: NULL
2010-06-29 17:50:04 [24617] [22] DEBUG:   validity_period: NULL
2010-06-29 17:50:04 [24617] [22] DEBUG:   registered_delivery: 1 = 0x00000001
2010-06-29 17:50:04 [24617] [22] DEBUG:   replace_if_present_flag: 0 = 
0x00000000
2010-06-29 17:50:04 [24617] [22] DEBUG:   data_coding: 0 = 0x00000000
2010-06-29 17:50:04 [24617] [22] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2010-06-29 17:50:04 [24617] [22] DEBUG:   sm_length: 8 = 0x00000008
2010-06-29 17:50:04 [24617] [22] DEBUG:   short_message: "Test SMS"
2010-06-29 17:50:04 [24617] [22] DEBUG: SMPP PDU dump ends.
2010-06-29 17:50:04 [24617] [22] DEBUG: SMPP[mysmpp1]: Got PDU:
2010-06-29 17:50:04 [24617] [22] DEBUG: SMPP PDU 0x7d2df0 dump:
2010-06-29 17:50:04 [24617] [22] DEBUG:   type_name: submit_sm_resp
2010-06-29 17:50:04 [24617] [22] DEBUG:   command_id: 2147483652 = 0x80000004
2010-06-29 17:50:04 [24617] [22] DEBUG:   command_status: 0 = 0x00000000
2010-06-29 17:50:04 [24617] [22] DEBUG:   sequence_number: 53 = 0x00000035
2010-06-29 17:50:04 [24617] [22] DEBUG:   message_id: "0000000082"
2010-06-29 17:50:04 [24617] [22] DEBUG: SMPP PDU dump ends.
2010-06-29 17:50:04 [24617] [22] DEBUG: DLR[mysql]: Adding DLR smsc=mysmpp1, 
ts=0000000082, src=Jinson, dst=9199xxxxxx, mask=31, boxc=fabox
2010-06-29 17:50:04 [24617] [22] DEBUG: sql: INSERT INTO kannel_table (smsc, 
ts, source, destination, service, url, mask, boxc, status) VALUES ('mysmpp1', 
'0000000082', 'Jinson', '9199xxxxxx', 'priminfo', 
'http://172.19.2.93/dlrs.php?type=%d&kannel_id=%F&msisdn=%p&dlrvalue=%A&message_id=FastAlerts-100629232004-73331',
 '31', 'fabox', '0');
2010-06-29 17:50:04 [24617] [22] DEBUG: SMSC[mysmpp1]: creating DLR message
2010-06-29 17:50:04 [24617] [22] DEBUG: SMSC[mysmpp1]: DLR = 
http://172.19.2.93/dlrs.php?type=%d&kannel_id=%F&msisdn=%p&dlrvalue=%A&message_id=FastAlerts-100629232004-73331
2010-06-29 17:50:04 [24617] [25] DEBUG: send_msg: sending msg to boxc: <fabox>
2010-06-29 17:50:04 [24617] [25] DEBUG: boxc_sender: sent message to <127.0.0.1>
2010-06-29 17:50:04 [24617] [24] DEBUG: boxc_receiver: got ack

-----------------------------------

2010-06-29 17:50:12 [24617] [22] DEBUG: SMPP[mysmpp1]: Got PDU:
2010-06-29 17:50:12 [24617] [22] DEBUG: SMPP PDU 0x7d2d80 dump:
2010-06-29 17:50:12 [24617] [22] DEBUG:   type_name: deliver_sm
2010-06-29 17:50:12 [24617] [22] DEBUG:   command_id: 5 = 0x00000005
2010-06-29 17:50:12 [24617] [22] DEBUG:   command_status: 0 = 0x00000000
2010-06-29 17:50:12 [24617] [22] DEBUG:   sequence_number: 8 = 0x00000008
2010-06-29 17:50:12 [24617] [22] DEBUG:   service_type: NULL
2010-06-29 17:50:12 [24617] [22] DEBUG:   source_addr_ton: 1 = 0x00000001
2010-06-29 17:50:12 [24617] [22] DEBUG:   source_addr_npi: 1 = 0x00000001
2010-06-29 17:50:12 [24617] [22] DEBUG:   source_addr: "Jinson"
2010-06-29 17:50:12 [24617] [22] DEBUG:   dest_addr_ton: 1 = 0x00000001
2010-06-29 17:50:12 [24617] [22] DEBUG:   dest_addr_npi: 1 = 0x00000001
2010-06-29 17:50:12 [24617] [22] DEBUG:   destination_addr: "9199xxxxxx"
2010-06-29 17:50:12 [24617] [22] DEBUG:   esm_class: 0 = 0x00000000
2010-06-29 17:50:12 [24617] [22] DEBUG:   protocol_id: 1 = 0x00000001
2010-06-29 17:50:12 [24617] [22] DEBUG:   priority_flag: 3 = 0x00000003
2010-06-29 17:50:12 [24617] [22] DEBUG:   schedule_delivery_time: NULL
2010-06-29 17:50:12 [24617] [22] DEBUG:   validity_period: NULL
2010-06-29 17:50:12 [24617] [22] DEBUG:   registered_delivery: 1 = 0x00000001
2010-06-29 17:50:12 [24617] [22] DEBUG:   replace_if_present_flag: 0 = 
0x00000000
2010-06-29 17:50:12 [24617] [22] DEBUG:   data_coding: 0 = 0x00000000
2010-06-29 17:50:12 [24617] [22] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2010-06-29 17:50:12 [24617] [22] DEBUG:   sm_length: 107 = 0x0000006b
2010-06-29 17:50:12 [24617] [22] DEBUG:   short_message:
2010-06-29 17:50:12 [24617] [22] DEBUG:    Octet string at 0x7d2f30:
2010-06-29 17:50:12 [24617] [22] DEBUG:      len:  107
2010-06-29 17:50:12 [24617] [22] DEBUG:      size: 108
2010-06-29 17:50:12 [24617] [22] DEBUG:      immutable: 0
2010-06-29 17:50:12 [24617] [22] DEBUG:      data: 69 64 3a 30 30 30 30 30 30 
30 30 38 32 20 73 75   id:0000000082 su
2010-06-29 17:50:12 [24617] [22] DEBUG:      data: 62 3a 30 30 31 20 64 6c 76 
72 64 3a 30 30 31 20   b:001 dlvrd:001 
2010-06-29 17:50:12 [24617] [22] DEBUG:      data: 73 75 62 6d 69 74 20 64 61 
74 65 3a 31 30 30 36   submit date:1006
2010-06-29 17:50:12 [24617] [22] DEBUG:      data: 32 39 32 33 32 30 20 64 6f 
6e 65 20 64 61 74 65   292320 done date
2010-06-29 17:50:12 [24617] [22] DEBUG:      data: 3a 31 30 30 36 32 39 32 33 
32 30 20 73 74 61 74   :1006292320 stat
2010-06-29 17:50:12 [24617] [22] DEBUG:      data: 3a 44 45 4c 49 56 52 44 20 
65 72 72 3a 30 30 30   :DELIVRD err:000
2010-06-29 17:50:12 [24617] [22] DEBUG:      data: 20 74 65 78 74 3a 54 65 73 
74 20                   text:Test 
2010-06-29 17:50:12 [24617] [22] DEBUG:    Octet string dump ends.
2010-06-29 17:50:12 [24617] [22] DEBUG: SMPP PDU dump ends.
2010-06-29 17:50:12 [24617] [22] WARNING: SMPP[mysmpp1]: Mallformed addr 
`Jinson', generally expected at least 7 digits. 
2010-06-29 17:50:12 [24617] [22] DEBUG: SMPP[mysmpp1]: Sending PDU:
2010-06-29 17:50:12 [24617] [22] DEBUG: SMPP PDU 0x7d2680 dump:
2010-06-29 17:50:12 [24617] [22] DEBUG:   type_name: deliver_sm_resp
2010-06-29 17:50:12 [24617] [22] DEBUG:   command_id: 2147483653 = 0x80000005
2010-06-29 17:50:12 [24617] [22] DEBUG:   command_status: 0 = 0x00000000
2010-06-29 17:50:12 [24617] [22] DEBUG:   sequence_number: 8 = 0x00000008
2010-06-29 17:50:12 [24617] [22] DEBUG:   message_id: NULL
2010-06-29 17:50:12 [24617] [22] DEBUG: SMPP PDU dump ends.
2010-06-29 17:50:12 [24617] [25] DEBUG: send_msg: sending msg to boxc: <fabox>
2010-06-29 17:50:12 [24617] [25] DEBUG: boxc_sender: sent message to <127.0.0.1>
2010-06-29 17:50:12 [24617] [24] DEBUG: boxc_receiver: sms received
2010-06-29 17:50:12 [24617] [24] DEBUG: send_msg: sending msg to boxc: <fabox>
2010-06-29 17:50:12 [24617] [22] DEBUG: SMPP[mysmpp1]: Sending PDU:
2010-06-29 17:50:12 [24617] [22] DEBUG: SMPP PDU 0x7d2d80 dump:
2010-06-29 17:50:12 [24617] [22] DEBUG:   type_name: submit_sm
2010-06-29 17:50:12 [24617] [22] DEBUG:   command_id: 4 = 0x00000004
2010-06-29 17:50:12 [24617] [22] DEBUG:   command_status: 0 = 0x00000000
2010-06-29 17:50:12 [24617] [22] DEBUG:   sequence_number: 55 = 0x00000037
2010-06-29 17:50:12 [24617] [22] DEBUG:   service_type: NULL
2010-06-29 17:50:12 [24617] [22] DEBUG:   source_addr_ton: 1 = 0x00000001
2010-06-29 17:50:12 [24617] [22] DEBUG:   source_addr_npi: 1 = 0x00000001
2010-06-29 17:50:12 [24617] [22] DEBUG:   source_addr: "9199xxxxxx"
2010-06-29 17:50:12 [24617] [22] DEBUG:   dest_addr_ton: 1 = 0x00000001
2010-06-29 17:50:12 [24617] [22] DEBUG:   dest_addr_npi: 1 = 0x00000001
2010-06-29 17:50:12 [24617] [22] DEBUG:   destination_addr: "Jinson"
2010-06-29 17:50:12 [24617] [22] DEBUG:   esm_class: 3 = 0x00000003
2010-06-29 17:50:12 [24617] [22] DEBUG:   protocol_id: 0 = 0x00000000
2010-06-29 17:50:12 [24617] [24] DEBUG: boxc_receiver: got ack
2010-06-29 17:50:12 [24617] [22] DEBUG:   priority_flag: 0 = 0x00000000
2010-06-29 17:50:12 [24617] [22] DEBUG:   schedule_delivery_time: NULL
2010-06-29 17:50:12 [24617] [22] DEBUG:   validity_period: NULL
2010-06-29 17:50:12 [24617] [22] DEBUG:   registered_delivery: 0 = 0x00000000
2010-06-29 17:50:12 [24617] [22] DEBUG:   replace_if_present_flag: 0 = 
0x00000000
2010-06-29 17:50:12 [24617] [22] DEBUG:   data_coding: 0 = 0x00000000
2010-06-29 17:50:12 [24617] [22] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2010-06-29 17:50:12 [24617] [22] DEBUG:   sm_length: 14 = 0x0000000e
2010-06-29 17:50:12 [24617] [22] DEBUG:   short_message: "Request Failed"
2010-06-29 17:50:12 [24617] [22] DEBUG: SMPP PDU dump ends.
2010-06-29 17:50:13 [24617] [24] DEBUG: boxc_receiver: sms received
---------------
2010-06-29 17:50:14 [24617] [22] DEBUG: SMPP[mysmpp1]: Got PDU:
2010-06-29 17:50:14 [24617] [22] DEBUG: SMPP PDU 0x7d2aa0 dump:
2010-06-29 17:50:14 [24617] [22] DEBUG:   type_name: submit_sm_resp
2010-06-29 17:50:14 [24617] [22] DEBUG:   command_id: 2147483652 = 0x80000004
2010-06-29 17:50:14 [24617] [22] DEBUG:   command_status: 11 = 0x0000000b
2010-06-29 17:50:14 [24617] [22] DEBUG:   sequence_number: 55 = 0x00000037
2010-06-29 17:50:14 [24617] [22] DEBUG:   message_id: NULL
2010-06-29 17:50:14 [24617] [22] DEBUG: SMPP PDU dump ends.
2010-06-29 17:50:14 [24617] [22] ERROR: SMPP[mysmpp1]: SMSC returned error code 
0x0000000b (Invalid Destination Address) in response to submit_sm.
2010-06-29 17:50:15 [24617] [8] DEBUG: Optional parameter tag (0x0202)
2010-06-29 17:50:15 [24617] [8] DEBUG: Optional parameter length read as 5


Reply via email to