SMPP server default data coding and all
"Kita B. Ndara" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I hope someone out there can help clarify this. I had a problem long ago with concatenated text messages sent from kannel. Now it seems it has to do with data_coding issues and how kannel handles it all. I did a small experiment. Sent a long message from a Nokia 3310 to Kannel. Below is the full SMPP PDU dump. Shows that kannel does not decode the message properly. I nitial look suggests message is 7 bit GSM. Now I doubt that the latin1_to_gsm is doing the right thing if the reverse is not! Please advise, thanks! B. __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com
kannel.log
(application/octet-stream, 5.9 KB)
2002-10-01 06:12:38 [6] DEBUG: SMPP PDU 0x81ec460 dump:
2002-10-01 06:12:38 [6] DEBUG: type_name: deliver_sm
2002-10-01 06:12:38 [6] DEBUG: command_id: 5 = 0x00000005
2002-10-01 06:12:38 [6] DEBUG: command_status: 0 = 0x00000000
2002-10-01 06:12:38 [6] DEBUG: sequence_number: 15012 = 0x00003aa4
2002-10-01 06:12:38 [6] DEBUG: service_type: ""
2002-10-01 06:12:38 [6] DEBUG: source_addr_ton: 1 = 0x00000001
2002-10-01 06:12:38 [6] DEBUG: source_addr_npi: 1 = 0x00000001
2002-10-01 06:12:38 [6] DEBUG: source_addr: "27729369922"
2002-10-01 06:12:38 [6] DEBUG: dest_addr_ton: 1 = 0x00000001
2002-10-01 06:12:38 [6] DEBUG: dest_addr_npi: 1 = 0x00000001
2002-10-01 06:12:38 [6] DEBUG: destination_addr: "444"
2002-10-01 06:12:38 [6] DEBUG: esm_class: 64 = 0x00000040
2002-10-01 06:12:38 [6] DEBUG: protocol_id: 0 = 0x00000000
2002-10-01 06:12:38 [6] DEBUG: priority_flag: 0 = 0x00000000
2002-10-01 06:12:38 [6] DEBUG: schedule_delivery_time: ""
2002-10-01 06:12:38 [6] DEBUG: validity_period: ""
2002-10-01 06:12:38 [6] DEBUG: registered_delivery: 0 = 0x00000000
2002-10-01 06:12:38 [6] DEBUG: replace_if_present_flag: 0 = 0x00000000
2002-10-01 06:12:38 [6] DEBUG: data_coding: 0 = 0x00000000
2002-10-01 06:12:38 [6] DEBUG: sm_default_msg_id: 0 = 0x00000000
2002-10-01 06:12:38 [6] DEBUG: sm_length: 140 = 0x0000008c
2002-10-01 06:12:38 [6] DEBUG: short_message:
2002-10-01 06:12:38 [6] DEBUG: Octet string at 0x82049b0:
2002-10-01 06:12:38 [6] DEBUG: len: 140
2002-10-01 06:12:38 [6] DEBUG: size: 141
2002-10-01 06:12:38 [6] DEBUG: immutable: 0
2002-10-01 06:12:38 [6] DEBUG: data: 05 00 03 c7 03 01 a8 e5 ........
2002-10-01 06:12:38 [6] DEBUG: data: 39 1d d4 2e cf e7 e1 73 9......s
2002-10-01 06:12:38 [6] DEBUG: data: 19 34 66 87 d3 f5 34 7b .4f...4{
2002-10-01 06:12:38 [6] DEBUG: data: 0e 3a b3 d3 20 7b 3a 0c .:.. {:.
2002-10-01 06:12:38 [6] DEBUG: data: 62 a7 d9 61 10 3b 6d 4f b..a.;mO
2002-10-01 06:12:38 [6] DEBUG: data: 93 41 6b 76 1a 74 66 97 .Akv.tf.
2002-10-01 06:12:38 [6] DEBUG: data: 41 ec 74 58 0e 3a b3 eb A.tX.:..
2002-10-01 06:12:38 [6] DEBUG: data: 20 74 59 ce 3e 83 e8 68 tY.>..h
2002-10-01 06:12:38 [6] DEBUG: data: 79 39 4c 07 d1 d3 6c 79 y9L...ly
2002-10-01 06:12:38 [6] DEBUG: data: 98 0e 62 a7 d7 e1 34 e8 ..b...4.
2002-10-01 06:12:38 [6] DEBUG: data: cc 4e cf 41 67 76 38 4d .N.Agv8M
2002-10-01 06:12:38 [6] DEBUG: data: 06 d1 e5 6f 76 9a 0e a2 ...ov...
2002-10-01 06:12:38 [6] DEBUG: data: a7 d9 f2 30 1d 44 4f b3 ...0.DO.
2002-10-01 06:12:38 [6] DEBUG: data: e5 6c d0 99 1d 4e 83 d2 .l...N..
2002-10-01 06:12:38 [6] DEBUG: data: 6c 76 1a 34 5f a7 41 f3 lv.4_.A.
2002-10-01 06:12:38 [6] DEBUG: data: fa 39 2c 07 d1 d3 61 79 .9,...ay
2002-10-01 06:12:38 [6] DEBUG: data: 38 9d 06 ad d3 e4 79 fd 8.....y.
2002-10-01 06:12:38 [6] DEBUG: data: 1c 6e 83 ea .n..
2002-10-01 06:12:38 [6] DEBUG: Octet string dump ends.
2002-10-01 06:12:38 [6] DEBUG: SMPP PDU dump ends.
2002-10-01 06:12:38 [6] DEBUG: SMPP: Sending PDU:
2002-10-01 06:12:38 [6] DEBUG: SMPP PDU 0x8207488 dump:
2002-10-01 06:12:38 [6] DEBUG: type_name: deliver_sm_resp
2002-10-01 06:12:38 [6] DEBUG: command_id: 2147483653 = 0x80000005
2002-10-01 06:12:38 [6] DEBUG: command_status: 0 = 0x00000000
2002-10-01 06:12:38 [6] DEBUG: sequence_number: 15012 = 0x00003aa4
2002-10-01 06:12:38 [6] DEBUG: message_id: NULL
2002-10-01 06:12:38 [6] DEBUG: SMPP PDU dump ends.
2002-10-01 06:12:38 [9] DEBUG: boxc_sender: sent message to <127.0.0.1>
2002-10-01 06:12:38 [8] DEBUG: boxc_receiver: got ack
2002-10-01 06:12:39 [8] DEBUG: boxc_receiver: sms received
2002-10-01 06:12:39 [5] DEBUG: SMPP: Sending PDU:
2002-10-01 06:12:39 [5] DEBUG: SMPP PDU 0x81ed498 dump:
2002-10-01 06:12:39 [5] DEBUG: type_name: submit_sm
2002-10-01 06:12:39 [5] DEBUG: command_id: 4 = 0x00000004
2002-10-01 06:12:39 [5] DEBUG: command_status: 0 = 0x00000000
2002-10-01 06:12:39 [5] DEBUG: sequence_number: 16 = 0x00000010
2002-10-01 06:12:39 [5] DEBUG: service_type: NULL
2002-10-01 06:12:39 [5] DEBUG: source_addr_ton: 0 = 0x00000000
2002-10-01 06:12:39 [5] DEBUG: source_addr_npi: 0 = 0x00000000
2002-10-01 06:12:39 [5] DEBUG: source_addr: "444"
2002-10-01 06:12:39 [5] DEBUG: dest_addr_ton: 0 = 0x00000000
2002-10-01 06:12:39 [5] DEBUG: dest_addr_npi: 0 = 0x00000000
2002-10-01 06:12:39 [5] DEBUG: destination_addr: "27729369922"
2002-10-01 06:12:39 [5] DEBUG: esm_class: 0 = 0x00000000
2002-10-01 06:12:39 [5] DEBUG: protocol_id: 0 = 0x00000000
2002-10-01 06:12:39 [5] DEBUG: priority_flag: 0 = 0x00000000
2002-10-01 06:12:39 [5] DEBUG: schedule_delivery_time: NULL
2002-10-01 06:12:39 [5] DEBUG: validity_period: NULL
2002-10-01 06:12:39 [5] DEBUG: registered_delivery: 0 = 0x00000000
2002-10-01 06:12:39 [5] DEBUG: replace_if_present_flag: 0 = 0x00000000
2002-10-01 06:12:39 [5] DEBUG: data_coding: 0 = 0x00000000
2002-10-01 06:12:39 [5] DEBUG: sm_default_msg_id: 0 = 0x00000000
2002-10-01 06:12:39 [5] DEBUG: sm_length: 0 = 0x00000000
2002-10-01 06:12:39 [5] DEBUG: short_message:
2002-10-01 06:12:39 [5] DEBUG: Octet string at 0x81d1528:
2002-10-01 06:12:39 [5] DEBUG: len: 51
2002-10-01 06:12:39 [5] DEBUG: size: 52
2002-10-01 06:12:39 [5] DEBUG: immutable: 0
2002-10-01 06:12:39 [5] DEBUG: data: 4e 6f 20 73 75 63 68 20 No such
2002-10-01 06:12:39 [5] DEBUG: data: 6b 65 79 77 6f 72 64 20 keyword
2002-10-01 06:12:39 [5] DEBUG: data: 27 73 66 27 2e 20 54 72 'sf'. Tr
2002-10-01 06:12:39 [5] DEBUG: data: 79 20 6f 6e 65 20 6f 66 y one of
2002-10-01 06:12:39 [5] DEBUG: data: 20 74 68 65 73 65 3a 20 these:
2002-10-01 06:12:39 [5] DEBUG: data: 53 70 6f 72 74 73 46 61 SportsFa
2002-10-01 06:12:39 [5] DEBUG: data: 63 74 73 cts
2002-10-01 06:12:39 [5] DEBUG: Octet string dump ends.
2002-10-01 06:12:39 [5] DEBUG: SMPP PDU dump ends.