I got success by modifying smss.php for HTTP GET/POST method. Thanks for your help Balkanas.
Regards, Irfan Malik ========= Manager MIS TricastMedia Cell: +92 321-6099155 PH: +92 42 5845265 Web: www.tcm.com.pk From: Nikos Balkanas [mailto:nbalka...@gmail.com] Sent: Tuesday, March 31, 2009 2:57 PM To: Irfan Malik; users@kannel.org Subject: Re: WAP Push on SPECIFIC Port I haven't used them in such a way, so i have no examples. But there is a lot in the CVS kannel documentation about them. BR, Nikos ----- Original Message ----- From: Irfan Malik <mailto:irfan.ma...@tcm.com.pk> To: 'Nikos Balkanas' <mailto:nbalka...@gmail.com> ; users@kannel.org Sent: Tuesday, March 31, 2009 12:13 PM Subject: RE: WAP Push on SPECIFIC Port Hi, Thanks for your reply. Can you please provide some example for Get and post variables? Can I use X-Kannel-UDH in PAP DTD? Regards, Irfan Malik ========= Manager MIS TricastMedia Cell: +92 321-6099155 PH: +92 42 5845265 Web: www.tcm.com.pk From: Nikos Balkanas [mailto:nbalka...@gmail.com] Sent: Tuesday, March 31, 2009 2:05 PM To: Irfan Malik; users@kannel.org Subject: Re: WAP Push on SPECIFIC Port Hi, You can specify udh as both a GET varable (%u=) or a post variable (udh=). Finally you can also pass it as an extended HTTP header: X-Kannel-UDH. BR, Nikos ----- Original Message ----- From: Irfan Malik <mailto:irfan.ma...@tcm.com.pk> To: users@kannel.org Sent: Tuesday, March 31, 2009 10:42 AM Subject: WAP Push on SPECIFIC Port Dear All, I am trying to generate WAP Push using DTD PAP 1.0. I can successfully generate WAP push on standard port that is 2948. For a particular port I have to change UDH for the WAP Push. The XML code I am sending to my WAP gateway is Message to http://mydomain.com:8080/wappush Content-Type: multipart/related; boundary=PMasdfglkjhqwert; type="application/xml" --PMasdfglkjhqwert Content-Type: application/xml <?xml version="1.0"?> <!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN" "http://www.wapforum.org/DTD/pap_1.0.dtd"> <pap> <push-message push-id="PI/450720"> <address address-value="WAPPUSH=+1234567891/type=p...@mydomain.com"/> </push-message> </pap> --PMasdfglkjhqwert Content-Type: text/vnd.wap.si <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN" "http://www.wapforum.org/DTD/SI.dtd"> <si> <indication href="http://Yahoo.com" si-id = "WapIDE_SI/10" >Open Yahoo</indication> </si> --PMasdfglkjhqwert- The above XML successfully generates a WAP Push on standard port i.e. 2948. I want this WAP Push on a particular port e.g. 5500. I know this can be done by modifying UDH and by changing udh=%06%05%04%0B%84%23%F0 but don't know where to change. Any help will be much appreciated.