Re: Send User Data question

Andreas Fink <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
you have to URL encode your bytes.
what you are doing is you are sending a text containing FF 06... characters not the bytes they should represent

Try with &text= %FF%06%01...

On 04.04.2012, at 07:44, George Karagheaur wrote:

> Dear all,
> I am stuck in a simple i think problem, but already 2 nights without sleep :) Maybe somebody can guide me.
> 
> I am trying to send some data message using kannel and calling HTTP GET like this:
> 
> http://YYY:XX/cgi-bin/sendsms?username=xxxxx&password=xxxx&to=xxxxx&from=1111&text=FF0601010013010013800C00310031003000200070002E0800&dlr-mask=31&pid=127&coding=1&mclass=2
> 
> i need the text body to be transmited as it is to the sim card, instead i get:
> 
> 2012-04-04 05:37:21 [283] [6] DEBUG: data: 46 46 30 36 30 31 30 31 30 30 31 33 30 31 30 30 FF06010100130100
> 2012-04-04 05:37:21 [283] [6] DEBUG: data: 31 33 38 30 30 43 30 30 33 31 30 30 33 31 30 30 13800C0031003100
> 2012-04-04 05:37:21 [283] [6] DEBUG: data: 33 30 30 30 32 30 30 30 37 30 30 30 32 45 30 38 3000200070002E08
> 2012-04-04 05:37:21 [283] [6] DEBUG: data: 30 30 00
> 
> I need this FF and so on to be send exactly as data.
> 
> Can somebody tell me, where i am making mistake, because i am sure the problem is very simple, but still cant find it :(
> -- 
> Best regards,
> George Karagheaur
> Mob: +79165482960
> Skype: george.karagheaur
> Email/MSN: [email protected]
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.