Thank you Kyriacos, I have many cases with free text which is completely mis-translated, I can send you another case.
meanwhile, what I thought of, is returning that hex to my Java application, and do the rest of the translation Java side, do you know how can I achieve that? as you can see in the following screenshot, using a Java library called smslib (attached) , I could translate "3118" to "10" , and so was any other free text I capture their PDU from kannel logs. appreciate your support. -- Regards Ahmed Adel On Mon, Mar 7, 2016 at 3:09 PM, Kyriacos Sakkas <kyria...@netsmart.com.cy> wrote: > 31 18 => 1Σ according to GSM ( > http://www.developershome.com/sms/gsmAlphabet.asp) and in kannel log is > displayed as octets. > > The site you mention treats multiple characters in the translation filed > as septets, and shifts boundaries, so it is actually translating hex18 as > hex30 which is 0, but it is doing this in error. > > In any case the text in that PDU is "1Σ", possibly whatever was used to > inject a 10 as an incoming message has a similar packing/unpacking problem > and injected 3118 where you were trying to put in 3130 (10). > > Hope this helps, > Kyriacos > > > On 07/03/2016 13:04, Ahmed Adel wrote: > > Hi Kyriacos, > > Thanks for your reply, find attached that full PDU. > > -- > Regards > Ahmed Adel > > On Mon, Mar 7, 2016 at 12:42 PM, Kyriacos Sakkas <kyria...@netsmart.com.cy > > wrote: > >> Can you post the full incoming sms pdu? >> >> Thanks, >> Kyriacos >> >> >> On 07/03/2016 11:03, Ahmed Adel wrote: >> >> Hi, my Kannel installation wrongly translate GSM 7-bit. >> >> find here my problem described: >> >> <http://stackoverflow.com/questions/35801244/kannel-sms-gateway-cannot-decode-gsm-7-bit-encoded-message-properly> >> http://stackoverflow.com/questions/35801244/kannel-sms-gateway-cannot-decode-gsm-7-bit-encoded-message-properly >> >> I appreciate if someone can help me. >> -- >> Regards >> Ahmed Adel >> >> >> -- >> Kyriacos Sakkas >> Development Team >> Netsmart >> Tel: + 357 22 452565 >> Fax: + 357 22 452566 >> Email: kyria...@netsmart.com.cyhttp://www.netsmart.com.cy >> >> Taking Business to a New Level! >> >> ** Confidentiality Notice: The information contained in this email >> message may be privileged, confidential and protected from disclosure. >> If you are not the intended recipient, any dissemination, distribution, >> or copying of this email message is strictly prohibited. >> If you think that you have received this email message in error, please >> email the sender at kyria...@netsmart.com.cy ** >> >> > > -- > Kyriacos Sakkas > Development Team > Netsmart > Tel: + 357 22 452565 > Fax: + 357 22 452566 > Email: kyria...@netsmart.com.cyhttp://www.netsmart.com.cy > > Taking Business to a New Level! > > ** Confidentiality Notice: The information contained in this email > message may be privileged, confidential and protected from disclosure. > If you are not the intended recipient, any dissemination, distribution, > or copying of this email message is strictly prohibited. > If you think that you have received this email message in error, please > email the sender at kyria...@netsmart.com.cy ** > >