Hi,

What do you mean by special characters? If you don't specify the 
charset/encoding, kannel defaults to ISO8859-1 and translates all that can fit 
into the GSM 7-bit alphabet. Maybe you are trying to send something outside the 
GSM alphabet. (Handsets basically support GSM and UCS-2 for SMS) For "special" 
characters you will need to use UTF-8 and kannel will in turn translate this 
into telecom standard UCS-2 charset. This is as far as I understand and 
confirmed with testing on versions up to 1.4

BR,

Davor


-----Original Message-----
From: Alexander Eckert [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2008 10:43 AM
To: [email protected]
Subject: alt-charset // coding pages

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.


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.


Reply via email to