OTA support

Nauman Mazhar <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <717128CF7057B54AB94BF01357280D7DADF1886E42@bs-s-mail01.SYNCHRONICA.COM>
Hi,

I am sending EMAIL and APN settings to SE K800 using Kannel
(.../cgi-bin/sendota/...). Settings are sent but device is ignoring the
settings. The sent XML settings are correct and works with my XML to WBXML
decoder and SMS gateway(SMPP). But when I send the XML via Kannel, it does
not work.

Settings:

<?xml version="1.0" encoding="UTF-8"?>
<wap-provisioningdoc version="1.1">
<characteristic type="NAPDEF">
<parm name="NAPID" value="Vodafone"/>
<parm name="BEARER" value="GSM-GPRS"/>
<parm name="NAME" value="Vodafone"/>
<parm name="NAP-ADDRESS" value="web.vodafone.de"/>
<parm name="NAP-ADDRTYPE" value="APN"/>
<parm name="DNS-ADDR" value="139.7.30.125"/>
<parm name="DNS-ADDR" value="139.7.30.126"/>
</characteristic>
<characteristic type="APPLICATION">
<parm name="APPID" value="143"/>
<parm name="PROVIDER-ID" value="[email protected]"/>
<parm name="TO-NAPID" value="Vodafone"/>
<characteristic type="APPADDR">
<parm name="ADDR" value="www.test.biz"/>
<characteristic type="PORT">
<parm name="PORTNBR" value="50001"/>
<parm name="SERVICE" value=""/>
</characteristic>
</characteristic>
<characteristic type="APPAUTH">
<parm name="AAUTHNAME" value="[email protected]"/>
<parm name="AAUTHSECRET" value="abcde"/>
</characteristic>
</characteristic>
<characteristic type="APPLICATION">
<parm name="APPID" value="25"/>
<parm name="NAME" value="[email protected]"/>
<parm name="PROVIDER-ID" value="[email protected]"/>
<parm name="FROM" value="[email protected]"/>
<parm name="TO-NAPID" value="Vodafone"/>
<characteristic type="APPADDR">
<parm name="ADDR" value="www.test.biz"/>
<characteristic type="PORT">
<parm name="PORTNBR" value="5000"/>
<parm name="SERVICE" value=""/>
</characteristic>
</characteristic>
<characteristic type="APPAUTH">
<parm name="AAUTHNAME" value="[email protected]"/>
<parm name="AAUTHSECRET" value="abcde"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>

I see the following in the log:

…
2008-12-24 16:56:35 [23122] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendota> from <10.223.202.35>
2008-12-24 16:56:35 [23122] [3] INFO: sendsms used by <test>
2008-12-24 16:56:35 [23122] [3] DEBUG: OTA service with XML document
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'version' in OTA source, with value '1.1'.
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'NAPDEF'.
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'APPLICATION'.
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'APPADDR'.
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'PORT'.
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'APPAUTH'.
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'APPLICATION'.
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'APPADDR'.
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'PORT'.
2008-12-24 16:56:35 [23122] [3] WARNING: OTA compiler: Unknown attribute
'type' in OTA source, with value 'APPAUTH'.
2008-12-24 16:56:35 [23122] [3] DEBUG: Octet string at 0x92e2428:
2008-12-24 16:56:35 [23122] [3] DEBUG:   len:  720
2008-12-24 16:56:35 [23122] [3] DEBUG:   size: 1024
2008-12-24 16:56:35 [23122] [3] DEBUG:   immutable: 0
…

I feel that OTA compiler warnings have to do with the failure.

Kindly advise.

Cheers.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.