Hi,
I am trying to send the OTA message with the http interface provided in
kannel (version 1.4.1). The kannel user guide says that the message to be
send should be a url encoded XML document. So my url goes like this 

http://155.35.26.136:13013/cgi-bin/sendota?username=tester&password=foobar&to=xxxxxxxxxx&text=%3Cwap-provisioningdoc%3E%09%3Ccharacteristic+type%3D%22BOOTSTRAP%22%3E%09%09%3Cparm+name%3D%22NAME%22+value%3D%22w7%22+%2F%3E%09%3C%2Fcharacteristic%3E%09%3Ccharacteristic+type%3D%22NAPDEF%22%3E%09%09%3Cparm+name%3D%22NAME%22+value%3D%22w7%22+%2F%3E%09%09%3Cparm+name%3D%22NAPID%22+value%3D%22w7_NAPID%22+%2F%3E%09%09%3Cparm+name%3D%22BEARER%22+value%3D%22GSM-GPRS%22+%2F%3E%09%09%3Cparm+name%3D%22NAP-ADDRESS%22+value%3D%22grps%22+%2F%3E%09%09%3Cparm+name%3D%22NAP-ADDRTYPE%22+value%3D%22APN%22+%2F%3E%09%09%3Cparm+name%3D%22INTERNET%22+%2F%3E%09%09%3Ccharacteristic+type%3D%22NAPAUTHINFO%22%3E%09%09%09%3Cparm+name%3D%22AUTHTYPE%22+value%3D%22PAP%22+%2F%3E%09%09%09%3Cparm+name%3D%22AUTHNAME%22+value%3D%22user%22+%2F%3E%09%09%09%3Cparm+name%3D%22AUTHSECRET%22+value%3D%22pwd%22+%2F%3E%09%09%3C%2Fcharacteristic%3E%09%3C%2Fcharacteristic%3E%3C%2Fwap-provisioningdoc%3E

When this is processed by the kannel, it sends the SMS to the device, but
while opening the message in the device, the following message is displayed:
UNABLE TO OPEN;MESSAGE FORMAT NOT SUPPORTED.

I am using Nokia E61. When I send the same message from other gateway like
nowsms, the message is getting opened and saved in the device. I tried to
match the binary xml in the logs of nowsms and kannel and i found them
different. Here they are:

>From Kannel Log:
2006-11-24 13:19:04 [13896] [6] DEBUG: AT2[siemens1]: send command status: 1
2006-11-24 13:19:04 [13896] [6] DEBUG: AT2[siemens1]: -->
0051000A9189666607350004A7750605040B8423F0000605AE8DE6C39302056A0045C60C036974632D6265732E63616E6F6D6164008503626F6F7473747261702E786D6C001103796F7540796F7572646F6D61696E2E636F6D00080AC3072002011301330910C304200705310103596F75206861766520676F74206D61696C2E000101
2006-11-24 13:19:04 [13896] [6] DEBUG: AT2[siemens1]: --> ^Z

And From nowsms log:
2006-11-23 19:23:21,45658E72.req,127.0.0.1,9866667053,OK -- Standard 19200
bps
Modem,Binary=1;DCS=F5;UDH=0605040B8423F0;Data=6E0601B6030B6A0045C65601870706037737000101C6550187070603773700018711060377375F4E415049440001871006AB01870806036772707300018709068901871401C65A01870C069A01870D0603757365720001870E06037077640001010101

Can someone tell me what is that i am doing wrong? 

Murali




-- 
View this message in context: 
http://www.nabble.com/Sending-OTA-using-kannel-tf2699112.html#a7526368
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to