This is becoming confusing for me. Here are the logs for the same message:

kannel access log:
2012-09-07 00:53:02 Receive SMS [SMSC:Handset] [SVC:] [ACT:] [BINF:] [FID:]
[META:] [from:xxxxxxx] [to:xxxxxxx] [flags:-1:2:-1:0:-1] [msg:34:
00560042002000310032003100320031003200310032003100320031003200310032]
[udh:0:]
smsbox debug:
2012-09-07 00:53:03 SMS HTTP-request sender:xxxxxxx request: 'Send SMS
Message Sent OK 0' url: '
http://127.0.0.1/sms-receive.php?sender=%2Bxxxxxxx&text=
%001%002%001%002%001%002%001%002%001%002%001%002%001%002' reply: 200 '<<
successful >>'
My questions:
- Which charset/encoding is this?
- How to fix it, so that kannel could call the correct URL (smsbox logs)?
- If kannel cannot fix this and I have to use some php script/function,
which one should I be using?

Regards,



On Thu, Sep 6, 2012 at 7:41 PM, Alvaro Cornejo <[email protected]>wrote:

> Hi
>
> If I do remember well; there is a parameter you can include in your
> get-url link where kannel will tell you wich charset the MO is comming
> encoded with. Then, in your script you can handle it with something
> like iconv() or other charset converter.
>
> Regards
>
> Alvaro
>
> On 9/6/12, [email protected] <[email protected]> wrote:
> > Hi,
> >
> > I have setup kannel with a sony ericsson hanset. The incoming SMS (only
> > from few numbers) are coming as HEX values. Rest of the incoming messages
> > are fine. How come its happening so, for the same configuration of
> kannel?
> > How can I handle HEX value traffic?
> >
> > Regards,
> >
>
>
> --
>
> |-----------------------------------------------------------------------------------------------------------------|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> celular y Nextel
> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
> SMS y GPRS online
>               Visitenos en www.perusms.NET www.smsglobal.com.mx y
> www.pravcom.com
>

Reply via email to