Just to clarify. There are php examples to do your own wbxml encoding through 
the sendsms interface, but the encoding is several hundred lines of code, not 
10!

BR,
Nikos
  ----- Original Message ----- 
  From: Henri Hovi 
  To: Emmanuel CHANSON 
  Cc: users 
  Sent: Thursday, December 17, 2009 9:26 AM
  Subject: Re: HTTP connection URL through Binary SMS or PPG ?


  The flow You explain is correct, but after You have sent it to PPG, it will 
take care of sending the SMS..
  .
  So You just push the PAP message to the PPG url configured to Kannel. if You 
use PHP, You can use cUrl to do the communication between Your application and 
Kannel.

  Alternative solution is to build the message in Your application, it takes 
aprx. 10 lines of PHP code and then use the sendsms interface directly. Anyhow, 
I use the Kannel PPG.

  --
  Henri


  On Wed, Dec 16, 2009 at 11:08 PM, Emmanuel CHANSON 
<[email protected]> wrote:

    Thanks Henri,

    So if I understand well Wapbox is mandatory in this situation. At least to 
compile the PAP xml ? then send a SMS ?
    PPG can not be used alone for this task? I mean what are the necessary 
steps to perform:

    HTTP Interface ? -> PPG -> Wapbox -> SMS -> Mobile Station

    I have to check how to use PPG for this purpose. I will check the Kannel 
User Guide for this but basically:
    Is it possible through a PHP script (or whatever) to call an HTTP interface 
in order to make the PPG do this job?

    Regards,

    Emmanuel


    2009/12/16 Henri Hovi <[email protected]>

      You need to use PPG. The wapbox is just used to compile the PAP XML to 
"correct format", it's then forwarded as SMS to the device.


      When the phone retrieves the URL, it does it based on it's own 
configuration, so it can use HTTP directly or WAP Gateway as proxy. In later 
case the wapbox can be used, but requires that the user has the Kannel 
configured as proxy. But normally operators has those already configured, so 
You don't need to worry about them.


      --
      Henri


      On Wed, Dec 16, 2009 at 6:59 AM, Emmanuel CHANSON 
<[email protected]> wrote:

        Hello guys,

        I'm wondering how can I make a mobile openning an HTTP URL ?

        - by sending a SMS push with UDH parameter through sendsms interface ? 
which value to add in this case?
        - by using PPG from kannel ? which config in this case for PPG group?
        - others solution ?

        I saw many times WAP PUSH tutorials that show how to send a WAP PUSH 
SMS using PPG but do I have to do the same if I want to make a mobile openning 
an HTTP URL ? Whatever its properties because some mobile (old one) have to use 
WAP and wapbox, the recent ones use HTTP and doesn't need wapbox in this case.

        -- 
        Emmanuel

        CHANSON Emmanuel
        Mobile Nouvelle-Calιdonie: +687.77.35.02
        Mobile France: +33 (0) 6.68.03.89.56
        @email : [email protected]





      -- 
      Henri Hovi
      http://www.patidure.com
      http://patidure.blogspot.com




    -- 
    Emmanuel

    CHANSON Emmanuel
    Mobile Nouvelle-Calιdonie: +687.77.35.02
    Mobile France: +33 (0) 6.68.03.89.56
    @email : [email protected]




  -- 
  Henri Hovi
  http://www.patidure.com
  http://patidure.blogspot.com

Reply via email to