Hi,
Following are the XML files that I am using for using the test_ppg program
for PPG
pap.xml
<?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="[EMAIL PROTECTED]"
deliver-before-timestamp="2004-04-16T12:45:00Z"
deliver-after-timestamp="2004-04-28T12:55:00Z"
progress-notes-requested="false">
<address
address-value="WAPPUSH=+358408676001/[EMAIL PROTECTED]">
</address>
<quality-of-service
priority="low"
delivery-method="unconfirmed"
network-required="true"
network="GSM"
bearer-required="true"
bearer="SMS">
</quality-of-service>
</push-message>
</pap>
----------------------------------------------------------------------------
-------------
si.xml
<?xml version="1.0"?>
<!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN"
"http://www.wapforum.org/DTD/si.dtd">
<si>
<indication href="http://wap.iobox.fi"
si-id="[EMAIL PROTECTED]"
action="signal-high"
created="1999-06-25T15:23:15Z"
si-expires="200i4-04-30T00:00:00Z">
Want to test a fetch?
</indication>
</si>
----------------------------------------------------------------------------
------------
I have started the bearerbox, wapbox and smsbox with the following conf file
pushkannel.conf
group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
wdp-interface-name = "*"
log-file = "/tmp/bearerbox.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;10.0.3.57"
unified-prefix = "+358,00358,0;+,00"
#access-log = "access.log"
#store-file = "kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
# WAPBOX SETUP, for pushing and for pulling (fetching) the wap data
group = wapbox
bearerbox-host = localhost
log-file = "/tmp/wapbox.log"
log-level = 0
syslog-level = none
# PPG CORE SETUP, for defining the push request interface
group = ppg
ppg-url = /cgi-bin/wap-push.cgi
ppg-port = 8080
#ppg-ssl-port = 8081
concurrent-pushes = 100
trusted-pi = false
users = 1024
#ppg-deny-ip = #194.100.32.89;#194.100.32.103
ppg-deny-ip = *.*.*.*
#ppg-allow-ip = #194.100.32.125;127.0.0.1;213.243.146.182;213.243.140.102
ppg-allow-ip = 127.0.0.1;10.0.3.57
#ssl-server-cert-file = "/Users/aarno/gateway/test/cert.pem"
#ssl-server-key-file = "/Users/aarno/gateway/test/key.pem"
# PPG USER SETUP, for authorizing a specific push user
group = wap-push-user
wap-push-user = picom
ppg-username = foo
ppg-password = bar
# Note that prefixes must have an international format. So the country
# prefix must be added here.
country-prefix = +358
allowed-prefix = 40;60;70
denied-prefix = 50
#white-list = http://localhost:8082/whitelist
#black-list = http://localhost:8082/blacklist
allow-ip = 127.0.0.1;10.0.3.57
#deny-ip = 194.100.32.82
deny-ip = *.*.*.*
# SMSC CONNECTIONS, for pushing SI or SL over SMS
group = smsc
#smsc = http
smsc = smpp
smsc-id = smpp9999
port = 14000
system-type = kannel
smsc-username = foo
smsc-password = bar
#no-sender = true
#no-coding = true
#? for the query will be added by Kannel
#send-url = http://localhost:8081/util/kannelgw.phtml
host = 10.0.3.57
keepalive = 5
# SMSBOX SETUP (a kludge !)
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 9999
#sendsms-chars = "0123456789 +-"
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "/tmp/access.log"
group = sendsms-user
username = mt2000
password = mt2000
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1;10.0.3.57"
forced-smsc = "smpp9999"
----------------------------------------------------------------------------
-------------
output of :
test/test_ppg -q http://127.0.0.1:8080/cgi-bin/wap-push.cgi pap.xml si.xml
2004-04-19 10:36:27 [0] INFO: an input without a configuration file assumed
2004-04-19 10:36:27 [0] DEBUG: using pap.xml as a content file
2004-04-19 10:36:27 [0] DEBUG: using si.xml as a control file
2004-04-19 10:36:27 [0] DEBUG: Started thread 1
(test/test_ppg.c:push_thread)
2004-04-19 10:36:27 [1] DEBUG: TEST_PPG: starting to push job 0
2004-04-19 10:36:27 [1] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2004-04-19 10:36:27 [1] DEBUG: Started thread 3
(gwlib/http.c:write_request_thread)
2004-04-19 10:36:27 [1] DEBUG: push done
2004-04-19 10:36:27 [3] DEBUG: HTTP: Opening connection to `127.0.0.1:8080'
(fd=13).
2004-04-19 10:36:27 [3] DEBUG: HTTP: Sending request:
2004-04-19 10:36:27 [3] DEBUG: Octet string at 0x80c1618:
2004-04-19 10:36:27 [3] DEBUG: len: 1358
2004-04-19 10:36:27 [3] DEBUG: size: 1359
2004-04-19 10:36:27 [3] DEBUG: immutable: 0
2004-04-19 10:36:27 [3] DEBUG: data: 50 4f 53 54 20 2f 63 67 POST /cg
2004-04-19 10:36:27 [3] DEBUG: data: 69 2d 62 69 6e 2f 77 61 i-bin/wa
2004-04-19 10:36:27 [3] DEBUG: data: 70 2d 70 75 73 68 2e 63 p-push.c
2004-04-19 10:36:27 [3] DEBUG: data: 67 69 20 48 54 54 50 2f gi HTTP/
2004-04-19 10:36:27 [3] DEBUG: data: 31 2e 31 0d 0a 48 6f 73 1.1..Hos
2004-04-19 10:36:27 [3] DEBUG: data: 74 3a 20 31 32 37 2e 30 t: 127.0
2004-04-19 10:36:27 [3] DEBUG: data: 2e 30 2e 31 3a 38 30 38 .0.1:808
2004-04-19 10:36:27 [3] DEBUG: data: 30 0d 0a 43 6f 6e 74 65 0..Conte
2004-04-19 10:36:27 [3] DEBUG: data: 6e 74 2d 54 79 70 65 3a nt-Type:
2004-04-19 10:36:27 [3] DEBUG: data: 20 6d 75 6c 74 69 70 61 multipa
2004-04-19 10:36:27 [3] DEBUG: data: 72 74 2f 72 65 6c 61 74 rt/relat
2004-04-19 10:36:27 [3] DEBUG: data: 65 64 3b 20 62 6f 75 6e ed; boun
2004-04-19 10:36:27 [3] DEBUG: data: 64 61 72 79 3d 61 73 64 dary=asd
2004-04-19 10:36:27 [3] DEBUG: data: 6c 66 6b 6a 69 75 72 77 lfkjiurw
2004-04-19 10:36:27 [3] DEBUG: data: 67 68 61 73 66 3b 20 74 ghasf; t
2004-04-19 10:36:27 [3] DEBUG: data: 79 70 65 3d 22 61 70 70 ype="app
2004-04-19 10:36:27 [3] DEBUG: data: 6c 69 63 61 74 69 6f 6e lication
2004-04-19 10:36:27 [3] DEBUG: data: 2f 78 6d 6c 22 0d 0a 58 /xml"..X
2004-04-19 10:36:27 [3] DEBUG: data: 2d 57 41 50 2d 41 70 70 -WAP-App
2004-04-19 10:36:27 [3] DEBUG: data: 6c 69 63 61 74 69 6f 6e lication
2004-04-19 10:36:27 [3] DEBUG: data: 2d 49 64 3a 20 68 74 74 -Id: htt
2004-04-19 10:36:27 [3] DEBUG: data: 70 3a 2f 2f 77 77 77 2e p://www.
2004-04-19 10:36:27 [3] DEBUG: data: 77 69 72 61 6c 2e 63 6f wiral.co
2004-04-19 10:36:27 [3] DEBUG: data: 6d 3a 77 6d 6c 2e 75 61 m:wml.ua
2004-04-19 10:36:27 [3] DEBUG: data: 0d 0a 43 6f 6e 74 65 6e ..Conten
2004-04-19 10:36:27 [3] DEBUG: data: 74 2d 4c 65 6e 67 74 68 t-Length
2004-04-19 10:36:27 [3] DEBUG: data: 3a 20 31 31 34 30 0d 0a : 1140..
2004-04-19 10:36:27 [3] DEBUG: data: 0d 0a 0d 0a 2d 2d 61 73 ....--as
2004-04-19 10:36:27 [3] DEBUG: data: 64 6c 66 6b 6a 69 75 72 dlfkjiur
2004-04-19 10:36:27 [3] DEBUG: data: 77 67 68 61 73 66 0d 0a wghasf..
2004-04-19 10:36:27 [3] DEBUG: data: 43 6f 6e 74 65 6e 74 2d Content-
2004-04-19 10:36:27 [3] DEBUG: data: 54 79 70 65 3a 20 61 70 Type: ap
2004-04-19 10:36:27 [3] DEBUG: data: 70 6c 69 63 61 74 69 6f plicatio
2004-04-19 10:36:27 [3] DEBUG: data: 6e 2f 78 6d 6c 0d 0a 0a n/xml...
2004-04-19 10:36:27 [3] DEBUG: data: 3c 3f 78 6d 6c 20 76 65 <?xml ve
2004-04-19 10:36:27 [3] DEBUG: data: 72 73 69 6f 6e 3d 22 31 rsion="1
2004-04-19 10:36:27 [3] DEBUG: data: 2e 30 22 3f 3e 0a 20 20 .0"?>.
2004-04-19 10:36:27 [3] DEBUG: data: 20 20 3c 21 44 4f 43 54 <!DOCT
2004-04-19 10:36:27 [3] DEBUG: data: 59 50 45 20 73 69 20 50 YPE si P
2004-04-19 10:36:27 [3] DEBUG: data: 55 42 4c 49 43 20 22 2d UBLIC "-
2004-04-19 10:36:27 [3] DEBUG: data: 2f 2f 57 41 50 46 4f 52 //WAPFOR
2004-04-19 10:36:27 [3] DEBUG: data: 55 4d 2f 2f 44 54 44 20 UM//DTD
2004-04-19 10:36:27 [3] DEBUG: data: 53 49 20 31 2e 30 2f 2f SI 1.0//
2004-04-19 10:36:27 [3] DEBUG: data: 45 4e 22 20 22 68 74 74 EN" "htt
2004-04-19 10:36:27 [3] DEBUG: data: 70 3a 2f 2f 77 77 77 2e p://www.
2004-04-19 10:36:27 [3] DEBUG: data: 77 61 70 66 6f 72 75 6d wapforum
2004-04-19 10:36:27 [3] DEBUG: data: 2e 6f 72 67 2f 44 54 44 .org/DTD
2004-04-19 10:36:27 [3] DEBUG: data: 2f 73 69 2e 64 74 64 22 /si.dtd"
2004-04-19 10:36:27 [3] DEBUG: data: 3e 0a 3c 73 69 3e 0a 20 >.<si>.
2004-04-19 10:36:27 [3] DEBUG: data: 20 20 20 3c 69 6e 64 69 <indi
2004-04-19 10:36:27 [3] DEBUG: data: 63 61 74 69 6f 6e 20 68 cation h
2004-04-19 10:36:27 [3] DEBUG: data: 72 65 66 3d 22 68 74 74 ref="htt
2004-04-19 10:36:27 [3] DEBUG: data: 70 3a 2f 2f 77 61 70 2e p://wap.
2004-04-19 10:36:27 [3] DEBUG: data: 69 6f 62 6f 78 2e 66 69 iobox.fi
2004-04-19 10:36:27 [3] DEBUG: data: 22 0a 20 20 20 20 20 20 ".
2004-04-19 10:36:27 [3] DEBUG: data: 20 20 20 20 20 20 20 20
2004-04-19 10:36:27 [3] DEBUG: data: 20 20 73 69 2d 69 64 3d si-id=
2004-04-19 10:36:27 [3] DEBUG: data: 22 31 40 77 69 72 61 6c "[EMAIL PROTECTED]
2004-04-19 10:36:27 [3] DEBUG: data: 2e 63 6f 6d 22 0a 20 20 .com".
2004-04-19 10:36:27 [3] DEBUG: data: 20 20 20 20 20 20 20 20
2004-04-19 10:36:27 [3] DEBUG: data: 20 20 20 20 20 20 61 63 ac
2004-04-19 10:36:27 [3] DEBUG: data: 74 69 6f 6e 3d 22 73 69 tion="si
2004-04-19 10:36:27 [3] DEBUG: data: 67 6e 61 6c 2d 68 69 67 gnal-hig
2004-04-19 10:36:27 [3] DEBUG: data: 68 22 0a 20 20 20 20 20 h".
2004-04-19 10:36:27 [3] DEBUG: data: 20 20 20 20 20 20 20 20
2004-04-19 10:36:27 [3] DEBUG: data: 20 20 20 63 72 65 61 74 creat
2004-04-19 10:36:27 [3] DEBUG: data: 65 64 3d 22 31 39 39 39 ed="1999
2004-04-19 10:36:27 [3] DEBUG: data: 2d 30 36 2d 32 35 54 31 -06-25T1
2004-04-19 10:36:27 [3] DEBUG: data: 35 3a 32 33 3a 31 35 5a 5:23:15Z
2004-04-19 10:36:27 [3] DEBUG: data: 22 0a 20 20 20 20 20 20 ".
2004-04-19 10:36:27 [3] DEBUG: data: 20 20 20 20 20 20 20 20
2004-04-19 10:36:27 [3] DEBUG: data: 20 20 73 69 2d 65 78 70 si-exp
2004-04-19 10:36:27 [3] DEBUG: data: 69 72 65 73 3d 22 32 30 ires="20
2004-04-19 10:36:27 [3] DEBUG: data: 30 69 34 2d 30 34 2d 33 0i4-04-3
2004-04-19 10:36:27 [3] DEBUG: data: 30 54 30 30 3a 30 30 3a 0T00:00:
2004-04-19 10:36:27 [3] DEBUG: data: 30 30 5a 22 3e 0a 20 20 00Z">.
2004-04-19 10:36:27 [3] DEBUG: data: 20 20 20 20 20 20 20 20
2004-04-19 10:36:27 [3] DEBUG: data: 20 20 20 20 20 20 57 61 Wa
2004-04-19 10:36:27 [3] DEBUG: data: 6e 74 20 74 6f 20 74 65 nt to te
2004-04-19 10:36:27 [3] DEBUG: data: 73 74 20 61 20 66 65 74 st a fet
2004-04-19 10:36:27 [3] DEBUG: data: 63 68 3f 0a 20 20 20 20 ch?.
2004-04-19 10:36:27 [3] DEBUG: data: 3c 2f 69 6e 64 69 63 61 </indica
2004-04-19 10:36:27 [3] DEBUG: data: 74 69 6f 6e 3e 0a 3c 2f tion>.</
2004-04-19 10:36:27 [3] DEBUG: data: 73 69 3e 0a 0d 0a 2d 2d si>...--
2004-04-19 10:36:27 [3] DEBUG: data: 61 73 64 6c 66 6b 6a 69 asdlfkji
2004-04-19 10:36:27 [3] DEBUG: data: 75 72 77 67 68 61 73 66 urwghasf
2004-04-19 10:36:27 [3] DEBUG: data: 0d 0a 43 6f 6e 74 65 6e ..Conten
2004-04-19 10:36:27 [3] DEBUG: data: 74 2d 54 79 70 65 3a 20 t-Type:
2004-04-19 10:36:27 [3] DEBUG: data: 74 65 78 74 2f 76 6e 64 text/vnd
2004-04-19 10:36:27 [3] DEBUG: data: 2e 77 61 70 2e 73 69 0d .wap.si.
2004-04-19 10:36:27 [3] DEBUG: data: 0a 0a 3c 3f 78 6d 6c 20 ..<?xml
2004-04-19 10:36:27 [3] DEBUG: data: 76 65 72 73 69 6f 6e 3d version=
2004-04-19 10:36:27 [3] DEBUG: data: 22 31 2e 30 22 3f 3e 0a "1.0"?>.
2004-04-19 10:36:27 [3] DEBUG: data: 3c 21 44 4f 43 54 59 50 <!DOCTYP
2004-04-19 10:36:27 [3] DEBUG: data: 45 20 70 61 70 20 50 55 E pap PU
2004-04-19 10:36:27 [3] DEBUG: data: 42 4c 49 43 20 22 2d 2f BLIC "-/
2004-04-19 10:36:27 [3] DEBUG: data: 2f 57 41 50 46 4f 52 55 /WAPFORU
2004-04-19 10:36:27 [3] DEBUG: data: 4d 2f 2f 44 54 44 20 50 M//DTD P
2004-04-19 10:36:27 [3] DEBUG: data: 41 50 2f 2f 45 4e 22 20 AP//EN"
2004-04-19 10:36:27 [3] DEBUG: data: 22 68 74 74 70 3a 2f 2f "http://
2004-04-19 10:36:27 [3] DEBUG: data: 77 77 77 2e 77 61 70 66 www.wapf
2004-04-19 10:36:27 [3] DEBUG: data: 6f 72 75 6d 2e 6f 72 67 orum.org
2004-04-19 10:36:27 [3] DEBUG: data: 2f 44 54 44 2f 70 61 70 /DTD/pap
2004-04-19 10:36:27 [3] DEBUG: data: 5f 31 2e 30 2e 64 74 64 _1.0.dtd
2004-04-19 10:36:27 [3] DEBUG: data: 22 3e 0a 3c 70 61 70 3e ">.<pap>
2004-04-19 10:36:27 [3] DEBUG: data: 0a 20 20 3c 70 75 73 68 . <push
2004-04-19 10:36:27 [3] DEBUG: data: 2d 6d 65 73 73 61 67 65 -message
2004-04-19 10:36:27 [3] DEBUG: data: 20 70 75 73 68 2d 69 64 push-id
2004-04-19 10:36:27 [3] DEBUG: data: 3d 22 39 66 6a 65 6f 33 ="9fjeo3
2004-04-19 10:36:27 [3] DEBUG: data: 39 6a 66 30 38 34 40 70 [EMAIL PROTECTED]
2004-04-19 10:36:27 [3] DEBUG: data: 69 2e 63 6f 6d 22 0a 20 i.com".
2004-04-19 10:36:27 [3] DEBUG: data: 20 64 65 6c 69 76 65 72 deliver
2004-04-19 10:36:27 [3] DEBUG: data: 2d 62 65 66 6f 72 65 2d -before-
2004-04-19 10:36:27 [3] DEBUG: data: 74 69 6d 65 73 74 61 6d timestam
2004-04-19 10:36:27 [3] DEBUG: data: 70 3d 22 32 30 30 34 2d p="2004-
2004-04-19 10:36:27 [3] DEBUG: data: 30 34 2d 31 36 54 31 32 04-16T12
2004-04-19 10:36:27 [3] DEBUG: data: 3a 34 35 3a 30 30 5a 22 :45:00Z"
2004-04-19 10:36:27 [3] DEBUG: data: 0a 20 20 64 65 6c 69 76 . deliv
2004-04-19 10:36:27 [3] DEBUG: data: 65 72 2d 61 66 74 65 72 er-after
2004-04-19 10:36:27 [3] DEBUG: data: 2d 74 69 6d 65 73 74 61 -timesta
2004-04-19 10:36:27 [3] DEBUG: data: 6d 70 3d 22 32 30 30 34 mp="2004
2004-04-19 10:36:27 [3] DEBUG: data: 2d 30 34 2d 32 38 54 31 -04-28T1
2004-04-19 10:36:27 [3] DEBUG: data: 32 3a 35 35 3a 30 30 5a 2:55:00Z
2004-04-19 10:36:27 [3] DEBUG: data: 22 0a 20 20 70 72 6f 67 ". prog
2004-04-19 10:36:27 [3] DEBUG: data: 72 65 73 73 2d 6e 6f 74 ress-not
2004-04-19 10:36:27 [3] DEBUG: data: 65 73 2d 72 65 71 75 65 es-reque
2004-04-19 10:36:27 [3] DEBUG: data: 73 74 65 64 3d 22 66 61 sted="fa
2004-04-19 10:36:27 [3] DEBUG: data: 6c 73 65 22 3e 0a 20 20 lse">.
2004-04-19 10:36:27 [3] DEBUG: data: 20 20 3c 61 64 64 72 65 <addre
2004-04-19 10:36:27 [3] DEBUG: data: 73 73 20 61 64 64 72 65 ss addre
2004-04-19 10:36:27 [3] DEBUG: data: 73 73 2d 76 61 6c 75 65 ss-value
2004-04-19 10:36:27 [3] DEBUG: data: 3d 22 57 41 50 50 55 53 ="WAPPUS
2004-04-19 10:36:27 [3] DEBUG: data: 48 3d 2b 33 35 38 34 30 H=+35840
2004-04-19 10:36:27 [3] DEBUG: data: 38 36 37 36 30 30 31 2f 8676001/
2004-04-19 10:36:27 [3] DEBUG: data: 54 59 50 45 3d 50 4c 4d TYPE=PLM
2004-04-19 10:36:27 [3] DEBUG: data: 4e 40 70 70 67 2e 63 61 [EMAIL PROTECTED]
2004-04-19 10:36:27 [3] DEBUG: data: 72 72 69 65 72 2e 63 6f rrier.co
2004-04-19 10:36:27 [3] DEBUG: data: 6d 22 3e 0a 20 20 20 20 m">.
2004-04-19 10:36:27 [3] DEBUG: data: 3c 2f 61 64 64 72 65 73 </addres
2004-04-19 10:36:27 [3] DEBUG: data: 73 3e 0a 20 20 20 20 3c s>. <
2004-04-19 10:36:27 [3] DEBUG: data: 71 75 61 6c 69 74 79 2d quality-
2004-04-19 10:36:27 [3] DEBUG: data: 6f 66 2d 73 65 72 76 69 of-servi
2004-04-19 10:36:27 [3] DEBUG: data: 63 65 0a 20 20 20 20 70 ce. p
2004-04-19 10:36:27 [3] DEBUG: data: 72 69 6f 72 69 74 79 3d riority=
2004-04-19 10:36:27 [3] DEBUG: data: 22 6c 6f 77 22 0a 20 20 "low".
2004-04-19 10:36:27 [3] DEBUG: data: 20 20 64 65 6c 69 76 65 delive
2004-04-19 10:36:27 [3] DEBUG: data: 72 79 2d 6d 65 74 68 6f ry-metho
2004-04-19 10:36:27 [3] DEBUG: data: 64 3d 22 75 6e 63 6f 6e d="uncon
2004-04-19 10:36:27 [3] DEBUG: data: 66 69 72 6d 65 64 22 0a firmed".
2004-04-19 10:36:27 [3] DEBUG: data: 20 20 20 20 6e 65 74 77 netw
2004-04-19 10:36:27 [3] DEBUG: data: 6f 72 6b 2d 72 65 71 75 ork-requ
2004-04-19 10:36:27 [3] DEBUG: data: 69 72 65 64 3d 22 74 72 ired="tr
2004-04-19 10:36:27 [3] DEBUG: data: 75 65 22 0a 20 20 20 20 ue".
2004-04-19 10:36:27 [3] DEBUG: data: 6e 65 74 77 6f 72 6b 3d network=
2004-04-19 10:36:27 [3] DEBUG: data: 22 47 53 4d 22 0a 20 20 "GSM".
2004-04-19 10:36:27 [3] DEBUG: data: 20 20 62 65 61 72 65 72 bearer
2004-04-19 10:36:27 [3] DEBUG: data: 2d 72 65 71 75 69 72 65 -require
2004-04-19 10:36:27 [3] DEBUG: data: 64 3d 22 74 72 75 65 22 d="true"
2004-04-19 10:36:27 [3] DEBUG: data: 0a 20 20 20 20 62 65 61 . bea
2004-04-19 10:36:27 [3] DEBUG: data: 72 65 72 3d 22 53 4d 53 rer="SMS
2004-04-19 10:36:27 [3] DEBUG: data: 22 3e 0a 20 20 20 20 3c ">. <
2004-04-19 10:36:27 [3] DEBUG: data: 2f 71 75 61 6c 69 74 79 /quality
2004-04-19 10:36:27 [3] DEBUG: data: 2d 6f 66 2d 73 65 72 76 -of-serv
2004-04-19 10:36:27 [3] DEBUG: data: 69 63 65 3e 0a 20 20 3c ice>. <
2004-04-19 10:36:27 [3] DEBUG: data: 2f 70 75 73 68 2d 6d 65 /push-me
2004-04-19 10:36:27 [3] DEBUG: data: 73 73 61 67 65 3e 0a 3c ssage>.<
2004-04-19 10:36:27 [3] DEBUG: data: 2f 70 61 70 3e 0a 0d 0a /pap>...
2004-04-19 10:36:27 [3] DEBUG: data: 2d 2d 61 73 64 6c 66 6b --asdlfk
2004-04-19 10:36:27 [3] DEBUG: data: 6a 69 75 72 77 67 68 61 jiurwgha
2004-04-19 10:36:27 [3] DEBUG: data: 73 66 2d 2d 0d 0a sf--..
2004-04-19 10:36:27 [3] DEBUG: Octet string dump ends.
2004-04-19 10:36:27 [2] DEBUG: HTTP: Status line: <HTTP/1.1 200 Foo>
2004-04-19 10:36:27 [1] DEBUG: TEST_PPG: push 0 done: reply from,
http://127.0.0.1:8080/cgi-bin/wap-push.cgi
Entity: line 1: error: Start tag expected, '<' not found
Sent.
^
2004-04-19 10:36:27 [1] WARNING: PAP COMPILER: pap_compile: parse error in
pap source
2004-04-19 10:36:27 [1] WARNING: TEST_PPG: receive_push_reply: cannot
compile pap message
2004-04-19 10:36:27 [1] INFO: TEST_PPG: In thread 1 0 succeeded, 1 failed
2004-04-19 10:36:27 [1] DEBUG: Thread 1 (test/test_ppg.c:push_thread)
terminates.
2004-04-19 10:36:27 [0] INFO: TEST_PPG: 1 requests in 0.000000 seconds, inf
requests per second
2004-04-19 10:36:27 [0] DEBUG: Waiting for 3
(gwlib/http.c:write_request_thread) to terminate
2004-04-19 10:36:27 [3] DEBUG: Thread 3 (gwlib/http.c:write_request_thread)
terminates.
2004-04-19 10:36:27 [2] DEBUG: Thread 2 (gwlib/fdset.c:poller) terminates.
2004-04-19 10:36:27 [0] DEBUG: Immutable octet strings: 10.
----------------------------------------------------------------------------
it is giving the error "Start tag expected, '<' not found......
can anybody help me to identify where the problem is????? for the PPG
push......
Note that basic SMS push works when I try the command
GET
"http://127.0.0.1:13013/cgi-bin/sendsms?username=mt2000&password=mt2000&to=9
19844309094&text=The quick brown fox jumps over the lazy dog"
--
This message has been scanned for viruses and
dangerous content by Kaspersky on bpl Server, and is
believed to be clean.
bpl www.kaspersky.com
.