Hello all,

I forget to precise that the originator sms was in hex and it looks like the
folliwng line when I sent it with another modem application :

AT+CMGF=0;+CPMS="ME";+CSCS="HEX";+WMGO=001;+CMGW=154
0031000B913366399524F700008FA0135400500000000000000000000000000060CA210A07CB
ED153010D26873584C369F639042000000000000000000000000000000000000000000000000
0000000000000008148500000000000000000000000000000000004028060000000000000000
0000000000000304210020584092420000000000000000000000000000000000000000000000
000000
 

My need is to get the same hexa result transmit by kannel throug the sms
service to the target web application.

Does someone got any idea ?

Regards



-----Original Message-----
From: info.ubichip [mailto:[EMAIL PROTECTED] 
Sent: mercredi 7 mai 2008 13:18
To: users@kannel.org
Subject: Receive binary sms

Hello,

I'm looking to receive binary sms and I would to forward them to an external
application web. 

I'm using sms service but the content of the sms is not I was looking for :

2008-05-07 21:44:45          QueryString:
t=2008-05-07+19:44:34&q=%2B123456789&a=%3F(%A3%40%E9%24%40%40%40%40%40%40%40
%40%40%40%40%40%3F%E8%26Q%F2%E9%EC%3F%25+%A3%EC%E8ihfacegg%3B%3F%F9%A3%40%40
%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%
40%40%40%40%40%40%40%40%A3%EC%A5%40%40%40%40%40%40%40%40%40%40%40%40%40%40%4
0%40%40%40%40%40%40%A3%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%EC
%3F%C7%24%40%F9%3F%3F%C7%A5%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%40%
40%40%40%40%40%40%40%40%40%40%40%40%40%40



Here are the string I received from access.log of kannel :

2008-05-07 21:47:31 Receive SMS [SMSC:GSM0] [SVC:] [ACT:] [BINF:]
[from:+xxxxxxxxxx] [to:yyyyyyy] [flags:-1:0:-1:0:-1]
[msg:160:?([EMAIL PROTECTED]@@@@@@@@@@@@?è&Qòéì?%
£ìèihfacegg;?ù£@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@£ì¥@@@@@@@@@@@@@@@@@@@@@£@
@@@@@@@@@@@@@@@@[EMAIL PROTECTED]@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@]


As you could see there is some tricky characters at the beginning of the
content. How to tell kannel to send them as binary (I already tried to put
&b=%b but with same wrong result).


Hope someone got the answer

Best regards




Reply via email to