That should work. You need to pass MSISDN to ppg, and set max-messages to 0. However, since mobile needs to have wap enabled (and suitable SIM) to get the URL, this could be a wap call (map-url) from the start (i.e. no SMS->PPG).
Or you can play MMS with mbuni. BR, Nikos ----- Original Message ----- From: Emmanuel CHANSON To: Nikos Balkanas Cc: users Sent: Monday, December 28, 2009 10:38 PM Subject: Re: Sms-service, WAP Push and PPG 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 <[email protected]> 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 To: users 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 : [email protected]
