Hi,

maybe someone is able to bring a light into my darkness.

I use a cvs version of kannel to test - and for sure the the stable
1.4.1 version in productive enviroment.

On 1.4.1 i do not need to set any charset option to send SMS via
http request to kannel. If i try that on the cvs version this won`t 
work at all. No special character is being sent to the mobile correctly.
I tried to find some hints inside the maillist archive but there
is nothing which helps me.

2008-10-30 10:23:03 [27125] [6] DEBUG: SMPP PDU 0x81bdca8 dump:
2008-10-30 10:23:03 [27125] [6] DEBUG:   type_name: submit_sm 
2008-10-30 10:23:03 [27125] [6] DEBUG:   command_id: 4 = 0x00000004
2008-10-30 10:23:03 [27125] [6] DEBUG:   command_status: 0 = 0x00000000
2008-10-30 10:23:03 [27125] [6] DEBUG:   sequence_number: 4 = 0x00000004
2008-10-30 10:23:03 [27125] [6] DEBUG:   service_type: "900015"
2008-10-30 10:23:03 [27125] [6] DEBUG:   source_addr_ton: 5 = 0x00000005
2008-10-30 10:23:03 [27125] [6] DEBUG:   source_addr_npi: 0 = 0x00000000
2008-10-30 10:23:03 [27125] [6] DEBUG:   source_addr: "mobilcom"
2008-10-30 10:23:03 [27125] [6] DEBUG:   dest_addr_ton: 2 = 0x00000002
2008-10-30 10:23:03 [27125] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2008-10-30 10:23:03 [27125] [6] DEBUG:   destination_addr:
"00491704001858"
2008-10-30 10:23:03 [27125] [6] DEBUG:   esm_class: 3 = 0x00000003
2008-10-30 10:23:03 [27125] [6] DEBUG:   protocol_id: 0 = 0x00000000
2008-10-30 10:23:03 [27125] [6] DEBUG:   priority_flag: 0 = 0x00000000
2008-10-30 10:23:03 [27125] [6] DEBUG:   schedule_delivery_time: NULL
2008-10-30 10:23:03 [27125] [6] DEBUG:   validity_period: NULL
2008-10-30 10:23:03 [27125] [6] DEBUG:   registered_delivery: 0 =
0x00000000
2008-10-30 10:23:03 [27125] [6] DEBUG:   replace_if_present_flag: 0 =
0x00000000
2008-10-30 10:23:03 [27125] [6] DEBUG:   data_coding: 0 = 0x00000000
2008-10-30 10:23:03 [27125] [6] DEBUG:   sm_default_msg_id: 0 =
0x00000000
2008-10-30 10:23:03 [27125] [6] DEBUG:   sm_length: 6 = 0x00000006
2008-10-30 10:23:03 [27125] [6] DEBUG:   short_message: "test ?"
2008-10-30 10:23:03 [27125] [6] DEBUG: SMPP PDU dump ends.

If i set the charset variable inside the http request to:
charset=WINDOWS-125
i get all the special characters being sent fine.

2008-10-30 10:37:41 [21393] [6] DEBUG: SMPP PDU 0x81a1260 dump:
2008-10-30 10:37:41 [21393] [6] DEBUG:   type_name: submit_sm
2008-10-30 10:37:41 [21393] [6] DEBUG:   command_id: 4 = 0x00000004
2008-10-30 10:37:41 [21393] [6] DEBUG:   command_status: 0 = 0x00000000
2008-10-30 10:37:41 [21462] [0] DEBUG: Got ACK (0) of
808b1a8e-b086-4db7-b81a-a0e79b0a9ad6
2008-10-30 10:37:41 [21393] [6] DEBUG:   sequence_number: 2 = 0x00000002
2008-10-30 10:37:41 [21393] [6] DEBUG:   service_type: "900015"
2008-10-30 10:37:41 [21393] [6] DEBUG:   source_addr_ton: 5 = 0x00000005
2008-10-30 10:37:41 [21393] [6] DEBUG:   source_addr_npi: 0 = 0x00000000
2008-10-30 10:37:41 [21393] [6] DEBUG:   source_addr: "mobilcom"
2008-10-30 10:37:41 [21462] [0] DEBUG: HTTP: Resetting HTTPClient for
`62.104.242.109'.
2008-10-30 10:37:41 [21393] [6] DEBUG:   dest_addr_ton: 2 = 0x00000002
2008-10-30 10:37:41 [21393] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2008-10-30 10:37:41 [21393] [6] DEBUG:   destination_addr:
"00491704001858"
2008-10-30 10:37:41 [21393] [6] DEBUG:   esm_class: 3 = 0x00000003
2008-10-30 10:37:41 [21393] [6] DEBUG:   protocol_id: 0 = 0x00000000
2008-10-30 10:37:41 [21393] [6] DEBUG:   priority_flag: 0 = 0x00000000
2008-10-30 10:37:41 [21393] [6] DEBUG:   schedule_delivery_time: NULL
2008-10-30 10:37:41 [21393] [6] DEBUG:   validity_period: NULL
2008-10-30 10:37:41 [21393] [6] DEBUG:   registered_delivery: 0 =
0x00000000
2008-10-30 10:37:41 [21393] [6] DEBUG:   replace_if_present_flag: 0 =
0x00000000
2008-10-30 10:37:41 [21393] [6] DEBUG:   data_coding: 0 = 0x00000000
2008-10-30 10:37:41 [21393] [6] DEBUG:   sm_default_msg_id: 0 =
0x00000000
2008-10-30 10:37:41 [21393] [6] DEBUG:   sm_length: 8 = 0x00000008
2008-10-30 10:37:41 [21393] [6] DEBUG:   short_message: "test {|~"
2008-10-30 10:37:41 [21393] [6] DEBUG: SMPP PDU dump ends.

Does that means i do need now change all my http request to include the
charset
variable ? I tried to set alt-charset inside the SMPP config group but
this
won`t work at all. 

Reply via email to