Hi,

Why don't you just try it? My guess would be that sendota compiler will err. I 
don't know if PPG listens on the same port on the mobile as push-OTA, but try 
that as well and see. Even if it is on a different port, and therefore cannot 
use PPG, you may still be able to use sendsms, by specifying the port in UDH 
and wbxml encode all content by yourself.

BR,
Nikos
  ----- Original Message ----- 
  From: Jin 
  To: Nikos Balkanas 
  Cc: [email protected] 
  Sent: Friday, June 04, 2010 7:13 PM
  Subject: Re: Sending custom headers in oma-settings


  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