Problem with catenated messages!

"Sasko Celakovski" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi,

 

I have problem sending long, concatenated, messages from Kannel to Comverse
SMSC. When I send message longer then 160 characters (from the sendsms page)
the text that I receive on the phone is all messed up. It seems that some
coding conversion is wrong. 

I have tried Kannel 1.3.1 (development version) and applied some changes
that I found on dev-list to msg_to_pdu function in smsc_smpp.c. I have also
downloaded and tested snapshot version of the code from 18.05.2004 but the
problem seems to remain even there. 

The message seems to be pack well in the PDUs. The log file (see it below)
indicates that the message is divided correctly and that UDH is appended
correctly as well (05 00 03 xx xx xx). I'm not sure if this problem is due
to the Kannel's coding mechanism or due to a settings (maybe some
configuration parameter) or problems on the SMSC side. 

 

Please let me know if you had such experience.

 

2004-05-13 14:20:34 [6] DEBUG: SMPP[smsc1a]: Sending PDU:

2004-05-13 14:20:34 [6] DEBUG: SMPP PDU 0x80f3848 dump:

2004-05-13 14:20:34 [6] DEBUG:   type_name: submit_sm

2004-05-13 14:20:34 [6] DEBUG:   command_id: 4 = 0x00000004

2004-05-13 14:20:34 [6] DEBUG:   command_status: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   sequence_number: 2 = 0x00000002

2004-05-13 14:20:34 [6] DEBUG:   service_type: NULL

2004-05-13 14:20:34 [6] DEBUG:   source_addr_ton: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   source_addr_npi: 1 = 0x00000001

2004-05-13 14:20:34 [6] DEBUG:   source_addr: "TESTERA"

2004-05-13 14:20:34 [6] DEBUG:   dest_addr_ton: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   dest_addr_npi: 1 = 0x00000001

2004-05-13 14:20:34 [6] DEBUG:   destination_addr: "075400646"

2004-05-13 14:20:34 [6] DEBUG:   esm_class: 67 = 0x00000043

2004-05-13 14:20:34 [6] DEBUG:   protocol_id: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   priority_flag: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   schedule_delivery_time: NULL

2004-05-13 14:20:34 [6] DEBUG:   validity_period: NULL

2004-05-13 14:20:34 [6] DEBUG:   registered_delivery: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   data_coding: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   sm_length: 159 = 0x0000009f

2004-05-13 14:20:34 [6] DEBUG:   short_message:

2004-05-13 14:20:34 [6] DEBUG:    Octet string at 0x80f38f8:

2004-05-13 14:20:34 [6] DEBUG:      len:  159

2004-05-13 14:20:34 [6] DEBUG:      size: 160

2004-05-13 14:20:34 [6] DEBUG:      immutable: 0

2004-05-13 14:20:34 [6] DEBUG:      data: 05 00 03 00 02 01 68 65   ......he

2004-05-13 14:20:34 [6] DEBUG:      data: 6c 6c 6f 20 77 6f 72 6c   llo worl

2004-05-13 14:20:34 [6] DEBUG:      data: 64 20 68 65 6c 6c 6f 20   d hello

2004-05-13 14:20:34 [6] DEBUG:      data: 77 6f 72 6c 64 20 68 65   world he

2004-05-13 14:20:34 [6] DEBUG:      data: 6c 6c 6f 20 77 6f 72 6c   llo worl

2004-05-13 14:20:34 [6] DEBUG:      data: 64 20 68 65 6c 6c 6f 20   d hello

2004-05-13 14:20:34 [6] DEBUG:      data: 77 6f 72 6c 64 20 68 65   world he

2004-05-13 14:20:34 [6] DEBUG:      data: 6c 6c 6f 20 77 6f 72 6c   llo worl

2004-05-13 14:20:34 [6] DEBUG:      data: 64 20 68 65 6c 6c 6f 20   d hello

