Hi, System is Cygwin/NT4 with Kannel snapshot taken 21-AUG-2002 with T68i as GSM modem. Can send SMS, OTA and recieve SMS services ok. I've never tried WAP push but fail miserably :-( Its almost exactly the example in the docs.
Heres what I do: Start bearerbox Start smsbox Start wapbox test_http_server -p 8080 (I can see this in web browser & its log shows its connected) Then my wap push attempt: ./test_ppg -q http://localhost:8080 si.xml iptestppg.txt Here is the error: <snipped> 2002-08-21 09:22:13 [3] DEBUG: data: 61 73 64 6c 66 6b 6a 69 asdlfkji 2002-08-21 09:22:13 [3] DEBUG: data: 75 72 77 67 68 61 73 66 urwghasf 2002-08-21 09:22:13 [3] DEBUG: data: 2d 2d 0d 0a --.. 2002-08-21 09:22:13 [3] DEBUG: Octet string dump ends. 2002-08-21 09:22:13 [2] ERROR: Couldn't fetch <http://localhost:8080> 2002-08-21 09:22:13 [1] ERROR: push failed, no reason found 2002-08-21 09:22:13 [1] INFO: TEST_PPG: In thread 1 0 succeeded, 1 failed 2002-08-21 09:22:13 [1] DEBUG: Thread 1 (test/test_ppg.c:push_thread) terminates . 2002-08-21 09:22:13 [0] INFO: TEST_PPG: 1 requests in 2.000000 seconds, 0.500000 requests per second 2002-08-21 09:22:13 [0] DEBUG: Waiting for 3 (gwlib/http.c:write_request_thread) to terminate 2002-08-21 09:22:13 [3] DEBUG: Thread 3 (gwlib/http.c:write_request_thread) term inates. 2002-08-21 09:22:13 [2] DEBUG: Thread 2 (gwlib/fdset.c:poller) terminates. 2002-08-21 09:22:13 [0] DEBUG: Immutable octet strings: 8. Here is the http log: 2002-08-21 09:22:13 [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2002-08-21 09:22:13 [1] ERROR: HTTP: Content-Length header wrong: <: 1186> 2002-08-21 09:22:13 [1] DEBUG: HTTP: Destroying HTTPClient area 0x100beb70. 2002-08-21 09:22:13 [1] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. My question is - are my arguments to test_ppg and and test_http_server ok? For completeness, here are the control docs: 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-medium" created="1999-06-25T15:23:15Z" si-expires="2002-06-30T00:00:00Z"> Want to test a fetch? </indication> </si> iptestppg.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="2005-10-31T06:45:00Z" deliver-after-timestamp="2001-02-28T06:45:00Z" progress-notes-requested="false"> <address address-value="WAPPUSH=+44 (my phone no)[EMAIL PROTECTED]"> </address> <quality-of-service priority="low" delivery-method="unconfirmed" bearer-required="true" bearer="CSD" network-required="true" network="GSM"> </quality-of-service> </push-message> </pap> Thanks! _______________________________________________________________________ Freeserve AnyTime, only £13.99 per month with one month's FREE trial! For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890