You shouldn't URL-encode XML in the POST...

BR,
Nikos
----- Original Message ----- From: Harmeet Singh
To: 'Nikos Balkanas' ; [email protected]
Sent: Thursday, May 06, 2010 5:25 AM
Subject: RE: Regarding OTA Message


Hi,

I had used XML . The XML is in urlencode form.

The HTTP url i am using is according to document there may be to do with kannel configuration of OTA-Settings with SMPP.

I want to know the how kannel can be configured for OTA-settings with SMPP.

Regards
Harmeet Singh

From: Nikos Balkanas [mailto:[email protected]]
Sent: 05 May 2010 05:58
To: Harmeet Singh; [email protected]
Subject: Re: Regarding OTA Message

Hi,

Try using XML and POST-XML. This is unreadable.

BR,
Nikos
----- Original Message ----- From: Harmeet Singh
To: [email protected]
Sent: Tuesday, May 04, 2010 9:17 PM
Subject: FW: Regarding OTA Message

Greetings,

I want to use Kannel Gateway to send Configuration message(OTA) to mobile phones.

According to user Guide i had URLEncode and using following URL to send OTA message.

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
The OTA messages are being deleiver to mobile but it unable to save settings on mobile. Error message “Unable to open message format not supported”
Please help me for using the kannel gateway for sending OTA message.
Regards
Harmeet Singh






Reply via email to