Wap push problem, please help

Yury Mikhienko <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel,gmane.comp.mobile.kannel.user
Organization Mobicom-Kavkaz
Message-ID <[email protected]>
Hi all!

How I can send wap push message through kannel PPG?

my config:


# PPG CORE SETUP, for defining the push request interface

group = ppg
ppg-url = /cgi-bin/wap-push.cgi
ppg-port = 8080
#global-sender = 000013
default-smsc = SMPP_000013
#ppg-ssl-port = 8081
concurrent-pushes = 100
trusted-pi = true
users = 1024
#ppg-deny-ip = "*.*.*.*"
ppg-allow-ip = "*.*.*.*"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"

# PPG USER SETUP, for authorizing a specific push user

group = wap-push-user
wap-push-user = pusher
ppg-username = user
ppg-password = pass


the testppg works fine with the following Conenet and Control files:
PAP:

<?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="JSMSC-T1083838644P1242C14052980">
<address address-value="WAPPUSH=+79280000000/TYPE=PLMN"/>
</push-message>
</pap>

SI:

<?xml version="1.0"?>
<!DOCTYPE si PUBLIC "-//WAPFORUM/DTD SI 1.0//EN" 
"http://www.wapforum.org/DTD/si.dtd">
<si>
<indication si-id="JSMSC-T1083838644P1242C14052980" 
href="http://jex.test.ru/test">
Download</indication>
</si>

but why following does not work?


Requesting POST 
http://myppg.ru:8080/cgi-bin/wap-push.cgi
Host: xxxxxxxxxxx
User-Agent: JSSP-http/0.1
Content-Type: multipart/related; boundary=asdlfkjiurwghasf; 
type="application/xml"
X-Wap-Application-Id: x-wap-application:wml.ua



--asdlfkjiurwghasf
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="JSMSC-T1083838644P1242C14052980">
<address address-value="WAPPUSH=+79280000000/TYPE=PLMN"/>
</push-message>
</pap>

--asdlfkjiurwghasf
Content-Type: text/vnd.wap.si

<?xml version="1.0"?>
<!DOCTYPE si PUBLIC "-//WAPFORUM/DTD SI 1.0//EN" 
"http://www.wapforum.org/DTD/si.dtd">
<si>
<indication si-id="JSMSC-T1083838644P1242C14052980" 
href="http://jex.test.ru/test">
Download</indication>
</si>

--asdlfkjiurwghasf


2004-05-10 14:50:23 [14] INFO: PPG: Accept request </cgi-bin/wap-push.cgi> from <>
2004-05-10 14:50:23 [14] WARNING: erroneous control entity
2004-05-10 14:50:23 [14] WARNING: PPG: unable to parse mime content, the request unacceptable

Can anyone help me?


-- 
 
Best regards,
Yury Mikhienko.
IT ERP group head, ZAO "Mobikom-Kavkaz"
tel: (8632) 704188
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.