Hi,all!
Now I am configing the kannel for wap push.I send wap push message using pap
protocol.The message as follow:
--WPL38woVbhESdfalYevGqpdzLCs
Content-Type: application/xml; charset=UTF-8
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN"
"http://www.wapforum.org/DTD/pap_1.0.dtd">
<pap><push-message push-id="[EMAIL PROTECTED]"
ppg-notify-requested-to="http://127.0.0.1:11111/pushMsg/pushMsg?"
progress-notes-requested="false"><address
address-value="WAPPUSH=+8613488795096/[EMAIL PROTECTED]"/><quality-of-service
priority="medium" delivery-method="notspecified" network-required="false"
bearer-required="false"/></push-message></pap>
--WPL38woVbhESdfalYevGqpdzLCs
Content-Type: text/vnd.wap.si; charset=UTF-8
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN"
"http://www.wapforum.org/DTD/si.dtd">
<si><indication
href="http://localhost:8080/portal/viewMail.do?mailUID=UID4-1170043317"
si-id="[EMAIL PROTECTED]" action="signal-medium">test002</indication></si>
--WPL38woVbhESdfalYevGqpdzLCs--
I sent the above message to the ppg and it accepted it. And I saw the userguide
to run a push gate way and you should run the bearerbox and wapbox.Supposing
that I don not need DLR, can I need smsbox? Can I need to config smsbox in the
configure file?
And in my opinion,I send the pap message to the ppg and after processing the
ppg sends it to the SMSC .I think we need smsbox to do nothing.
Could somebody tell me what I thought is wrong or right?
Any response is appreciated!
Regards,
Yankai
Mp3疯狂搜-新歌热歌高速下
___________________________________________________________
雅虎免费邮箱-3.5G容量,20M附件
http://cn.mail.yahoo.com/