PDA

View Full Version : Encoding and SMS



JGranborg
04-11-11, 03:16 PM
Im working with SMS in pika warp using asterisk.
No problem sending SMSs, but I have som trouble regarding the danish letters and .
What Encoding do I have to use to get these characters.
I'm using the GsmSendSMS Action.

mrecoskie
04-12-11, 08:38 AM
Yes, the GSM module uses IRA encoding by default instead of unicode. This would likely explain the behaviour you are seeing. To change this I would recommend the following commands at the Asterisk CLI (assuming port 1):

gsm send at 1 AT+CSCS="HEX"
gsm send at 1 AT+CSMP=1,167,0,8

After this configuration, your SMS messages can be tried again - hopefully with the proper characters.

To share my reference, in the following webpage under the topic of 'Sending an Unicode SMS message" there is a rough explanation of the procedure. http://www.smssolutions.net/tutorials/gsm/sendsmsat/

Hope this helps.