As Mr. Peter Beckman said, and i quote:

"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."


Those seem to me rather valuable and simple considerations - apart from the typo on "these" ;), so i fail to see the point of you still not escaping the message with %'s, and also the point of removing the udh, which will ALWAYS force Kannel to send the sms as pure text (or flash).


- always use the %'s
- use the udh for binaries

I do agree with some sections of the docs being more complex, but for text, there aren't that many, and i think everyone in this list achieved to tell you what you need to do as simply as can be put in human terms :)

\\pb


Bret Kumler wrote:

I've look at the docs, it's a bit confusing, there's so many options. ;)

-----Original Message-----
From: Pedro B. [mailto:[EMAIL PROTECTED] Sent: Monday, August 16, 2004 5:18 PM
To: Bret Kumler
Cc: [EMAIL PROTECTED]
Subject: Re: Binaries


You might want to check table 6-15 on the User Guide, which includes all send-sms CGI variables.

I find it rather unusual you're actually trying something very basic without even checking the docs once. That's... "brave" :)


\\pb


Bret Kumler wrote:


What's the parameter suppose to be?

-----Original Message-----
From: Pedro B. [mailto:[EMAIL PROTECTED] Sent: Monday, August 16, 2004 4:35 PM
To: Bret Kumler
Cc: [EMAIL PROTECTED]
Subject: Re: Binaries


"&binary=" ?????


\\pb


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?


Thanks











Reply via email to