hi,

   i have also set the alt_dcs, mclass and coding flag as suggested. But
still the kannel rejects the packet which has a binary message containing
0x09, 0x0A, 0x0B, 0x0C and 0x0D with a combination or either (dcs=247
(0xF7)) or (alt-dcs=1, coding=2 and mclass = 4).

    Can someone please guide me as to where to debug the Kannel (Kannel 1.2
on Linux) or where to change the configurations so that it accepts binary
encoded message from a URL.

Any help would be highly appreciated,
Chirag



----- Original Message -----
From: "Jo�o Sil" <[EMAIL PROTECTED]>
To: "Chirag" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 29, 2002 5:48 PM
Subject: Re: Failed with DCS - 247 (0xF7)


> I believe that in order to chage the DCS into whatever you want, namely
the
> value your are trying to set, F7, you must work with 3 CGI variables:
> alt-dcs, mclass and coding.
> set alt-dcs = 1 in order to force DCS to be something like FX.
> X will be set by the other to variables.
> a value of 7 (0111) will mean 8-bit coding for message coding part (01) so
> coding should be 2, and Class3 TE (11) message class so mclass should be
set
> to 4.
> So, in order to set DCS to F7, try adding to the url the following:
> &alt-dcs=1&coding=2&mclass=4
> Hope this helps.
>
> Regards,
> Joao Sil
>
>
> ----- Original Message -----
> From: "Chirag" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 29, 2002 12:28 PM
> Subject: Failed with DCS - 247 (0xF7)
>
>
> > hi,
> >
> >      Currently I am using Kannel1.2 on Linux. I have configured my
Kannel
> to
> > accept message with DCS value. I use the URL to send binary message to
my
> > GSM Modem using the text (encoded binary data) and DCS = 247 (0xF7).
> >
> >     I am able to successfully send binary msg with DCS most of the time
> but
> > the Kannel rejects it when
> >
> > 1) I use hex character from 0x09 to 0x0D in my binary encoded messages
> (eg.
> > text=%09%0A%0B%0C%0D etc). I understand that hex range from 0x09 to 0x0D
> is
> > a set of special characters but then how do i encoded them in the URL so
> > that the Kannel accepts it.
> >
> > 2) Similarly when i want to encode 00 in hex (ie %00) in the URL. I
> receive
> > 00 as 5C0 at the other end. I think the kannel is encoding %0 to 5C0 but
> > then how do i send 0x00 in url encoded form so that i receive 0x00 at
the
> > other end.
> >
> > The following url gives 'Failed' from the kannel because i have encoded
> 0x0C
> > in the url. Please tell me how to send these special characters thru
URL.
> >
> >
>
../sendsms.php?to=+919845068852&text=%4D%43%47%53%0C&from=543&dcs=247&pid=0
> >
> > Thank you,
> > Chirag
> >
> >
> >
> >
>



Reply via email to