My call flow is the following:

MO -> "keyword" -> Kannel sms-service match the keyword -> get_url = php
script that send a corresponding wap push sms to the original sender in
order to fetch an url and retrieve a content (image, ...)

I am just looking for a way to retrieve a content through wap triggered by a
keyword sms
Is that you were thinking?

BR,

Emmanuel

2009/12/28 Nikos Balkanas <nbalka...@gmail.com>

>  Hi,
>
> As discussed in another thread in this list, you can use sms-service
> only with MO SMS, not for push (ppg or SMS). MO means Mobile Originated.
> With PPG you can push any text or URL you want, why then would you like to
> do an extra request to sms-service? Just send what you want from the
> beginning.
>
> BR,
> Nikos
>
> ----- Original Message -----
> *From:* Emmanuel CHANSON <emmanuelchan...@gmail.com>
> *To:* users <users@kannel.org>
> *Sent:* Monday, December 28, 2009 10:45 AM
> *Subject:* Sms-service, WAP Push and PPG
>
> Hello,
>
> After having successfully implemented wapbox, ppg and send a wappush on ppg
> HTTP interface using:
> lynx -dump "http://localhost/test/sms-wap-push-2.php?num=XXXXXX";
>
>
> I try now to use it through sms-service without success, I always get on
> the mobile the POST or GET content URL in text and not in push sms:
> I tested with post-url and get_url but same result ie URL displayed on the
> mobile as text
>
> Do I miss something ?
>
> *2009-12-28 18:45:48 Receive SMS [SMSC:nokia6230] [SVC:] [ACT:] [BINF:]
> [FID:] [from:+687773502] [to:1234] [flags:-1:0:-1:0:-1] [msg:6:ecosse]
> [udh:0:]
> 2009-12-28 18:45:48 SMS HTTP-request sender:+XXXXXXXXX request: 'POST
> /wappush HTTP/1.1
> Host: localhost:8080
> X-Kannel-SMSC: nokia6230
> Content-Type: multipart/related; boundary=multipart-boundary;
> type="application/xml"
> Content-Length: 922 --multipart-boundary
> Content-type: application/xml --multipart-boundary
> Content-type: text/vnd.wap.si Test Google URL --multipart-boundary--
> HTTP/1.1 202 Accepted
> Server: Kannel/1.4.3
> Date: Mon, 28 Dec 2009 07:45:48 GMT
> Content-Length: 971
> Content-Type: application/xml' url: '
> http://localhost/test/sms-wap-push-2.php?num=%2BXXXXXXXXX' reply: 200 '<<
> successful >>'
> 2009-12-28 18:45:58 Sent SMS [SMSC:nokia6230] [SVC:^[ ]*(ecosse)[ ]*]
> [ACT:] [BINF:] [FID:] [from:+XXXXXXXXX] [to:+XXXXXXXXX]
> [flags:-1:0:-1:-1:-1] [msg:160:POST /wappush HTTP/1.1 .Host: localhost:8080
> .X-Kannel-SMSC: nokia6230 .Content-Type: multipart/related;
> boundary=multipart-boundary; type="application/xml" .Co] [udh:0:]
> *
>
> My config:
>
> group = sms-service
> keyword = ecosse
> get-url = "http://localhost/test/sms-wap-push-2.php?num=%p";
>
>
> BR,
>
> --
> Emmanuel
>
>


-- 
Emmanuel

CHANSON Emmanuel
Mobile Nouvelle-Calédonie: +687.77.35.02
Mobile France: +33 (0) 6.68.03.89.56
@email : emmanuelchan...@gmail.com

Reply via email to