Here's there's a mino HOWTO I wrote some time ago on PPG and Wap Push, which includes some proof of concept sample PHP code http://article.gmane.org/gmane.comp.mobile.kannel.user/11009
Be aware that you will see the PHP code with some wrong indentations that will make it not work, if you look further on the mailing-list archives someone attached this same code some months ago with that indentation fixed 2009/12/14 Nikos Balkanas <[email protected]>: > Hi, > > Try testing your configuration as described in the manual. You can use FAKE > smsc, so that you don't get charged and test/test_ppg client to push your > wap. you will have to supply your own pap/si xml document as detailed in the > manual. > > BR, > Nikos > > ----- Original Message ----- > From: Rajeev Agarwal > To: [email protected] > Sent: Monday, December 14, 2009 7:12 AM > Subject: WAP PUSH > hi > > I've configure my conf file for wap push services as shown below. I would > like to know what should i do next for the wap push.. > > Thanx > > Regards. > > > # CORE > group=core > admin-port=12000 > smsbox-port=12001 > wapbox-port=12002 > admin-password=bar > #status-password = foo > #admin-deny-ip = "" > #admin-allow-ip = "" > log-file = "/home/rajeev/sms_mms/kannel.log" > #log-level = 0 > box-deny-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1" > #unified-prefix = "+358,00358,0;+,00" > #access-log = "/tmp/access.log" > #store-file = "kannel.store" > #ssl-server-cert-file = "cert.pem" > #ssl-server-key-file = "key.pem" > #ssl-certkey-file = "mycertandprivkeyfile.pem" > > > > > #SMSC > group=smsc > smsc=at > smsc-id="SMSC" > modemtype=moto > device = /dev/ttyACM0 > speed = 9600 > #sms-center = +919849087001 > > #MODEM > group = modems > id = moto > name = "Motorola" > detect-string = "Motorola" > keepalive-cmd = "AT+CMGL" > #init-string = "AT+CNMI=0,0, 0, 1,0" > init-string="AT+CNMI=2,1,0,1,0;+CMGF=0;+CMEE=1" > #enable-hwhs = false > > #SMSBOX > group = smsbox > bearerbox-host = localhost > smsbox-id = dlrbox > sendsms-port = 12012 > global-sender = 12012 > log-file = "/home/rajeev/sms_mms/smsbox.log" > access-log = "/home/rajeev/sms_mms/access.log" > > #sendsms-user > group=sendsms-user > username = tester > password = foobar > max-messages = 3 > concatenation = true > > # SERVICES > group = sms-service > keyword = complex > text = "You asked nothing and I did it!" > > group = sms-service > keyword = default > text = "No service specified" > > #WAP-BOX > group=wapbox > bearerbox-host=localhost > log-file = "/home/rajeev/sms_mms/wapbox.log" > syslog-level = none > > #PPG-PUSH-PROXY-GATEWAY > group = ppg > ppg-url = /wappush > ppg-port = 8080 > concurrent-pushes = 100 > users = 1024 > #ppg-allow-ip = 194.100.32.125;127.0.0.1 > #ppg-deny-ip = 194.100.32.89;194.100.32.103 > trusted-pi = true > > #WAP-USER > group = wap-push-user > wap-push-user = insi > ppg-username = foo > ppg-password = bar > service-name = ppg > ppg-smsbox-id = dlrbox > -- Juan Nin 3Cinteractive / Mobilizing Great Brands http://www.3cinteractive.com
