Still the same mime content error even with current builds just following the user guide. System is Cygwin/NT4 WS using a T68 as the SMSC. Heres exactly what I do right from getting a clean kannel install (doing it again as I type this!!!)
extract to /usr/local/kannel_snapshot ./configure ./make ./make install edit gw/pushkannel.conf to remove these lines from group smsc: smsc = http smsc-id = HTTP port = 10000 and add these plus the t68 modem def: smsc = at2 modemtype = ericsson_t68 device = COM4 then cd gw ./bearerbox.exe pushkannel.conf (see "AT" messages, looks ok) (New session) ./wapbox.exe pushkannel.conf (complains about whitebox & blackbox absent from port 8082, otherwise ok (New session) cd test ./test_http_server -p 8080 With a web browser I go to http://localhost:8080/cgi-bin/wap-push.cgi and get "sent". Thats just an "alive" test, looks ok(?) Then (New session) ./test_ppg http://localhost:8080/cgi-bin/wap-push.cgi si.xml papcontrol.xml The test_http_server log shows: 2002-08-29 12:20:31 [1] DEBUG: HTTP: Destroying HTTPClient area 0x100be730. 2002-08-29 12:20:31 [1] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. 2002-08-29 12:20:31 [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2002-08-29 12:20:31 [1] ERROR: HTTP: Content-Length header wrong: <: 1184> 2002-08-29 12:20:31 [1] DEBUG: HTTP: Destroying HTTPClient area 0x100be6a0. The wapbox shows: 2002-08-29 12:20:31 [3] DEBUG: Octet string dump ends. 2002-08-29 12:20:31 [2] ERROR: Couldn't fetch <http://localhost:8080/cgi-bin/wap-push.cgi> 2002-08-29 12:20:31 [1] ERROR: push failed, no reason found 2002-08-29 12:20:31 [1] INFO: TEST_PPG: In thread 1 0 succeeded, 1 failed 2002-08-29 12:20:31 [1] DEBUG: Thread 1 (test/test_ppg.c:push_thread) terminate. 2002-08-29 12:20:31 [0] INFO: TEST_PPG: 1 requests in 1.000000 seconds, 1.00000 requests per second Here is 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> Here is papcontrol.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="2001-09-28T06:45:00Z" deliver-after-timestamp="2001-02-28T06:45:00Z" progress-notes-requested="false"> <address address-value="WAPPUSH [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> So this is the 2 examples from the manual plus a small change to the supplied conf file with a cvs release from this morning! Everything else is standard kannel. Aarrgh, please, someone put me out of my misery!! 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
