Hi all,

I got a trouble with DLR. I'm using SMPPSim to simulate SMPP connections.
Somehow it doesn't interpret the parameters or it may be some kind of a
parameter mismatch.
You can see *ts=4*, but it is not the time-stamp but message_id.
Sendsms URL and BB log is there.
Help me to solve this. (If this happens because of SMPPSim what can I do to
simulate this?)
I really appreciate any kind of help.

Thank you!

Suranga.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
http://localhost:13013/cgi-bin/sendsms?username=a&password=a&from=1234&to=8282928&text=hello+suranga&dlr-mask=31
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

2012-01-02 19:31:34 [3127] [6] DEBUG: SMPP PDU 0x911ea38 dump:
2012-01-02 19:31:34 [3127] [6] DEBUG:   type_name: submit_sm_resp
2012-01-02 19:31:34 [3127] [6] DEBUG:   command_id: 2147483652 = 0x80000004
2012-01-02 19:31:34 [3127] [6] DEBUG:   command_status: 0 = 0x00000000
2012-01-02 19:31:34 [3127] [6] DEBUG:   sequence_number: 138 = 0x0000008a
2012-01-02 19:31:34 [3127] [6] DEBUG:   message_id: "4"
2012-01-02 19:31:34 [3127] [6] DEBUG: SMPP PDU dump ends.
2012-01-02 19:31:34 [3127] [6] DEBUG: DLR[mysql]: Adding DLR smsc=SMPPSim,*ts=4
*, src=1234, dst=8282928, mask=31, boxc=mysmsbox
2012-01-02 19:31:34 [3127] [6] DEBUG: adding DLR entry into database
*2012-01-02 19:31:34 [3127] [6] DEBUG: sql: INSERT INTO `dlr` (`smsc`,
`ts`, `source`, `destination`, `service`, `url`, `mask`, `boxc`, `status`)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, 0)*
2012-01-02 19:31:34 [3127] [6] DEBUG: SMSC[SMPPSim]: creating DLR message
2012-01-02 19:31:34 [3127] [6] DEBUG: SMSC[SMPPSim]: DLR =
2012-01-02 19:31:34 [3127] [10] DEBUG: send_msg: sending msg to boxc:
<mysmsbox>
2012-01-02 19:31:34 [3127] [10] DEBUG: boxc_sender: sent message to
<127.0.0.1>
2012-01-02 19:31:34 [3127] [6] DEBUG: SMPP[SMPPSim]: throughput (1.00,0.00)
2012-01-02 19:31:34 [3127] [9] DEBUG: boxc_receiver: got ack
2012-01-02 19:31:34 [3127] [6] DEBUG: SMPP[SMPPSim]: throughput (1.00,0.00)
2012-01-02 19:31:34 [3127] [6] DEBUG: SMPP[SMPPSim]: Got PDU:
2012-01-02 19:31:34 [3127] [6] DEBUG: SMPP PDU 0x911ea38 dump:
2012-01-02 19:31:34 [3127] [6] DEBUG:   type_name: deliver_sm
2012-01-02 19:31:34 [3127] [6] DEBUG:   command_id: 5 = 0x00000005
2012-01-02 19:31:34 [3127] [6] DEBUG:   command_status: 0 = 0x00000000
2012-01-02 19:31:34 [3127] [6] DEBUG:   sequence_number: 11 = 0x0000000b
2012-01-02 19:31:34 [3127] [6] DEBUG:   service_type: NULL
2012-01-02 19:31:34 [3127] [6] DEBUG:   source_addr_ton: 2 = 0x00000002
2012-01-02 19:31:34 [3127] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2012-01-02 19:31:34 [3127] [6] DEBUG:   source_addr: "1234"
2012-01-02 19:31:34 [3127] [6] DEBUG:   dest_addr_ton: 2 = 0x00000002
2012-01-02 19:31:34 [3127] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2012-01-02 19:31:34 [3127] [6] DEBUG:   destination_addr: "8282928"
2012-01-02 19:31:34 [3127] [6] DEBUG:   esm_class: 3 = 0x00000003
2012-01-02 19:31:34 [3127] [6] DEBUG:   protocol_id: 0 = 0x00000000
2012-01-02 19:31:34 [3127] [6] DEBUG:   priority_flag: 0 = 0x00000000
2012-01-02 19:31:34 [3127] [6] DEBUG:   schedule_delivery_time: NULL
2012-01-02 19:31:34 [3127] [6] DEBUG:   validity_period: NULL
2012-01-02 19:31:34 [3127] [6] DEBUG:   registered_delivery: 1 = 0x00000001
2012-01-02 19:31:34 [3127] [6] DEBUG:   replace_if_present_flag: 0 =
0x00000000
2012-01-02 19:31:34 [3127] [6] DEBUG:   data_coding: 0 = 0x00000000
2012-01-02 19:31:34 [3127] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2012-01-02 19:31:34 [3127] [6] DEBUG:   sm_length: 13 = 0x0000000d
2012-01-02 19:31:34 [3127] [6] DEBUG:   short_message: "hello suranga"
2012-01-02 19:31:34 [3127] [6] DEBUG: SMPP PDU dump ends.
2012-01-02 19:31:34 [3127] [6] WARNING: smsbox_list empty!
2012-01-02 19:31:34 [3127] [6] DEBUG: SMPP[SMPPSim]: Sending PDU:
2012-01-02 19:31:34 [3127] [6] DEBUG: SMPP PDU 0x912a5e8 dump:
2012-01-02 19:31:34 [3127] [6] DEBUG:   type_name: deliver_sm_resp
2012-01-02 19:31:34 [3127] [6] DEBUG:   command_id: 2147483653 = 0x80000005
2012-01-02 19:31:34 [3127] [6] DEBUG:   command_status: 0 = 0x00000000
2012-01-02 19:31:34 [3127] [6] DEBUG:   sequence_number: 11 = 0x0000000b
2012-01-02 19:31:34 [3127] [6] DEBUG:   message_id: NULL
2012-01-02 19:31:34 [3127] [6] DEBUG: SMPP PDU dump ends.
2012-01-02 19:31:34 [3127] [6] DEBUG: SMPP[SMPPSim]: throughput (1.00,0.00)
2012-01-02 19:31:37 [3127] [9] DEBUG: boxc_receiver: heartbeat with load
value 0 received
2012-01-02 19:31:43 [3127] [6] DEBUG: SMPP[SMPPSim]: Sending enquire link:
2012-01-02 19:31:43 [3127] [6] DEBUG: SMPP PDU 0x912a5e8 dump:
2012-01-02 19:31:43 [3127] [6] DEBUG:   type_name: enquire_link
2012-01-02 19:31:43 [3127] [6] DEBUG:   command_id: 21 = 0x00000015
2012-01-02 19:31:43 [3127] [6] DEBUG:   command_status: 0 = 0x00000000
2012-01-02 19:31:43 [3127] [6] DEBUG:   sequence_number: 139 = 0x0000008b
2012-01-02 19:31:43 [3127] [6] DEBUG: SMPP PDU dump ends.
2012-01-02 19:31:43 [3127] [6] DEBUG: SMPP[SMPPSim]: throughput (0.00,0.00)
2012-01-02 19:31:43 [3127] [6] DEBUG: SMPP[SMPPSim]: Got PDU:
2012-01-02 19:31:43 [3127] [6] DEBUG: SMPP PDU 0x911ea38 dump:
2012-01-02 19:31:43 [3127] [6] DEBUG:   type_name: deliver_sm
2012-01-02 19:31:43 [3127] [6] DEBUG:   command_id: 5 = 0x00000005
2012-01-02 19:31:43 [3127] [6] DEBUG:   command_status: 0 = 0x00000000
2012-01-02 19:31:43 [3127] [6] DEBUG:   sequence_number: 12 = 0x0000000c
2012-01-02 19:31:43 [3127] [6] DEBUG:   service_type: NULL
2012-01-02 19:31:43 [3127] [6] DEBUG:   source_addr_ton: 2 = 0x00000002
2012-01-02 19:31:43 [3127] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2012-01-02 19:31:43 [3127] [6] DEBUG:   source_addr: "8282928"
2012-01-02 19:31:43 [3127] [6] DEBUG:   dest_addr_ton: 2 = 0x00000002
2012-01-02 19:31:43 [3127] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2012-01-02 19:31:43 [3127] [6] DEBUG:   destination_addr: "1234"
2012-01-02 19:31:43 [3127] [6] DEBUG:   esm_class: 4 = 0x00000004
2012-01-02 19:31:43 [3127] [6] DEBUG:   protocol_id: 0 = 0x00000000
2012-01-02 19:31:43 [3127] [6] DEBUG:   priority_flag: 0 = 0x00000000
2012-01-02 19:31:43 [3127] [6] DEBUG:   schedule_delivery_time: NULL
2012-01-02 19:31:43 [3127] [6] DEBUG:   validity_period: NULL
2012-01-02 19:31:43 [3127] [6] DEBUG:   registered_delivery: 0 = 0x00000000
2012-01-02 19:31:43 [3127] [6] DEBUG:   replace_if_present_flag: 0 =
0x00000000
2012-01-02 19:31:43 [3127] [6] DEBUG:   data_coding: 0 = 0x00000000
2012-01-02 19:31:43 [3127] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2012-01-02 19:31:43 [3127] [6] DEBUG:   sm_length: 106 = 0x0000006a
2012-01-02 19:31:43 [3127] [6] DEBUG:   short_message:
2012-01-02 19:31:43 [3127] [6] DEBUG:    Octet string at 0x911e420:
2012-01-02 19:31:43 [3127] [6] DEBUG:      len:  106
2012-01-02 19:31:43 [3127] [6] DEBUG:      size: 107
2012-01-02 19:31:43 [3127] [6] DEBUG:      immutable: 0
2012-01-02 19:31:43 [3127] [6] DEBUG:      data: 69 64 3a 34 20 73 75 62 3a
30 30 31 20 64 6c 76   id:4 sub:001 dlv
2012-01-02 19:31:43 [3127] [6] DEBUG:      data: 72 64 3a 30 30 31 20 73 75
62 6d 69 74 20 64 61   rd:001 submit da
2012-01-02 19:31:43 [3127] [6] DEBUG:      data: 74 65 3a 31 32 30 31 30 33
30 31 30 31 20 64 6f   te:1201030101 do
2012-01-02 19:31:43 [3127] [6] DEBUG:      data: 6e 65 20 64 61 74 65 3a 31
32 30 31 30 33 30 31   ne date:12010301
2012-01-02 19:31:43 [3127] [6] DEBUG:      data: 30 31 20 73 74 61 74 3a 44
45 4c 49 56 52 44 20   01 stat:DELIVRD
2012-01-02 19:31:43 [3127] [6] DEBUG:      data: 65 72 72 3a 30 30 30 20 54
65 78 74 3a 68 65 6c   err:000 Text:hel
2012-01-02 19:31:43 [3127] [6] DEBUG:      data: 6c 6f 20 73 75 72 61 6e 67
61                     lo suranga
2012-01-02 19:31:43 [3127] [6] DEBUG:    Octet string dump ends.
2012-01-02 19:31:43 [3127] [6] DEBUG: SMPP PDU dump ends.
2012-01-02 19:31:43 [3127] [6] DEBUG: SMPP[SMPPSim] handle_pdu, got DLR
2012-01-02 19:31:43 [3127] [6] DEBUG: DLR[mysql]: Looking for DLR
smsc=SMPPSim,* ts=4*, dst=8282928, type=1
2012-01-02 19:31:43 [3127] [6] DEBUG: sql: SELECT `mask`, `service`, `url`,
`source`, `destination`, `boxc` FROM `dlr` WHERE *`smsc`=? AND `ts`=?* LIMIT 1
2012-01-02 19:31:43 [3127] [6] DEBUG: column=mask buffer_type=3
max_length=0 length=10
2012-01-02 19:31:43 [3127] [6] DEBUG: column=service buffer_type=253
max_length=0 length=40
2012-01-02 19:31:43 [3127] [6] DEBUG: column=url buffer_type=253
max_length=0 length=255
2012-01-02 19:31:43 [3127] [6] DEBUG: column=source buffer_type=253
max_length=0 length=40
2012-01-02 19:31:43 [3127] [6] DEBUG: column=destination buffer_type=253
max_length=0 length=40
2012-01-02 19:31:43 [3127] [6] DEBUG: column=boxc buffer_type=253
max_length=0 length=40
2012-01-02 19:31:43 [3127] [6] DEBUG: DLR[mysql]: created DLR message for
URL <>
2012-01-02 19:31:43 [3127] [6] DEBUG: removing DLR from database
2012-01-02 19:31:43 [3127] [6] DEBUG: sql: DELETE FROM `dlr` WHERE `smsc`=?
AND `ts`=?  LIMIT 1
2012-01-02 19:31:43 [3127] [6] DEBUG: new group created `smpp'
2012-01-02 19:31:43 [3127] [6] DEBUG: group=`smpp' key=`dlr_err' value=`000'
2012-01-02 19:31:43 [3127] [10] DEBUG: send_msg: sending msg to boxc:
<mysmsbox>
2012-01-02 19:31:43 [3127] [10] DEBUG: boxc_sender: sent message to
<127.0.0.1>
2012-01-02 19:31:43 [3127] [9] DEBUG: boxc_receiver: got ack
2012-01-02 19:31:43 [3127] [6] DEBUG: SMPP[SMPPSim]: Sending PDU:
2012-01-02 19:31:43 [3127] [6] DEBUG: SMPP PDU 0x911f0d8 dump:
2012-01-02 19:31:43 [3127] [6] DEBUG:   type_name: deliver_sm_resp
2012-01-02 19:31:43 [3127] [6] DEBUG:   command_id: 2147483653 = 0x80000005
2012-01-02 19:31:43 [3127] [6] DEBUG:   command_status: 0 = 0x00000000
2012-01-02 19:31:43 [3127] [6] DEBUG:   sequence_number: 12 = 0x0000000c
2012-01-02 19:31:43 [3127] [6] DEBUG:   message_id: NULL
2012-01-02 19:31:43 [3127] [6] DEBUG: SMPP PDU dump ends.
2012-01-02 19:31:43 [3127] [6] DEBUG: SMPP[SMPPSim]: throughput (0.00,0.00)
2012-01-02 19:31:43 [3127] [6] DEBUG: SMPP[SMPPSim]: Got PDU:
2012-01-02 19:31:43 [3127] [6] DEBUG: SMPP PDU 0x911ea38 dump:
2012-01-02 19:31:43 [3127] [6] DEBUG:   type_name: enquire_link_resp
2012-01-02 19:31:43 [3127] [6] DEBUG:   command_id: 2147483669 = 0x80000015
2012-01-02 19:31:43 [3127] [6] DEBUG:   command_status: 0 = 0x00000000
2012-01-02 19:31:43 [3127] [6] DEBUG:   sequence_number: 139 = 0x0000008b
2012-01-02 19:31:43 [3127] [6] DEBUG: SMPP PDU dump ends.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Reply via email to