Re: Optional parameter tags in deliver_sm SMPP pdu
"Alex Kinch" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <008701c397d3$8fd747d0$0501a8c0@alex> |
Hi Alex, See attached. Kind regards, Alex ----- Original Message ----- From: Alexander Malysh To: Alex Kinch ; [email protected] Sent: Tuesday, October 21, 2003 1:17 PM Subject: Re: Optional parameter tags in deliver_sm SMPP pdu Hi Alex, please provide a full debug log... At least SMPP PDU dump after parsing of pdu. Thanks in advance.. On Tuesday 21 October 2003 13:48, Alex Kinch wrote: > Hi, > > Just hooked up a new SMPP connection, and we're getting the following when > receiving delivery reports. Running cvs-20031020. > > Is it anything to be worried about? Don't suppose it's a v3.3 vs 3.4 issue? > > Alex > > 2003-10-21 12:42:53 [16] DEBUG: boxc_receiver: got ack > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter tag (0x001e) > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 9 > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter value (66D6EDE7) > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter tag (0x0423) > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 3 > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter value () > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter tag (0x0427) > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 1 > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter value (^B) > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter tag (0x1502) > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 16 > 2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x1502) > for PDU type (deliver_sm) received! 2003-10-21 12:42:58 [23] DEBUG: > Optional parameter tag (0x3031) > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 12337 > 2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x3031) > for PDU type (deliver_sm) received! 2003-10-21 12:42:58 [23] DEBUG: > Optional parameter tag (0x3434) > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 14136 > 2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x3434) > for PDU type (deliver_sm) received! 2003-10-21 12:42:58 [23] DEBUG: > Optional parameter tag (0x3032) > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 12336 > 2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x3032) > for PDU type (deliver_sm) received! 2003-10-21 12:42:58 [23] DEBUG: > Optional parameter tag (0x3031) > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 12338 > 2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x3031) > for PDU type (deliver_sm) received! 2003-10-21 12:42:58 [23] DEBUG: > Optional parameter tag (0x1501) > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 16 > 2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x1501) > for PDU type (deliver_sm) received! 2003-10-21 12:42:58 [23] DEBUG: > Optional parameter tag (0x3031) > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 12337 > 2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x3031) > for PDU type (deliver_sm) received! 2003-10-21 12:42:58 [23] DEBUG: > Optional parameter tag (0x3434) > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 14136 > 2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x3434) > for PDU type (deliver_sm) received! 2003-10-21 12:42:58 [23] DEBUG: > Optional parameter tag (0x3032) > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 12336 > 2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x3032) > for PDU type (deliver_sm) received! 2003-10-21 12:42:58 [23] DEBUG: > Optional parameter tag (0x3031) > 2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 12338 > 2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x3031) > for PDU type (deliver_sm) received! -- Best regards / Mit besten Grüßen aus Düsseldorf Dipl.-Ing. Alexander Malysh ___________________________________________ Centrium GmbH Vogelsanger Weg 80 40470 Düsseldorf Fon: +49 (0211) 74 84 51 80 Fax: +49 (0211) 277 49 109 email: [email protected] web: www.centrium.de msn: [email protected] icq: 98063111 ___________________________________________ Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html
kanneldebuglog.txt
(text/plain, 11.1 KB)
2003-10-21 12:42:53 [16] DEBUG: boxc_receiver: sms received
2003-10-21 12:42:53 [22] DEBUG: SMPP[XXXX]: Manually forced dest addr ton = 1, dest add npi = 1
2003-10-21 12:42:53 [22] DEBUG: SMPP[XXXX]: Sending PDU:
2003-10-21 12:42:53 [22] DEBUG: SMPP PDU 0x81b9330 dump:
2003-10-21 12:42:53 [22] DEBUG: type_name: submit_sm
2003-10-21 12:42:53 [22] DEBUG: command_id: 4 = 0x00000004
2003-10-21 12:42:53 [22] DEBUG: command_status: 0 = 0x00000000
2003-10-21 12:42:53 [22] DEBUG: sequence_number: 48 = 0x00000030
2003-10-21 12:42:53 [22] DEBUG: service_type: NULL
2003-10-21 12:42:53 [22] DEBUG: source_addr_ton: 2 = 0x00000002
2003-10-21 12:42:53 [22] DEBUG: source_addr_npi: 1 = 0x00000001
2003-10-21 12:42:53 [22] DEBUG: source_addr: "[deleted]"
2003-10-21 12:42:53 [22] DEBUG: dest_addr_ton: 1 = 0x00000001
2003-10-21 12:42:53 [22] DEBUG: dest_addr_npi: 1 = 0x00000001
2003-10-21 12:42:53 [22] DEBUG: destination_addr: "[deleted]"
2003-10-21 12:42:53 [22] DEBUG: esm_class: 3 = 0x00000003
2003-10-21 12:42:53 [22] DEBUG: protocol_id: 0 = 0x00000000
2003-10-21 12:42:53 [22] DEBUG: priority_flag: 0 = 0x00000000
2003-10-21 12:42:53 [22] DEBUG: schedule_delivery_time: NULL
2003-10-21 12:42:53 [22] DEBUG: validity_period: NULL
2003-10-21 12:42:53 [22] DEBUG: registered_delivery: 1 = 0x00000001
2003-10-21 12:42:53 [22] DEBUG: replace_if_present_flag: 0 = 0x00000000
2003-10-21 12:42:53 [22] DEBUG: data_coding: 0 = 0x00000000
2003-10-21 12:42:53 [22] DEBUG: sm_default_msg_id: 0 = 0x00000000
2003-10-21 12:42:53 [22] DEBUG: sm_length: 11 = 0x0000000b
2003-10-21 12:42:53 [22] DEBUG: short_message: "Test of DLR"
2003-10-21 12:42:53 [22] DEBUG: SMPP PDU dump ends.
2003-10-21 12:42:53 [20] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2003-10-21 12:42:53 [20] DEBUG: boxc_sender: sent message to <127.0.0.1>
2003-10-21 12:42:53 [22] DEBUG: SMPP[XXXX]: Got PDU:
2003-10-21 12:42:53 [22] DEBUG: SMPP PDU 0x81b85c0 dump:
2003-10-21 12:42:53 [22] DEBUG: type_name: submit_sm_resp
2003-10-21 12:42:53 [22] DEBUG: command_id: 2147483652 = 0x80000004
2003-10-21 12:42:53 [22] DEBUG: command_status: 0 = 0x00000000
2003-10-21 12:42:53 [22] DEBUG: sequence_number: 48 = 0x00000030
2003-10-21 12:42:53 [22] DEBUG: message_id: "03B9A402"
2003-10-21 12:42:53 [22] DEBUG: SMPP PDU dump ends.
2003-10-21 12:42:53 [22] DEBUG: DLR[mysql]: Adding DLR smsc=XXXX, ts=62497794, src=[deleted], dst=[deleted], mask=31, boxc=
2003-10-21 12:42:53 [22] DEBUG: sql: INSERT INTO dlr (smsc, ts, source, destination, service, url, mask, boxc, status) VALUES ('XXXX', '62497794', '[deleted]', '[deleted]', 'tester', 'http://[deleted]?messageid=10171&messagestatus=%d', '31', '', '0');
2003-10-21 12:42:53 [22] DEBUG: SMSC[XXXX]: creating DLR message
2003-10-21 12:42:53 [22] DEBUG: SMSC[XXXX]: DLR = http://[deleted]?messageid=10171&messagestatus=%d
2003-10-21 12:42:53 [1] DEBUG: Dumping 1 messages and 0 acks to store
2003-10-21 12:42:53 [20] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2003-10-21 12:42:53 [20] DEBUG: boxc_sender: sent message to <127.0.0.1>
2003-10-21 12:42:53 [16] DEBUG: boxc_receiver: got ack
2003-10-21 12:42:58 [23] DEBUG: Optional parameter tag (0x001e)
2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 9
2003-10-21 12:42:58 [23] DEBUG: Optional parameter value (66D6EDE7)
2003-10-21 12:42:58 [23] DEBUG: Optional parameter tag (0x0423)
2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 3
2003-10-21 12:42:58 [23] DEBUG: Optional parameter value ()
2003-10-21 12:42:58 [23] DEBUG: Optional parameter tag (0x0427)
2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 1
2003-10-21 12:42:58 [23] DEBUG: Optional parameter value ( )
2003-10-21 12:42:58 [23] DEBUG: Optional parameter tag (0x1502)
2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 16
2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x1502) for PDU type (deliver_sm) received!
2003-10-21 12:42:58 [23] DEBUG: Optional parameter tag (0x3031)
2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 12337
2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x3031) for PDU type (deliver_sm) received!
2003-10-21 12:42:58 [23] DEBUG: Optional parameter tag (0x3434)
2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 14136
2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x3434) for PDU type (deliver_sm) received!
2003-10-21 12:42:58 [23] DEBUG: Optional parameter tag (0x3032)
2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 12336
2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x3032) for PDU type (deliver_sm) received!
2003-10-21 12:42:58 [23] DEBUG: Optional parameter tag (0x3031)
2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 12338
2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x3031) for PDU type (deliver_sm) received!
2003-10-21 12:42:58 [23] DEBUG: Optional parameter tag (0x1501)
2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 16
2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x1501) for PDU type (deliver_sm) received!
2003-10-21 12:42:58 [23] DEBUG: Optional parameter tag (0x3031)
2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 12337
2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x3031) for PDU type (deliver_sm) received!
2003-10-21 12:42:58 [23] DEBUG: Optional parameter tag (0x3434)
2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 14136
2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x3434) for PDU type (deliver_sm) received!
2003-10-21 12:42:58 [23] DEBUG: Optional parameter tag (0x3032)
2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 12336
2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x3032) for PDU type (deliver_sm) received!
2003-10-21 12:42:58 [23] DEBUG: Optional parameter tag (0x3031)
2003-10-21 12:42:58 [23] DEBUG: Optional parameter length read as 12338
2003-10-21 12:42:58 [23] ERROR: SMPP: Unknown optional parameter (0x3031) for PDU type (deliver_sm) received!
2003-10-21 12:42:58 [23] DEBUG: SMPP[XXXX]: Got PDU:
2003-10-21 12:42:58 [23] DEBUG: SMPP PDU 0x81b86b8 dump:
2003-10-21 12:42:58 [23] DEBUG: type_name: deliver_sm
2003-10-21 12:42:58 [23] DEBUG: command_id: 5 = 0x00000005
2003-10-21 12:42:58 [23] DEBUG: command_status: 0 = 0x00000000
2003-10-21 12:42:58 [23] DEBUG: sequence_number: 5 = 0x00000005
2003-10-21 12:42:58 [23] DEBUG: service_type: "NOREP"
2003-10-21 12:42:58 [23] DEBUG: source_addr_ton: 1 = 0x00000001
2003-10-21 12:42:58 [23] DEBUG: source_addr_npi: 1 = 0x00000001
2003-10-21 12:42:58 [23] DEBUG: source_addr: "[deleted]"
2003-10-21 12:42:58 [23] DEBUG: dest_addr_ton: 2 = 0x00000002
2003-10-21 12:42:58 [23] DEBUG: dest_addr_npi: 1 = 0x00000001
2003-10-21 12:42:58 [23] DEBUG: destination_addr: "[deleted]"
2003-10-21 12:42:58 [23] DEBUG: esm_class: 4 = 0x00000004
2003-10-21 12:42:58 [23] DEBUG: protocol_id: 0 = 0x00000000
2003-10-21 12:42:58 [23] DEBUG: priority_flag: 0 = 0x00000000
2003-10-21 12:42:58 [23] DEBUG: schedule_delivery_time: NULL
2003-10-21 12:42:58 [23] DEBUG: validity_period: NULL
2003-10-21 12:42:58 [23] DEBUG: registered_delivery: 0 = 0x00000000
2003-10-21 12:42:58 [23] DEBUG: replace_if_present_flag: 0 = 0x00000000
2003-10-21 12:42:58 [23] DEBUG: data_coding: 0 = 0x00000000
2003-10-21 12:42:58 [23] DEBUG: sm_default_msg_id: 0 = 0x00000000
2003-10-21 12:42:58 [23] DEBUG: sm_length: 113 = 0x00000071
2003-10-21 12:42:58 [23] DEBUG: short_message:
2003-10-21 12:42:58 [23] DEBUG: Octet string at 0x81b8848:
2003-10-21 12:42:58 [23] DEBUG: len: 113
2003-10-21 12:42:58 [23] DEBUG: size: 114
2003-10-21 12:42:58 [23] DEBUG: immutable: 0
2003-10-21 12:42:58 [23] DEBUG: data: 69 64 3a 30 30 36 32 34 39 37 37 39 34 20 73 75 id:0062497794 su
2003-10-21 12:42:58 [23] DEBUG: data: 62 3a 30 30 31 20 64 6c 76 72 64 3a 30 30 31 20 b:001 dlvrd:001
2003-10-21 12:42:58 [23] DEBUG: data: 73 75 62 6d 69 74 20 64 61 74 65 3a 30 33 31 30 submit date:0310
2003-10-21 12:42:58 [23] DEBUG: data: 32 31 31 32 34 32 20 64 6f 6e 65 20 64 61 74 65 211242 done date
2003-10-21 12:42:58 [23] DEBUG: data: 3a 30 33 31 30 32 31 31 32 34 32 20 73 74 61 74 :0310211242 stat
2003-10-21 12:42:58 [23] DEBUG: data: 3a 44 45 4c 49 56 52 44 20 65 72 72 3a 30 30 30 :DELIVRD err:000
2003-10-21 12:42:58 [23] DEBUG: data: 20 74 65 78 74 3a 54 65 73 74 20 6f 66 20 44 4c text:Test of DL
2003-10-21 12:42:58 [23] DEBUG: data: 52 R
2003-10-21 12:42:58 [23] DEBUG: Octet string dump ends.
2003-10-21 12:42:58 [23] DEBUG: SMPP_network_error_code:
2003-10-21 12:42:58 [23] DEBUG: Octet string at 0x81b9c38:
2003-10-21 12:42:58 [23] DEBUG: len: 3
2003-10-21 12:42:58 [23] DEBUG: size: 4
2003-10-21 12:42:58 [23] DEBUG: immutable: 0
2003-10-21 12:42:58 [23] DEBUG: data: 00 00 00 ...
2003-10-21 12:42:58 [23] DEBUG: Octet string dump ends.
2003-10-21 12:42:58 [23] DEBUG: SMPP_message_state:
2003-10-21 12:42:58 [23] DEBUG: Octet string at 0x81b8950:
2003-10-21 12:42:58 [23] DEBUG: len: 1
2003-10-21 12:42:58 [23] DEBUG: size: 2
2003-10-21 12:42:58 [23] DEBUG: immutable: 0
2003-10-21 12:42:58 [23] DEBUG: data: 02 .
2003-10-21 12:42:58 [23] DEBUG: Octet string dump ends.
2003-10-21 12:42:58 [23] DEBUG: SMPP_receipted_message_id:
2003-10-21 12:42:58 [23] DEBUG: Octet string at 0x81b8860:
2003-10-21 12:42:58 [23] DEBUG: len: 9
2003-10-21 12:42:58 [23] DEBUG: size: 10
2003-10-21 12:42:58 [23] DEBUG: immutable: 0
2003-10-21 12:42:58 [23] DEBUG: data: 36 36 44 36 45 44 45 37 00 66D6EDE7.
2003-10-21 12:42:58 [23] DEBUG: Octet string dump ends.
2003-10-21 12:42:58 [23] DEBUG: SMPP PDU dump ends.
2003-10-21 12:42:58 [23] DEBUG: SMPP[XXXX] handle_pdu, got DLR
2003-10-21 12:42:58 [23] DEBUG: DLR[mysql]: Looking for DLR smsc=XXXX, ts=62497794, dst=[deleted], type=1
2003-10-21 12:42:58 [23] DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM dlr WHERE smsc='XXXX' AND ts='62497794';
2003-10-21 12:42:58 [23] DEBUG: Found entry, row[0]=31, row[1]=tester, row[2]=http://[deleted]?messageid=10171&messagestatus=%d, row[3]=[deleted], row[4]=[deleted] row[5]=
2003-10-21 12:42:58 [23] DEBUG: DLR[mysql]: created DLR message for URL <http://[deleted]?messageid=10171&messagestatus=%d>
2003-10-21 12:42:58 [23] DEBUG: removing DLR from database
2003-10-21 12:42:58 [23] DEBUG: sql: DELETE FROM dlr WHERE smsc='XXXX' AND ts='62497794' LIMIT 1;
2003-10-21 12:42:58 [23] DEBUG: SMPP[XXXX]: Sending PDU:
2003-10-21 12:42:58 [23] DEBUG: SMPP PDU 0x81bb120 dump:
2003-10-21 12:42:58 [23] DEBUG: type_name: deliver_sm_resp
2003-10-21 12:42:58 [23] DEBUG: command_id: 2147483653 = 0x80000005
2003-10-21 12:42:58 [23] DEBUG: command_status: 0 = 0x00000000
2003-10-21 12:42:58 [23] DEBUG: sequence_number: 5 = 0x00000005
2003-10-21 12:42:58 [23] DEBUG: message_id: NULL
2003-10-21 12:42:58 [23] DEBUG: SMPP PDU dump ends.