Hi all,

I'm trying to send wap-cir messages through Kannel. This is done through the PPG with something like this

POST /cgi-bin/wap-push.cgi HTTP/1.0
Content-Type: multipart/related; type=application/xml; boundary=EndOfOneEntity
User-Agent: Java1.4.2_05
Host: pn.attwireless.net:9002
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: Keep-Alive
Content-Length: 502

--EndOfOneEntity

Content-Type: application/xml; charset=UTF-8

<?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="1031290fab11944511621/WV Push">
<address address-value="WAPPUSH=+4523229536/TYPE=[EMAIL PROTECTED]"/>
</push-message>
</pap>

--EndOfOneEntity

Content-Type: application/vnd.wv.csp.cir
X-WAP-Application-Id: x-wap-application:wv.ua

WVCI 1.1 QGNUNEUAUK

--EndOfOneEntity--

The smsc is set to 'emi'. In bearerbox-access.log this is logged:

2005-09-23 12:20:48 Sent SMS [SMSC:smsc333] [SVC:ppg] [ACT:] [BINF:] [from:1234] [to:+45xxxxxxxx] [flags:-1:1:-1:-1:0] [msg:120:0006316170706C
69636174696F6E2F766E642E77762E6373702E63697200A96C69627777772D7065726C2F352E3639008DC4C3935741502D4170706C69636174696F6E2D49643A20782D7761702D
6170706C69636174696F6E3A77762E75610D0A0D0A5756434920312E312051474E554E455541554B0D0A] [udh:7:0605040B8423F0]

Can anyone point me to a document that will help me decode/understand the binary(?) message above?

Kind regards,
Morten

Reply via email to