2004-05-13 14:20:34 [6] DEBUG:      data: 77 6f 72 6c 64 20 68 65   world he

2004-05-13 14:20:34 [6] DEBUG:      data: 6c 6c 6f 20 77 6f 72 6c   llo worl

2004-05-13 14:20:34 [6] DEBUG:      data: 64 20 68 65 6c 6c 6f 20   d hello

2004-05-13 14:20:34 [6] DEBUG:      data: 77 6f 72 6c 64 20 68 65   world he

2004-05-13 14:20:34 [6] DEBUG:      data: 6c 6c 6f 20 77 6f 72 6c   llo worl

2004-05-13 14:20:34 [6] DEBUG:      data: 64 20 68 65 6c 6c 6f 20   d hello

2004-05-13 14:20:34 [6] DEBUG:      data: 77 6f 72 6c 64 20 68 65   world he

2004-05-13 14:20:34 [6] DEBUG:      data: 6c 6c 6f 20 77 6f 72 6c   llo worl

2004-05-13 14:20:34 [6] DEBUG:      data: 64 20 68 65 6c 6c 6f 20   d hello

2004-05-13 14:20:34 [6] DEBUG:      data: 77 6f 72 6c 64 20 68 65   world he

2004-05-13 14:20:34 [6] DEBUG:      data: 6c 6c 6f 20 77 6f 72      llo wor

2004-05-13 14:20:34 [6] DEBUG:    Octet string dump ends.

2004-05-13 14:20:34 [6] DEBUG: SMPP PDU dump ends.

2004-05-13 14:20:34 [6] DEBUG: SMPP[smsc1a]: Manually forced source addr ton
= 0, source add npi = 1

2004-05-13 14:20:34 [6] DEBUG: SMPP[smsc1a]: Manually forced dest addr ton =
0, dest add npi = 1

2004-05-13 14:20:34 [6] DEBUG: SMPP[smsc1a]: Sending PDU:

2004-05-13 14:20:34 [6] DEBUG: SMPP PDU 0x80f3848 dump:

2004-05-13 14:20:34 [6] DEBUG:   type_name: submit_sm

2004-05-13 14:20:34 [6] DEBUG:   command_id: 4 = 0x00000004

2004-05-13 14:20:34 [6] DEBUG:   command_status: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   sequence_number: 3 = 0x00000003

2004-05-13 14:20:34 [6] DEBUG:   service_type: NULL

2004-05-13 14:20:34 [6] DEBUG:   source_addr_ton: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   source_addr_npi: 1 = 0x00000001

2004-05-13 14:20:34 [6] DEBUG:   source_addr: "TESTERA"

2004-05-13 14:20:34 [6] DEBUG:   dest_addr_ton: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   dest_addr_npi: 1 = 0x00000001

2004-05-13 14:20:34 [6] DEBUG:   destination_addr: "075400646"

2004-05-13 14:20:34 [6] DEBUG:   esm_class: 67 = 0x00000043

2004-05-13 14:20:34 [6] DEBUG:   protocol_id: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   priority_flag: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   schedule_delivery_time: NULL

2004-05-13 14:20:34 [6] DEBUG:   validity_period: NULL

2004-05-13 14:20:34 [6] DEBUG:   registered_delivery: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   data_coding: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   sm_length: 108 = 0x0000006c

2004-05-13 14:20:34 [6] DEBUG:   short_message:

2004-05-13 14:20:34 [6] DEBUG:    Octet string at 0x80f38c8:

2004-05-13 14:20:34 [6] DEBUG:      len:  108

2004-05-13 14:20:34 [6] DEBUG:      size: 109

2004-05-13 14:20:34 [6] DEBUG:      immutable: 0

2004-05-13 14:20:34 [6] DEBUG:      data: 05 00 03 00 02 02 6c 64   ......ld

2004-05-13 14:20:34 [6] DEBUG:      data: 20 68 65 6c 6c 6f 20 77    hello w

