SMPP SMS-MO broken

Andreas Fink <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
There seems to be a problem in the SMPP module.
I have a connection to an SMSC which should deliver me incoming SMS but 
instead I always get messages with no content.
I've added an octstr dump to see the original SMPP PDU as raw data and 
found that the text is very well received but not correctly decoded 
apparently. The test message contained the word "TEST" Here's what I 
see:


The PDU dump in binary

2002-10-21 09:13:45 [6] DEBUG: SMPP PDU dump ends.
2002-10-21 09:14:04 [6] DEBUG:  Octet string at 0x80d9038:
2002-10-21 09:14:04 [6] DEBUG:    len:  53
2002-10-21 09:14:04 [6] DEBUG:    size: 54
2002-10-21 09:14:04 [6] DEBUG:    immutable: 0
2002-10-21 09:14:04 [6] DEBUG:    data: 00 00 00 05 00 00 00 00   
........
2002-10-21 09:14:04 [6] DEBUG:    data: 00 00 00 01 00 01 01 39   
.......9
2002-10-21 09:14:04 [6] DEBUG:    data: 37 31 35 30 34 39 32 30   
71504920
2002-10-21 09:14:04 [6] DEBUG:    data: 39 35 38 00 03 09 39 37   
958...97
2002-10-21 09:14:04 [6] DEBUG:    data: 38 33 00 00 00 00 00 00   
83......
2002-10-21 09:14:04 [6] DEBUG:    data: 01 00 00 00 00 04 24 00   
......$.
2002-10-21 09:14:04 [6] DEBUG:    data: 04 54 45 53 54            .TEST
2002-10-21 09:14:04 [6] DEBUG:  Octet string dump ends.

The PDU dump after decoding
2002-10-21 09:14:04 [6] DEBUG: SMPP[link5]: Got PDU:
2002-10-21 09:14:04 [6] DEBUG: SMPP PDU 0x80d9038 dump:
2002-10-21 09:14:04 [6] DEBUG:   type_name: deliver_sm
2002-10-21 09:14:04 [6] DEBUG:   command_id: 5 = 0x00000005
2002-10-21 09:14:04 [6] DEBUG:   command_status: 0 = 0x00000000
2002-10-21 09:14:04 [6] DEBUG:   sequence_number: 1 = 0x00000001
2002-10-21 09:14:04 [6] DEBUG:   service_type: NULL
2002-10-21 09:14:04 [6] DEBUG:   source_addr_ton: 1 = 0x00000001
2002-10-21 09:14:04 [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2002-10-21 09:14:04 [6] DEBUG:   source_addr: "971504920958"
2002-10-21 09:14:04 [6] DEBUG:   dest_addr_ton: 3 = 0x00000003
2002-10-21 09:14:04 [6] DEBUG:   dest_addr_npi: 9 = 0x00000009
2002-10-21 09:14:04 [6] DEBUG:   destination_addr: "9783"
2002-10-21 09:14:04 [6] DEBUG:   esm_class: 0 = 0x00000000
2002-10-21 09:14:04 [6] DEBUG:   protocol_id: 0 = 0x00000000
2002-10-21 09:14:04 [6] DEBUG:   priority_flag: 0 = 0x00000000
2002-10-21 09:14:04 [6] DEBUG:   schedule_delivery_time: NULL
2002-10-21 09:14:04 [6] DEBUG:   validity_period: NULL
2002-10-21 09:14:04 [6] DEBUG:   registered_delivery: 1 = 0x00000001
2002-10-21 09:14:04 [6] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2002-10-21 09:14:04 [6] DEBUG:   data_coding: 0 = 0x00000000
2002-10-21 09:14:04 [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2002-10-21 09:14:04 [6] DEBUG:   sm_length: 0 = 0x00000000
2002-10-21 09:14:04 [6] DEBUG:   short_message: ""
2002-10-21 09:14:04 [6] DEBUG: SMPP PDU dump ends.
2002-10-21 09:14:04 [6] DEBUG: SMPP[link5]: Sending PDU:

Anyone have seen this before?


Andreas Fink
Global Networks, Inc.

------------------------------------------------------------------
Tel: +41-61-6932730  Fax: +41-61-6932729   Mobile: +41-79-2457333
Global Networks, Inc. Schwarzwaldallee 16, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/      [email protected]
------------------------------------------------------------------
Member of the GSM Association
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.