On Mon, 16 Aug 2004, Bret Kumler wrote:

> Ok,
>
>       I'm close, I can feel it.
> Here's the url which is generated.
>
> URL =
> http://localhost:13013/cgi-bin/sendsms?user=test&pass=test1&coding=1&to=1909
> 2559651&binary=E257C4C15357BA964FD2BEB0738FF5A002C000000000010673796E63346A&
> udh=0605040B84C002010603C4AF87
>
> When I copy the url in to the browser it doesn't work.
> Could this be a kannel.conf issue? Meaning, am I missing something?

 After reading the documentation which is very well written and now
 includes spelling corrections, you'd see that it should look like this:

 URL =
 http://localhost:13013/cgi-bin/sendsms?user=test&pass=test1&coding=1&to=1909
 
2559651&text=%E2%57%C4%C1%53%57%BA%96%4F%D2%BE%B0%73%8F%F5%A0%02%C0%00%00%00%00%01%06%73%79%6E%63%34%6A&
 udh=%0B%06%05%04%0B%84%C0%02%01%06%03%C4%AF%87

 The problems with yours:
    1. no binary tag; use text to send the binary message.
    2. You must escape the binary message with % signs
    3. You must include the count/length of the UDH as the first two chars.
    I believe yours was 11 long, thus 0x0B == 11 blah blah blah
    4. You need to escape the udh with % too

Fix thise and you are good to go.

Beckman
---------------------------------------------------------------------------
Peter Beckman                                                  Internet Guy
[EMAIL PROTECTED]                             http://www.purplecow.com/
---------------------------------------------------------------------------

Reply via email to