I have a problem when receiving messages from a LogicaCMG 4.6 SMSC.
The message arrives to Kannel as an empty message, even I am very sure that the message sent from the mobile is not empty.
Below is an example. First the trace output from SMSC:
Send command to hub.
12:54:54.15|01400C0C| command_length 74 dec
12:54:54.15|01400C0C| command_id 00000005 hex DELIVER_SM
12:54:54.15|01400C0C| command_status 00000000 hex OK
12:54:54.15|01400C0C| sequence_number 1 dec
12:54:54.15|01400C0C| service_type ""
12:54:54.15|01400C0C| source_addr_ton 01 hex International
12:54:54.15|01400C0C| source_addr_npi 01 hex ISDN/Telephone (E163/E164)
12:54:54.15|01400C0C| source_addr "*hidden*"
12:54:54.15|01400C0C| dest_addr_ton 01 hex International
12:54:54.15|01400C0C| dest_addr_npi 09 hex Private
12:54:54.15|01400C0C| destination_addr "*hidden*"
12:54:54.15|01400C0C| esm_class 00 hex
12:54:54.15|01400C0C| protocol_id 00 hex PLMN
12:54:54.15|01400C0C| priority_flag 00 hex
12:54:54.15|01400C0C| schedule_delivery_time ""
12:54:54.15|01400C0C| validity_period ""
12:54:54.15|01400C0C| registered_delivery_flag 11 hex
12:54:54.15|01400C0C| replace_if_present_flag 00 hex
12:54:54.15|01400C0C| data_coding 00 hex SMSC default alphabet
12:54:54.15|01400C0C| sm_default_msg_id 00 hex
12:54:54.15|01400C0C| sm_length 00 hex 0 dec
12:54:54.15|01400C0C| short_message ""
12:54:54.15|01400C0C| source_network_type (1 byte) 01 GSM
12:54:54.15|01400C0C| message_payload (3 bytes) Hej
Clearly, you can see from the dump above that the message contents (message_payload) is "Hej".
Here is debug output from Kannel 1.3.1: 2003-10-10 18:01:27 [5] DEBUG: Optional parameter tag (0x000e) 2003-10-10 18:01:27 [5] DEBUG: Optional parameter length read as 1 2003-10-10 18:01:27 [5] DEBUG: Optional parameter tag (0x0104) 2003-10-10 18:01:27 [5] DEBUG: Optional parameter length read as 9216 2003-10-10 18:01:27 [5] DEBUG: Optional parameter tag (0x0368) 2003-10-10 18:01:27 [5] DEBUG: Optional parameter length read as 25962 2003-10-10 18:01:27 [5] DEBUG: SMPP[SMPP:*hidden*]: Got PDU: 2003-10-10 18:01:27 [5] DEBUG: SMPP PDU 0x8121510 dump: 2003-10-10 18:01:27 [5] DEBUG: type_name: deliver_sm 2003-10-10 18:01:27 [5] DEBUG: command_id: 5 = 0x00000005 2003-10-10 18:01:27 [5] DEBUG: command_status: 0 = 0x00000000 2003-10-10 18:01:27 [5] DEBUG: sequence_number: 1 = 0x00000001 2003-10-10 18:01:27 [5] DEBUG: service_type: NULL 2003-10-10 18:01:27 [5] DEBUG: source_addr_ton: 1 = 0x00000001 2003-10-10 18:01:27 [5] DEBUG: source_addr_npi: 1 = 0x00000001 2003-10-10 18:01:27 [5] DEBUG: source_addr: "*hidden*" 2003-10-10 18:01:27 [5] DEBUG: dest_addr_ton: 1 = 0x00000001 2003-10-10 18:01:27 [5] DEBUG: dest_addr_npi: 9 = 0x00000009 2003-10-10 18:01:27 [5] DEBUG: destination_addr: "*hidden*" 2003-10-10 18:01:27 [5] DEBUG: esm_class: 0 = 0x00000000 2003-10-10 18:01:27 [5] DEBUG: protocol_id: 0 = 0x00000000 2003-10-10 18:01:27 [5] DEBUG: priority_flag: 0 = 0x00000000 2003-10-10 18:01:27 [5] DEBUG: schedule_delivery_time: NULL 2003-10-10 18:01:27 [5] DEBUG: validity_period: NULL 2003-10-10 18:01:27 [5] DEBUG: registered_delivery: 17 = 0x00000011 2003-10-10 18:01:27 [5] DEBUG: replace_if_present_flag: 0 = 0x00000000 2003-10-10 18:01:27 [5] DEBUG: data_coding: 0 = 0x00000000 2003-10-10 18:01:27 [5] DEBUG: sm_default_msg_id: 0 = 0x00000000 2003-10-10 18:01:27 [5] DEBUG: sm_length: 0 = 0x00000000 2003-10-10 18:01:27 [5] DEBUG: short_message: "" 2003-10-10 18:01:27 [5] DEBUG: SMPP PDU dump ends.
As you can see, the short message is empty...
Is there some configuration or any workaround to solve this problem??
/ Peter Lofman
_________________________________________________________________ MSN Foto: Det enklaste s�ttet att dela fotoalbum http://photos.msn.se/
