Hi,

Now i am able to send OTA Settings with PPP user name and password.
but if i will give only two character as a password.I think if i will give
password as 919434746221 .it's exceeding max character limit of one message.

So,how to send OTA settings as a two separate message in kannel?*

*Regards,
Samir.

On Dec 20, 2007 4:12 PM, Samir Ghodasara <[EMAIL PROTECTED]> wrote:

> Hi,
>
> Now i able to send OTA settings to my SonyEricsson w300 phone by giving
> xml document as a text parameter.
> but when same i am using for below xml document with PAP user name and
> pass than i am not receiving any settings in mobile.
>
> xml docs:
>
> *<?xml version="1.0"?>
> <!DOCTYPE CHARACTERISTIC-LIST SYSTEM "file:///gw/settings.dtd" >
> <CHARACTERISTIC-LIST>
> <CHARACTERISTIC TYPE="ADDRESS">
> <PARM NAME="BEARER" VALUE="GPRS"/>
> <PARM NAME="GPRS_ACCESSPOINTNAME" VALUE="internet"/>
> <PARM NAME="PPP_AUTHTYPE" VALUE="PAP"/>
> <PARM NAME="PPP_AUTHNAME" VALUE="919434746221"/>
> <PARM NAME="PPP_AUTHSECRET" VALUE="919434746221"/>
> </CHARACTERISTIC>
> <CHARACTERISTIC TYPE="NAME">
> <PARM NAME="NAME" VALUE="internet"/>
> </CHARACTERISTIC>
> </CHARACTERISTIC-LIST>
> *
>
>
> Bear box log:
>
>  data: 06 05 04 c3 4f c0 02 01 06 2c 1f 2a 61 70 70 6c   ....O....,.*appl
> 2007-12-20 15:42:49 [2806] [10] DEBUG:      data: 69 63 61 74 69 6f 6e 2f
> 78 2d 77 61 70 2d 70 72   ication/x-wap-pr
> 2007-12-20 15:42:49 [2806] [10] DEBUG:      data: 6f 76 2e 62 72 6f 77 73
> 65 72 2d 73 65 74 74 69   ov.browser-setti
> 2007-12-20 15:42:49 [2806] [10] DEBUG:      data: 6e 67 73 00 81 ea 01 01
> 6a 00 45 c6 06 01 87 12   ngs.....j.E.....
> 2007-12-20 15:42:49 [2806] [10] DEBUG:      data: 49 01 87 1c 11 03 69 6e
> 74 65 72 6e 65 74 00 01   I.....internet..
> 2007-12-20 15:42:49 [2806] [10] DEBUG:      data: 87 22 70 01 87 23 11 03
> 39 31 39 34 33 34 37 34   ."p..#..91943474
> 2007-12-20 15:42:49 [2806] [10] DEBUG:      data: 36 32 32 31 00 01 87 10
> 03 50 50 50 5f 41 55 54   6221.....PPP_AUT
> 2007-12-20 15:42:49 [2806] [10] DEBUG:      data: 48 53 45 52 43 52 45 54
> 00 11 03 39 31 39 34 33   HSERCRET...91943
> 2007-12-20 15:42:49 [2806] [10] DEBUG:      data: 34 37 34 36 32 32 31 00
> 01 01 c6 08               4746221.....
>
> Please help..these is the last thing remaining,where might be the problem.
>
> Regards,
> Samir.
>
>
>
>
>
>
> On Dec 19, 2007 3:39 PM, Samir Ghodasara <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > I am trying to send WAP OTA setting through my kannel.
> > for one of my operator i am able to convert xml docs into binary send it
> > to mobile.
> >
> > but not able to send the same through my Kannel for other operator.
> >
> > As per Kannel docs.
> >
> > URL containing XML document looks like this (you must URL encode it
> > before sending it over HTTP):
> >
> > http://smsbox.host.name:13013/cgi-bin/sendota?username=foo&password=bar&to=0123456&text=MyURLEncodedXMLdocument&type=settings
> >
> > *but what will be the XML encoding rule for kannel.can i get some
> > working example?*
> >
> > Here is my XML Document.
> >
> > <?xml version="1.0"?>
> > <!DOCTYPE CHARACTERISTIC-LIST SYSTEM "file:///gw/settings.dtd" >
> > <CHARACTERISTIC-LIST>
> > <CHARACTERISTIC TYPE="ADDRESS">
> > <PARM NAME="BEARER" VALUE="GPRS"/>
> > <PARM NAME="GPRS_ACCESSPOINTNAME" VALUE="internet"/>
> > </CHARACTERISTIC>
> > <CHARACTERISTIC TYPE="NAME">
> > <PARM NAME="NAME" VALUE="internet"/>
> > </CHARACTERISTIC>
> > </CHARACTERISTIC-LIST>
> >
> > Thanks & Regards,
> > Samir.
> >
> >
>

Reply via email to