Problem with reading sms (data.encoding)?

.NET library for SMPP protocol
Locked
maverick_ph
Posts: 2
Joined: Wed Nov 14, 2012 6:02 am

Problem with reading sms (data.encoding)?

Post by maverick_ph » Wed Nov 14, 2012 6:07 am

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.
maverick_ph
Posts: 2
Joined: Wed Nov 14, 2012 6:02 am

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

Post by maverick_ph » Thu Nov 15, 2012 12:47 am

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:
alt
Site Admin
Posts: 918
Joined: Tue Apr 25, 2006 9:45 am

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

Post by alt » Thu Nov 22, 2012 5:59 pm

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.
Locked