Yes, I see that the short_message param is empty and its all in optional parameters. I would like to use 3.4 because I can use transceiver-mode=true. The SMSC people have been moaning about me using 2 connections per large account connection and want me only to use 1. My initial tests have shown that the transceiver mode works ok.. But smpp 3.4 broke the delivery reports...
So, before I go and fix the parsing of optional params (at least the ones I need). Do you know of any reasons why I should NOT use the transceiver-mode = true .. Or any other SMPP 3.4 gottchas! Many thanks mike > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Malysh > Sent: Monday, February 02, 2004 2:48 PM > To: [EMAIL PROTECTED] > Subject: Re: Delivery reports not working in latest CVS using > SMPP 3.4 tologica SMSC > > > Hi, > > kannel doesn't process optional params, those will be parsed but not > processed... so you have 2 options: > 1) implement and fix parsing optional params in kannel (e.g. > when integer > should be packed kannel _must_ use bigendian) > 2) stay using v.3.3. > > On Monday 02 February 2004 13:21, DILWORTH MICHAEL wrote: > > Hi all > > > > I have just tried to upgrade the SMPP version from 3.3 to > 3.4 in our > > connection to a logica SMSC. Prior to this delivery reports were > > working ok. Now they are broke :( > > > > I think perhaps this may be of interest to the list, so please find > > attached the debug output > > > > > > As you can see we do get the DLR, but then it fails to get the id > > ..etc .. Etc.. > > > > Hope this helps > > > > mike > > > > > > 2004-02-02 13:49:06 [25671] [76] DEBUG: SMPP[single253]: Manually > > forced source addr ton = 0, source add npi = 5 2004-02-02 13:49:06 > > [25671] [76] DEBUG: SMPP[single253]: Manually forced dest > addr ton = > > 2, dest add npi = 1 2004-02-02 13:49:06 [25671] [76] DEBUG: > > SMPP[single253]: Sending PDU: 2004-02-02 13:49:06 [25671] > [76] DEBUG: > > SMPP PDU 0x405005b0 dump: > > 2004-02-02 13:49:06 [25671] [76] DEBUG: type_name: submit_sm > > 2004-02-02 13:49:06 [25671] [76] DEBUG: command_id: 4 = 0x00000004 > > 2004-02-02 13:49:06 [25671] [76] DEBUG: command_status: 0 > = 0x00000000 > > 2004-02-02 13:49:06 [25671] [76] DEBUG: sequence_number: 5 = > > 0x00000005 > > 2004-02-02 13:49:06 [25671] [76] DEBUG: service_type: NULL > > 2004-02-02 13:49:06 [25671] [76] DEBUG: source_addr_ton: 0 = > > 0x00000000 > > 2004-02-02 13:49:06 [25671] [76] DEBUG: source_addr_npi: 5 = > > 0x00000005 > > 2004-02-02 13:49:06 [25671] [76] DEBUG: source_addr: "666" > > 2004-02-02 13:49:06 [25671] [76] DEBUG: dest_addr_ton: 2 > = 0x00000002 > > 2004-02-02 13:49:06 [25671] [76] DEBUG: dest_addr_npi: 1 > = 0x00000001 > > 2004-02-02 13:49:06 [25671] [76] DEBUG: destination_addr: > "6932333437" > > 2004-02-02 13:49:06 [25671] [76] DEBUG: esm_class: 3 = 0x00000003 > > 2004-02-02 13:49:06 [25671] [76] DEBUG: protocol_id: 0 = > 0x00000000 > > 2004-02-02 13:49:06 [25671] [76] DEBUG: priority_flag: 0 > = 0x00000000 > > 2004-02-02 13:49:06 [25671] [76] DEBUG: > schedule_delivery_time: NULL > > 2004-02-02 13:49:06 [25671] [76] DEBUG: validity_period: NULL > > 2004-02-02 13:49:06 [25671] [76] DEBUG: registered_delivery: 1 = > > 0x00000001 > > 2004-02-02 13:49:06 [25671] [76] DEBUG: > replace_if_present_flag: 0 = > > 0x00000000 > > 2004-02-02 13:49:06 [25671] [76] DEBUG: data_coding: 0 = > 0x00000000 > > 2004-02-02 13:49:06 [25671] [76] DEBUG: sm_default_msg_id: 0 = > > 0x00000000 > > 2004-02-02 13:49:06 [25671] [76] DEBUG: sm_length: 3 = 0x00000003 > > 2004-02-02 13:49:06 [25671] [76] DEBUG: short_message: "foo" > > 2004-02-02 13:49:06 [25671] [76] DEBUG: SMPP PDU dump ends. > 2004-02-02 > > 13:49:06 [25671] [76] DEBUG: SMPP[single253]: Got PDU: 2004-02-02 > > 13:49:06 [25671] [76] DEBUG: SMPP PDU 0x405005d0 dump: > > 2004-02-02 13:49:06 [25671] [76] DEBUG: type_name: submit_sm_resp > > 2004-02-02 13:49:06 [25671] [76] DEBUG: command_id: 2147483652 = > > 0x80000004 > > 2004-02-02 13:49:06 [25671] [76] DEBUG: command_status: 0 > = 0x00000000 > > 2004-02-02 13:49:06 [25671] [76] DEBUG: sequence_number: 5 = > > 0x00000005 > > 2004-02-02 13:49:06 [25671] [76] DEBUG: message_id: "5aa1c5b5" > > 2004-02-02 13:49:06 [25671] [76] DEBUG: SMPP PDU dump ends. > 2004-02-02 > > 13:49:06 [25671] [76] DEBUG: DLR[mysql]: Adding DLR smsc=single253, > > ts=1520551349, src=666, dst=6932333437, mask =3, boxc= > > 2004-02-02 13:49:06 [25671] [76] DEBUG: sql: INSERT INTO dlr (smsc, > > timestamp, source, destination, service, url, mask, box > > c, status) VALUES ('single253', '1520551349', '666', '6932333437', > > 'kannel', '', '3', '', '0'); > > 2004-02-02 13:49:06 [25592] [1] DEBUG: Dumping 0 messages > and 0 acks to > > store > > 2004-02-02 13:49:10 [25671] [76] DEBUG: Optional parameter > tag (0x001e) > > 2004-02-02 13:49:10 [25671] [76] DEBUG: Optional parameter > length read > > as 9 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: Optional parameter value > > (5aa1c5b5) > > 2004-02-02 13:49:10 [25671] [76] DEBUG: Optional parameter > tag (0x0427) > > 2004-02-02 13:49:10 [25671] [76] DEBUG: Optional parameter > length read > > as 1 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: Optional parameter > value (^B) > > 2004-02-02 13:49:10 [25671] [76] DEBUG: Optional parameter > tag (0x0424) > > 2004-02-02 13:49:10 [25671] [76] DEBUG: Optional parameter > length read > > as 105 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: Optional parameter value > > (id:1520551349 sub:001 dlvrd:001 submit date:0402021348 do > > ne date:0402021348 stat:DELIVRD err:000 text:foo) > > 2004-02-02 13:49:10 [25671] [76] DEBUG: SMPP[single253]: Got PDU: > > 2004-02-02 13:49:10 [25671] [76] DEBUG: SMPP PDU 0x40500678 dump: > > 2004-02-02 13:49:10 [25671] [76] DEBUG: type_name: deliver_sm > > 2004-02-02 13:49:10 [25671] [76] DEBUG: command_id: 5 = 0x00000005 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: command_status: 0 > = 0x00000000 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: sequence_number: 1 = > > 0x00000001 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: service_type: NULL > > 2004-02-02 13:49:10 [25671] [76] DEBUG: source_addr_ton: 2 = > > 0x00000002 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: source_addr_npi: 1 = > > 0x00000001 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: source_addr: "6932333437" > > 2004-02-02 13:49:10 [25671] [76] DEBUG: dest_addr_ton: 0 > = 0x00000000 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: dest_addr_npi: 9 > = 0x00000009 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: destination_addr: "666" > > 2004-02-02 13:49:10 [25671] [76] DEBUG: esm_class: 4 = 0x00000004 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: protocol_id: 0 = > 0x00000000 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: priority_flag: 0 > = 0x00000000 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: > schedule_delivery_time: NULL > > 2004-02-02 13:49:10 [25671] [76] DEBUG: validity_period: NULL > > 2004-02-02 13:49:10 [25671] [76] DEBUG: registered_delivery: 0 = > > 0x00000000 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: > replace_if_present_flag: 0 = > > 0x00000000 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: data_coding: 0 = > 0x00000000 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: sm_default_msg_id: 0 = > > 0x00000000 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: sm_length: 0 = 0x00000000 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: short_message: "" > > 2004-02-02 13:49:10 [25671] [76] DEBUG: SMPP_message_payload: > > 2004-02-02 13:49:10 [25671] [76] DEBUG: tag: 0x0424 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: length: 0x0069 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: value: > > 2004-02-02 13:49:10 [25671] [76] DEBUG: Octet string at > 0x405009c8: > > 2004-02-02 13:49:10 [25671] [76] DEBUG: len: 105 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: size: 106 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: immutable: 0 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: data: 69 64 3a > 31 35 32 30 > > 35 35 31 33 34 39 20 73 75 id:1520551349 su > > 2004-02-02 13:49:10 [25671] [76] DEBUG: data: 62 3a 30 > 30 31 20 64 > > 6c 76 72 64 3a 30 30 31 20 b:001 dlvrd:001 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: data: 73 75 62 > 6d 69 74 20 > > 64 61 74 65 3a 30 34 30 32 submit date:0402 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: data: 30 32 31 > 33 34 38 20 > > 64 6f 6e 65 20 64 61 74 65 021348 done date > > 2004-02-02 13:49:10 [25671] [76] DEBUG: data: 3a 30 34 > 30 32 30 32 > > 31 33 34 38 20 73 74 61 74 :0402021348 stat > > 2004-02-02 13:49:10 [25671] [76] DEBUG: data: 3a 44 45 > 4c 49 56 52 > > 44 20 65 72 72 3a 30 30 30 :DELIVRD err:000 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: data: 20 74 65 > 78 74 3a 66 > > 6f 6f text:foo > > 2004-02-02 13:49:10 [25671] [76] DEBUG: Octet string dump ends. > > 2004-02-02 13:49:10 [25671] [76] DEBUG: SMPP_message_state: > > 2004-02-02 13:49:10 [25671] [76] DEBUG: tag: 0x0427 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: length: 0x0001 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: value: > > 2004-02-02 13:49:10 [25671] [76] DEBUG: Octet string at > 0x405008d8: > > 2004-02-02 13:49:10 [25671] [76] DEBUG: len: 1 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: size: 2 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: immutable: 0 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: data: 02 > > . > > 2004-02-02 13:49:10 [25671] [76] DEBUG: Octet string dump ends. > > 2004-02-02 13:49:10 [25671] [76] DEBUG: SMPP_receipted_message_id: > > 2004-02-02 13:49:10 [25671] [76] DEBUG: tag: 0x001e > > 2004-02-02 13:49:10 [25671] [76] DEBUG: length: 0x0009 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: value: > > 2004-02-02 13:49:10 [25671] [76] DEBUG: Octet string at > 0x405008c0: > > 2004-02-02 13:49:10 [25671] [76] DEBUG: len: 9 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: size: 10 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: immutable: 0 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: data: 35 61 61 > 31 63 35 62 > > 35 00 5aa1c5b5. > > 2004-02-02 13:49:10 [25671] [76] DEBUG: Octet string dump ends. > > 2004-02-02 13:49:10 [25671] [76] DEBUG: SMPP PDU dump ends. > > 2004-02-02 13:49:10 [25671] [76] DEBUG: SMPP[single253] > handle_pdu, got > > DLR > > 2004-02-02 13:49:10 [25671] [76] ERROR: SMPP[single253]: got DLR but > > could not find message or was not interested in it > > 2004-02-02 13:49:10 [25671] [76] DEBUG: SMPP[single253]: > Sending PDU: > > 2004-02-02 13:49:10 [25671] [76] DEBUG: SMPP PDU 0x405005c8 dump: > > 2004-02-02 13:49:10 [25671] [76] DEBUG: type_name: deliver_sm_resp > > 2004-02-02 13:49:10 [25671] [76] DEBUG: command_id: 2147483653 = > > 0x80000005 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: command_status: 0 > = 0x00000000 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: sequence_number: 1 = > > 0x00000001 > > 2004-02-02 13:49:10 [25671] [76] DEBUG: message_id: NULL > > 2004-02-02 13:49:10 [25671] [76] DEBUG: SMPP PDU dump ends. > > -- > 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, Excel or PowerPoint > attachments. See > http://www.fsf.org/philosophy/no-word-> attachments.html > > >
