Hi All,
Below is a trace from my logs, apparently kannel felt that I was not
interested in the DLRs for this, but I am :). The operator is sending
things in quite a funny way, but there must be a way for me to make my
setup receive this.
It looks like the DLR body is not formatted properly.
This is on a fairly old kannel, with some local craft and list patches
added on.
Any help appreciated.
Kyriacos
2008-10-03 15:12:12 [6363] [37] DEBUG: boxc_receiver: sms received
2008-10-03 15:12:12 [6363] [37] DEBUG: send_msg: sending msg to boxc:
<dlrbox>
2008-10-03 15:12:12 [6363] [20] DEBUG: SMPP[SMSCID]: Manually forced
source addr ton = 1, source add npi = 1
2008-10-03 15:12:12 [6363] [20] DEBUG: SMPP[SMSCID]: Manually forced
dest addr ton = 1, dest add npi = 1
2008-10-03 15:12:12 [6363] [20] DEBUG: SMPP[SMSCID]: Sending PDU:
2008-10-03 15:12:12 [6363] [20] DEBUG: SMPP PDU 0x81c9958 dump:
2008-10-03 15:12:12 [6363] [20] DEBUG: type_name: submit_sm
2008-10-03 15:12:12 [6363] [20] DEBUG: command_id: 4 = 0x00000004
2008-10-03 15:12:12 [6363] [20] DEBUG: command_status: 0 = 0x00000000
2008-10-03 15:12:12 [6363] [20] DEBUG: sequence_number: 20 = 0x00000014
2008-10-03 15:12:12 [6363] [20] DEBUG: service_type: NULL
2008-10-03 15:12:12 [6363] [20] DEBUG: source_addr_ton: 1 = 0x00000001
2008-10-03 15:12:12 [6363] [20] DEBUG: source_addr_npi: 1 = 0x00000001
2008-10-03 15:12:12 [6363] [20] DEBUG: source_addr: "5****"
2008-10-03 15:12:12 [6363] [20] DEBUG: dest_addr_ton: 1 = 0x00000001
2008-10-03 15:12:12 [6363] [20] DEBUG: dest_addr_npi: 1 = 0x00000001
2008-10-03 15:12:12 [6363] [20] DEBUG: destination_addr: "3069********""
2008-10-03 15:12:12 [6363] [20] DEBUG: esm_class: 3 = 0x00000003
2008-10-03 15:12:12 [6363] [20] DEBUG: protocol_id: 0 = 0x00000000
2008-10-03 15:12:12 [6363] [20] DEBUG: priority_flag: 0 = 0x00000000
2008-10-03 15:12:12 [6363] [20] DEBUG: schedule_delivery_time: NULL
2008-10-03 15:12:12 [6363] [20] DEBUG: validity_period: NULL
2008-10-03 15:12:12 [6363] [20] DEBUG: registered_delivery: 1 = 0x00000001
2008-10-03 15:12:12 [6363] [20] DEBUG: replace_if_present_flag: 0 =
0x00000000
2008-10-03 15:12:12 [6363] [20] DEBUG: data_coding: 0 = 0x00000000
2008-10-03 15:12:12 [6363] [20] DEBUG: sm_default_msg_id: 0 = 0x00000000
2008-10-03 15:12:12 [6363] [20] DEBUG: sm_length: 32 = 0x00000020
2008-10-03 15:12:12 [6363] [20] DEBUG: short_message:
2008-10-03 15:12:12 [6363] [20] DEBUG: Octet string at 0x8202470:
2008-10-03 15:12:12 [6363] [20] DEBUG: len: 32
2008-10-03 15:12:12 [6363] [20] DEBUG: size: 33
2008-10-03 15:12:12 [6363] [20] DEBUG: immutable: 0
2008-10-03 15:12:12 [6363] [20] DEBUG: data: 54 45 18 54 20 41 16
4f 3a 20 35 34 35 30 30 20 TE.T A.O: 5****
2008-10-03 15:12:12 [6363] [20] DEBUG: data: 18 54 4f 20 33 30 36
39 39 34 32 34 33 30 39 37 .TO 3069********"
2008-10-03 15:12:12 [6363] [20] DEBUG: Octet string dump ends.
2008-10-03 15:12:12 [6363] [20] DEBUG: SMPP PDU dump ends.
2008-10-03 15:12:12 [6363] [20] DEBUG: SMPP[SMSCID]: Got PDU:
2008-10-03 15:12:12 [6363] [20] DEBUG: SMPP PDU 0x81c9958 dump:
2008-10-03 15:12:12 [6363] [20] DEBUG: type_name: submit_sm_resp
2008-10-03 15:12:12 [6363] [20] DEBUG: command_id: 2147483652 = 0x80000004
2008-10-03 15:12:12 [6363] [20] DEBUG: command_status: 0 = 0x00000000
2008-10-03 15:12:12 [6363] [20] DEBUG: sequence_number: 20 = 0x00000014
2008-10-03 15:12:12 [6363] [20] DEBUG: message_id: "ae37264a"
2008-10-03 15:12:12 [6363] [20] DEBUG: SMPP PDU dump ends.
2008-10-03 15:12:12 [6363] [20] DEBUG: DLR[mysql]: Adding DLR
smsc=SMSCID, ts=2922849866, src=54500, dst=306994243097, mask=31,
boxc=dlrbox
2008-10-03 15:12:12 [6363] [20] DEBUG: sql: INSERT INTO dlr (smsc, ts,
source, destination, service, url, mask, boxc, status) VALUES ('SMSCID',
'2922849866', '5****', '3069********"', 'Test Froup',
'http://10.10.3.21/path/dlr.php?msgid=161919&smsc-id=%i&status=%d&answer=%A&to=%P&from=%p&ts=%t',
'31', 'dlrbox', '0');
2008-10-03 15:12:12 [6363] [20] DEBUG: SMSC[SMSCID]: creating DLR message
2008-10-03 15:12:12 [6363] [20] DEBUG: SMSC[SMSCID]: DLR =
http://10.10.3.21/path/dlr.php?msgid=161919&smsc-id=%i&status=%d&answer=%A&to=%P&from=%p&ts=%t
2008-10-03 15:12:12 [6363] [38] DEBUG: send_msg: sending msg to boxc:
<dlrbox>
2008-10-03 15:12:12 [6363] [38] DEBUG: boxc_sender: sent message to
<127.0.0.1>
2008-10-03 15:12:12 [6363] [37] DEBUG: boxc_receiver: got ack
2008-10-03 15:12:16 [6363] [20] DEBUG: SMPP[SMSCID]: Got PDU:
2008-10-03 15:12:16 [6363] [20] DEBUG: SMPP PDU 0x81c9b98 dump:
2008-10-03 15:12:16 [6363] [20] DEBUG: type_name: deliver_sm
2008-10-03 15:12:16 [6363] [20] DEBUG: command_id: 5 = 0x00000005
2008-10-03 15:12:16 [6363] [20] DEBUG: command_status: 0 = 0x00000000
2008-10-03 15:12:16 [6363] [20] DEBUG: sequence_number: 1611 = 0x0000064b
2008-10-03 15:12:16 [6363] [20] DEBUG: service_type: NULL
2008-10-03 15:12:16 [6363] [20] DEBUG: source_addr_ton: 1 = 0x00000001
2008-10-03 15:12:16 [6363] [20] DEBUG: source_addr_npi: 1 = 0x00000001
2008-10-03 15:12:16 [6363] [20] DEBUG: source_addr: "3069********"
2008-10-03 15:12:16 [6363] [20] DEBUG: dest_addr_ton: 2 = 0x00000002
2008-10-03 15:12:16 [6363] [20] DEBUG: dest_addr_npi: 1 = 0x00000001
2008-10-03 15:12:16 [6363] [20] DEBUG: destination_addr: "5****"
2008-10-03 15:12:16 [6363] [20] DEBUG: esm_class: 4 = 0x00000004
2008-10-03 15:12:16 [6363] [20] DEBUG: protocol_id: 0 = 0x00000000
2008-10-03 15:12:16 [6363] [20] DEBUG: priority_flag: 0 = 0x00000000
2008-10-03 15:12:16 [6363] [20] DEBUG: schedule_delivery_time: NULL
2008-10-03 15:12:16 [6363] [20] DEBUG: validity_period: NULL
2008-10-03 15:12:16 [6363] [20] DEBUG: registered_delivery: 0 = 0x00000000
2008-10-03 15:12:16 [6363] [20] DEBUG: replace_if_present_flag: 0 =
0x00000000
2008-10-03 15:12:16 [6363] [20] DEBUG: data_coding: 0 = 0x00000000
2008-10-03 15:12:16 [6363] [20] DEBUG: sm_default_msg_id: 0 = 0x00000000
2008-10-03 15:12:16 [6363] [20] DEBUG: sm_length: 66 = 0x00000042
2008-10-03 15:12:16 [6363] [20] DEBUG: short_message:
2008-10-03 15:12:16 [6363] [20] DEBUG: Octet string at 0x82018a8:
2008-10-03 15:12:16 [6363] [20] DEBUG: len: 66
2008-10-03 15:12:16 [6363] [20] DEBUG: size: 67
2008-10-03 15:12:16 [6363] [20] DEBUG: immutable: 0
2008-10-03 15:12:16 [6363] [20] DEBUG: data: 32 39 32 32 38 34 39
38 36 36 30 30 31 30 30 31 2922849866001001
2008-10-03 15:12:16 [6363] [20] DEBUG: data: 30 38 31 30 30 33 31
35 31 32 30 38 31 30 30 33 0810031512081003
2008-10-03 15:12:16 [6363] [20] DEBUG: data: 31 35 31 32 44 45 4c
49 56 52 44 30 30 30 54 45 1512DELIVRD000TE
2008-10-03 15:12:16 [6363] [20] DEBUG: data: 18 54 20 41 16 4f 3a
20 35 34 35 30 30 20 18 54 .T A.O: 5**** .T
2008-10-03 15:12:16 [6363] [20] DEBUG: data: 4f
20 O
2008-10-03 15:12:16 [6363] [20] DEBUG: Octet string dump ends.
2008-10-03 15:12:16 [6363] [20] DEBUG: SMPP PDU dump ends.
2008-10-03 15:12:16 [6363] [20] DEBUG: SMPP[SMSCID] handle_pdu, got DLR
2008-10-03 15:12:16 [6363] [20] DEBUG: SMPP[SMSCID]: Couldnot parse DLR
string sscanf way,fallback to old way. Please report!
2008-10-03 15:12:16 [6363] [20] ERROR: SMPP[SMSCID]: got DLR but could
not find message or was not interested in it id<> dst<3069********">,
type<2>
2008-10-03 15:12:16 [6363] [20] DEBUG: SMPP[SMSCID]: Sending PDU:
2008-10-03 15:12:16 [6363] [20] DEBUG: SMPP PDU 0x81c9cb8 dump:
2008-10-03 15:12:16 [6363] [20] DEBUG: type_name: deliver_sm_resp
2008-10-03 15:12:16 [6363] [20] DEBUG: command_id: 2147483653 = 0x80000005
2008-10-03 15:12:16 [6363] [20] DEBUG: command_status: 0 = 0x00000000
2008-10-03 15:12:16 [6363] [20] DEBUG: sequence_number: 1611 = 0x0000064b
2008-10-03 15:12:16 [6363] [20] DEBUG: message_id: NULL
2008-10-03 15:12:16 [6363] [20] DEBUG: SMPP PDU dump ends.
--
Kyriacos Sakkas
Development Team
Netsmart
Tel: + 357 22 452565
Fax: + 357 22 452566
Email: [EMAIL PROTECTED]
http://www.netsmart.com.cy
Taking Business to a New Level!
** Confidentiality Notice: The information contained in this email
message may be privileged, confidential and protected from disclosure.
If you are not the intended recipient, any dissemination, distribution,
or copying of this email message is strictly prohibited.
If you think that you have received this email message in error, please
email the sender at [EMAIL PROTECTED] **