Thanks for your response.

I was trying to send the following request

http://localhost:13013/cgi-bin/sendota?username=tester&password=foobar&to=14253504761&text=%3Cwap-provisioningdoc%3E%3Ccharacteristic%20type=%22BrowserFavorite%22%3E%3Ccharacteristic%20type=%22Google%22%3E%3Cparm%20name=%22URL%22%20value=%22http%3A%2F%2Fwww.google.com%22%2F%3E%3C%2Fcharacteristic%3E%3C%2Fcharacteristic%3E%3C%2Fwap-provisioningdoc%3E&type=oma-settings&sec=userpin&pin=1234

I wanted to add this header to my request:
   X-MS-Desc: Provisioning, compressed

Also, for the http get request, how do I set "standard" headers in the spec?
Particularly, I'd like to get the X-WAP-Initiator-URI and the PUSH-FLAG. Is
this possible via the http interface? Do I have to use a PPG to acomplish
this?

Thanks,
Jin

2010/6/4 Nikos Balkanas <[email protected]>

> Hi,
>
> Your subject "oma-settings" is confusing. I assume you mean ota-settings.
> In ota requests, kannel accepts tokens and attributes only from the spec OTA
> ch 8.1 & 8.2 (gw/ota_compiler.c). You are out of lack. If on the other hand
> you are talking about wap push (PPG) you can send anything you want, as long
> as it is correctly encoded in wbxml.
>
> BR,
> Nikos
> ----- Original Message ----- From: Jin
> To: [email protected]
> Sent: Friday, June 04, 2010 9:44 AM
> Subject: Sending custom headers in oma-settings
>
>
>
> Hi,
>
> I wanted to send some custom headers that would basically go along in the
> WSP part of the SMS (i.e. right after "content-type"). Is this possible?
>
> I've been searching around and can't find anything. I'm new to Kannel so
> sorry if this is an obvious question.
>
> Thanks,
> Jin
>

Reply via email to