2004-05-13 14:20:34 [6] DEBUG:      data: 6f 72 6c 64 20 68 65 6c   orld hel

2004-05-13 14:20:34 [6] DEBUG:      data: 6c 6f 20 77 6f 72 6c 64   lo world

2004-05-13 14:20:34 [6] DEBUG:      data: 20 68 65 6c 6c 6f 20 77    hello w

2004-05-13 14:20:34 [6] DEBUG:      data: 6f 72 6c 64 20 68 65 6c   orld hel

2004-05-13 14:20:34 [6] DEBUG:      data: 6c 6f 20 77 6f 72 6c 64   lo world

2004-05-13 14:20:34 [6] DEBUG:      data: 20 68 65 6c 6c 6f 20 77    hello w

2004-05-13 14:20:34 [6] DEBUG:      data: 6f 72 6c 64 20 68 65 6c   orld hel

2004-05-13 14:20:34 [6] DEBUG:      data: 6c 6f 20 77 6f 72 6c 64   lo world

2004-05-13 14:20:34 [6] DEBUG:      data: 20 68 65 6c 6c 6f 20 77    hello w

2004-05-13 14:20:34 [6] DEBUG:      data: 6f 72 6c 64 20 68 65 6c   orld hel

2004-05-13 14:20:34 [6] DEBUG:      data: 6c 6f 20 77 6f 72 6c 64   lo world

2004-05-13 14:20:34 [6] DEBUG:      data: 20 61 61 61                aaa

2004-05-13 14:20:34 [6] DEBUG:    Octet string dump ends.

2004-05-13 14:20:34 [6] DEBUG: SMPP PDU dump ends.

2004-05-13 14:20:34 [6] DEBUG: SMPP[smsc1a]: Got PDU:

2004-05-13 14:20:34 [6] DEBUG: SMPP PDU 0x80f3848 dump:

2004-05-13 14:20:34 [6] DEBUG:   type_name: submit_sm_resp

2004-05-13 14:20:34 [6] DEBUG:   command_id: 2147483652 = 0x80000004

2004-05-13 14:20:34 [6] DEBUG:   command_status: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   sequence_number: 2 = 0x00000002

2004-05-13 14:20:34 [6] DEBUG:   message_id: "1145cf5"

2004-05-13 14:20:34 [6] DEBUG: SMPP PDU dump ends.

2004-05-13 14:20:34 [1] DEBUG: Dumping 1 messages and 0 acks to store

2004-05-13 14:20:34 [6] DEBUG: SMPP[smsc1a]: Got PDU:

2004-05-13 14:20:34 [6] DEBUG: SMPP PDU 0x80f3e20 dump:

2004-05-13 14:20:34 [6] DEBUG:   type_name: submit_sm_resp

2004-05-13 14:20:34 [6] DEBUG:   command_id: 2147483652 = 0x80000004

2004-05-13 14:20:34 [6] DEBUG:   command_status: 0 = 0x00000000

2004-05-13 14:20:34 [6] DEBUG:   sequence_number: 3 = 0x00000003

2004-05-13 14:20:34 [6] DEBUG:   message_id: "1145cf6"

2004-05-13 14:20:34 [6] DEBUG: SMPP PDU dump ends.

2004-05-13 14:20:43 [9] DEBUG: boxc_receiver: sms received

2004-05-13 14:20:43 [9] DEBUG: boxc_receiver: sms received

 

Regards,

Sasko Celakovski


COSMOFON - Mobile Telecommunications Services - A.D. Skopje
_______________________________________________________________
This  e-mail  (including   any   attachments) is   confidential and  may  be protected  by  legal  privilege.  If  you are not the intended recipient, you should not copy it, re-transmit it, use  it  or  disclose its contents, but should return it to the sender  immediately  and delete  your  copy from your system. Any unauthorized  use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible  to change. COSMOFON A.D. Skopje shall not be liable  for  the improper or  incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.