Hi All,
I'm trying to send a Wap Push to a mobile. It gets sent but never gets
displayed o n the mobile.
I have a file named si.txt containing:
<?xml version="1.0"?>
<!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN"
"http://www.wapforum.org/DTD/si.dtd">
<si>
<indication
action="signal-high"
href="http://wap.tf1.fr/"
created="2002-08-19T12:26:33Z"
si-expires="2002-09-21T12:26:33Z"
>
TF1
</indication>
</si>
and another one named pap.txt containing:
<?xml version="1.0"?>
<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP//EN"
"http://www.wapforum.org/DTD/pap_1.0.dtd">
<pap>
<push-message push-id="0001"
deliver-before-timestamp="2005-10-31T06:45:00Z"
deliver-after-timestamp="2001-02-28T06:45:00Z"
progress-notes-requested="false">
<address address-value="[EMAIL PROTECTED]">
</address>
</push-message>
</pap>
The command i issue to the ppg is:
./test_ppg -q
http://localhost:8080/cgi-bin/wap-push.cgi?username=xxx'&'password=xxx
si.txt pap.txt
I can say that it gets sent because in the bearerbox logs i see:
2002-08-26 13:08:10 [5] DEBUG: AT2[nokia]: international starting with +
(+33666666666)
2002-08-26 13:08:10 [5] DEBUG: AT2[nokia]: TP-Validity-Period: 24.0 hours
2002-08-26 13:08:10 [5] DEBUG: AT2[nokia]: --> AT+CMGS=110^M
2002-08-26 13:08:10 [5] DEBUG: AT2[nokia]: <-- >
2002-08-26 13:08:10 [5] DEBUG: AT2[nokia]: send command status: 1
2002-08-26 13:08:10 [5] DEBUG: AT2[nokia]: -->
0051000B913366567902F60004A7600605040B8423F0000625AE966B65726265726F732E7075
72706C656C6162732E636F6D3A3830383000AF808DB1B48002056A0045C6080C037761702E74
66312E66722F000AC3072002081912263310C307200209211226330103544631000101
2002-08-26 13:08:10 [5] DEBUG: AT2[nokia]: --> ^Z
2002-08-26 13:08:16 [5] DEBUG: AT2[nokia]: <-- >
2002-08-26 13:08:16 [5] DEBUG: AT2[nokia]: <-- +CMGS: 65
2002-08-26 13:08:16 [5] DEBUG: AT2[nokia]: <-- OK
2002-08-26 13:08:16 [5] DEBUG: AT2[nokia]: send command status: 0
I imagine that it is received by the mobile but not recognised. Am i missing
something?
Thanks,
Stephane.