Hi,
Refer to doc, you can try this in smsbox config:
mo-recodeboolean
If enabled, Kannel will try to convert received messages with UCS-2
charset
to WINDOWS-1252 or to UTF-8, simplifying external servers jobs. If
Kannel is
able to recode message, it will also change coding to
7 bits and charset to
windows-1252 or to utf-8.
:: Lamnt
From: [email protected]
Date: Sun, 12 Oct 2014 18:08:32 +0800
Subject: Receiving message with mostly hex characters
To: [email protected]
Hi,
I have a service that receives keywords/commands from customers and there are
some units (specifically samsung phones) that sends message that's seems to be
encoded - 0055006E006C0069
2014-10-07 17:20:02 Receive SMS [SMSC:xxxxx] [SVC:] [ACT:] [BINF:] [FID:]
[from:XXXXXXXX] [to:xxxx] [flags:-1:2:-1:0:-1] [msg:8:0055006E006C0069] [udh:0:]
The same message is sent to a PHP script for further action.
How should I deal with this? I really want to know how to decode the message to
limit the changes I have to introduce to the backend system.
Thanks in advance.
raul