As noted by someone before, you should put "%" before each hex word for
kannel to treat it as binary:

http://localhost:13013/cgi-bin/sendsms?user=test&pass=test&coding=1&to=19492
> 959601&text=%E4%BB%50%F9%B9... and so on...

Same applies to the UDH-

Otherwise, you'll receive a nice stream of letters and numbers instead of
binary.

Regards,

----- Original Message ----- 
From: "Bret Kumler" <[EMAIL PROTECTED]>
To: "'Pedro B.'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, August 17, 2004 8:25 PM
Subject: RE: Binaries


> I changed the parameter from binary to text according to section 6-15 of
the
> user guide.
>
> We do convert the binary to hex.
>
> The url we generate is
>
http://localhost:13013/cgi-bin/sendsms?user=test&pass=test&coding=1&to=19492
>
959601&text=E4BB50F9B990619D0010EF30E8CCB43302C000000000010673796E63346A&udh
> =0605040B84C002010603C4AF87
>
> If I remove the udh parameter the message goes through as text not as
> binary.
>
> Still not working.
>
> Am I missing something here?
>
> Thanks for the help
>
>
>
>
>
>
> -----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