Weird DLRs coming from smsc

Robert Molnar robert.molnar at mettron.si
Tue Nov 17 13:31:37 CET 2009


Hi,
 
I've got Please report! in my bearerbox.log so here is the part of the
DLR that is giving me troubles. It looks like message_payload doesn't
conform to snmpp 3.4 (id:? sub: ... etc) but it only contains message id
and some status, will have to check what that status is, but here are
log files if they make any more sense to you.
 
Best regards, Robert Molnar
 
 
bearerbox.log excerpt
 
2009-11-16 12:16:27 [21455] [6] DEBUG: SMPP[SMSC]: Sending PDU:
2009-11-16 12:16:27 [21455] [6] DEBUG: SMPP PDU 0x1c087690 dump:
2009-11-16 12:16:27 [21455] [6] DEBUG:   type_name: submit_sm
2009-11-16 12:16:27 [21455] [6] DEBUG:   command_id: 4 = 0x00000004
2009-11-16 12:16:27 [21455] [6] DEBUG:   command_status: 0 = 0x00000000
2009-11-16 12:16:27 [21455] [6] DEBUG:   sequence_number: 14 =
0x0000000e
2009-11-16 12:16:27 [21455] [6] DEBUG:   service_type: NULL
2009-11-16 12:16:27 [21455] [6] DEBUG:   source_addr_ton: 2 = 0x00000002
2009-11-16 12:16:27 [21455] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2009-11-16 12:16:27 [21455] [6] DEBUG:   source_addr: "..."
2009-11-16 12:16:27 [21455] [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
2009-11-16 12:16:27 [21455] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2009-11-16 12:16:27 [21455] [6] DEBUG:   destination_addr: "..."
2009-11-16 12:16:27 [21455] [6] DEBUG:   esm_class: 3 = 0x00000003
2009-11-16 12:16:27 [21455] [6] DEBUG:   protocol_id: 0 = 0x00000000
2009-11-16 12:16:27 [21455] [6] DEBUG:   priority_flag: 0 = 0x00000000
2009-11-16 12:16:27 [21455] [6] DEBUG:   schedule_delivery_time: NULL
2009-11-16 12:16:27 [21455] [6] DEBUG:   validity_period: NULL
2009-11-16 12:16:27 [21455] [6] DEBUG:   registered_delivery: 1 =
0x00000001
2009-11-16 12:16:27 [21455] [6] DEBUG:   replace_if_present_flag: 0 =
0x00000000
2009-11-16 12:16:27 [21455] [6] DEBUG:   data_coding: 4 = 0x00000004
2009-11-16 12:16:27 [21455] [6] DEBUG:   sm_default_msg_id: 0 =
0x00000000
2009-11-16 12:16:27 [21455] [6] DEBUG:   sm_length: 8 = 0x00000008
2009-11-16 12:16:27 [21455] [6] DEBUG:   short_message: "test"
2009-11-16 12:16:27 [21455] [6] DEBUG: SMPP PDU dump ends.
2009-11-16 12:16:28 [21455] [6] DEBUG: SMPP[SMSC]: Got PDU:
2009-11-16 12:16:28 [21455] [6] DEBUG: SMPP PDU 0x1c087690 dump:
2009-11-16 12:16:28 [21455] [6] DEBUG:   type_name: submit_sm_resp
2009-11-16 12:16:28 [21455] [6] DEBUG:   command_id: 2147483652 =
0x80000004
2009-11-16 12:16:28 [21455] [6] DEBUG:   command_status: 0 = 0x00000000
2009-11-16 12:16:28 [21455] [6] DEBUG:   sequence_number: 14 =
0x0000000e
2009-11-16 12:16:28 [21455] [6] DEBUG:   message_id: "1D88A188"
2009-11-16 12:16:28 [21455] [6] DEBUG: SMPP PDU dump ends.
2009-11-16 12:16:28 [21455] [6] DEBUG: DLR[pgsql]: Adding DLR smsc=SMSC,
ts=495493512, src=..., dst=..., mask=31, boxc=
2009-11-16 12:16:28 [21455] [6] DEBUG: sql: INSERT INTO dlr (smsc, ts,
source, destination, service, url, mask, boxc, status) VALUES ...
2009-11-16 12:16:28 [21455] [6] DEBUG: SMSC[SMSC]: creating DLR message
2009-11-16 12:16:28 [21455] [6] DEBUG: SMSC[SMSC]: DLR = http://1
<http://1> ...
2009-11-16 12:16:28 [21455] [14] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2009-11-16 12:16:28 [21455] [14] DEBUG: boxc_sender: sent message to
<127.0.0.1>
2009-11-16 12:16:28 [21455] [13] DEBUG: boxc_receiver: got ack
2009-11-16 12:16:31 [21455] [6] DEBUG: Optional parameter tag (0x0424)
2009-11-16 12:16:31 [21455] [6] DEBUG: Optional parameter length read as
12
2009-11-16 12:16:31 [21455] [6] DEBUG: SMPP[SMSC]: Got PDU:
2009-11-16 12:16:31 [21455] [6] DEBUG: SMPP PDU 0x1c093e90 dump:
2009-11-16 12:16:31 [21455] [6] DEBUG:   type_name: data_sm
2009-11-16 12:16:31 [21455] [6] DEBUG:   command_id: 259 = 0x00000103
2009-11-16 12:16:31 [21455] [6] DEBUG:   command_status: 0 = 0x00000000
2009-11-16 12:16:31 [21455] [6] DEBUG:   sequence_number: 1 = 0x00000001
2009-11-16 12:16:31 [21455] [6] DEBUG:   service_type: NULL
2009-11-16 12:16:31 [21455] [6] DEBUG:   source_addr_ton: 1 = 0x00000001
2009-11-16 12:16:31 [21455] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2009-11-16 12:16:31 [21455] [6] DEBUG:   source_addr: "..."
2009-11-16 12:16:31 [21455] [6] DEBUG:   dest_addr_ton: 2 = 0x00000002
2009-11-16 12:16:31 [21455] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2009-11-16 12:16:31 [21455] [6] DEBUG:   destination_addr: "..."
2009-11-16 12:16:31 [21455] [6] DEBUG:   esm_class: 4 = 0x00000004
2009-11-16 12:16:31 [21455] [6] DEBUG:   registered_delivery: 0 =
0x00000000
2009-11-16 12:16:31 [21455] [6] DEBUG:   data_coding: 0 = 0x00000000
2009-11-16 12:16:31 [21455] [6] DEBUG:   message_payload: "1D88A188 201"
2009-11-16 12:16:31 [21455] [6] DEBUG: SMPP PDU dump ends.
2009-11-16 12:16:31 [21455] [6] DEBUG: SMPP[SMSC] handle_pdu, got DLR
2009-11-16 12:16:31 [21455] [6] DEBUG: SMPP[SMSC]: Couldnot parse DLR
string sscanf way,fallback to old way. Please report!
2009-11-16 12:16:31 [21455] [6] ERROR: SMPP[SMSC]: got DLR but could not
find message or was not interested in it id<> dst<...>, type<2>
2009-11-16 12:16:31 [21455] [6] DEBUG: SMPP[SMSC]: Sending PDU:
2009-11-16 12:16:31 [21455] [6] DEBUG: SMPP PDU 0x1c0933e0 dump:
2009-11-16 12:16:31 [21455] [6] DEBUG:   type_name: data_sm_resp
2009-11-16 12:16:31 [21455] [6] DEBUG:   command_id: 2147483907 =
0x80000103
2009-11-16 12:16:31 [21455] [6] DEBUG:   command_status: 0 = 0x00000000
2009-11-16 12:16:31 [21455] [6] DEBUG:   sequence_number: 1 = 0x00000001
2009-11-16 12:16:31 [21455] [6] DEBUG:   message_id: NULL
2009-11-16 12:16:31 [21455] [6] DEBUG: SMPP PDU dump ends.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.kannel.org/pipermail/devel-reports/attachments/20091117/b18d3db4/attachment.html>


More information about the devel-reports mailing list