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.
Problem with reading sms (data.encoding)?
-
- Posts: 2
- Joined: Wed Nov 14, 2012 6:02 am
-
- Posts: 2
- Joined: Wed Nov 14, 2012 6:02 am
Re: Problem with reading sms (data.encoding)?
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:
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)?
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.
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.