Page 1 of 1

Problem with reading sms (data.encoding)?

Posted: Wed Nov 14, 2012 6:07 am
by maverick_ph
Hello,

I seem to be having a problem with reading sms messages. For example, if I send a text "Ab" from my phone, the SMPP client gets the message "A1". All other information such as send number are readable. Our problem is on translation of the actual shortmessage.

Would this be an issue on data encoding between SMSC and SMPP client?

Thanks in advance.

Re: Problem with reading sms (data.encoding)?

Posted: Thu Nov 15, 2012 12:47 am
by maverick_ph
Hello alt,

Really need some assistance on how to decode the ShotMessage. I send "ABCD" from my cellphone, but I get a different value in the PDU Shortmessage. Thanks in advance.

8:43:34 AM: DeliverSm received : Sequence : 30 SourceAddr : 09175196365 Coding : Latin1 MessageText : AᐠMessageID:

Re: Problem with reading sms (data.encoding)?

Posted: Thu Nov 22, 2012 5:59 pm
by alt
I think you need to change mapping as described here
http://www.inetlab.com/wiki/doku.php/smpp/map_encoding

Could you show byte array of this DeliverSm message? I can try to find out your encoding.