Aarno,
In response to your question, yes it is test_http_server.c that return "Hello World", we fixed the typo in our kannel.conf file. After that when we are using the test_ppg program, everything seems Ok, we do not get any error message. We do not receive anything to our mobile phone.
My question is what is suppose to happen, when you run the test_ppg program.
Regards
TZ
-----Original Message-----
From: Aarno Syv�nen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 30, 2002 5:55 AM
To: Torbjorn Zetterlund
Cc: '[EMAIL PROTECTED]'
Subject: Re: WAP -Push
Hi,
> Torbjorn Zetterlund wrote:
>
> Hi,
>
> We got a problem when testing wap-push, we thought we did the right
> thing by following the manual in details. But it seems we may have
> misunderstood something during the way.
>
> We took the sample pushkannel.conf file an modified to fit our
> internal testing, basically replacing all ip with localhost, we
> running on a localhost with no internet connection. Everything runs up
> ok, we start the test_ppg_server -p 10022 and execute the test_ppg -q
> http://localhost:10022 content.txt control.txt .
>
> content.txt and control.txt is in accordance to the default values
> shown in the manual.
Can you send these ? What version are you using ?
>
> Every time we run the test_ppg we get the same error
> Debug: TEST_PPG Push 0 done: reply from
> http://localhost:10022?username=foo&password=bar
> Entity: Line 1: error: Start tag expected, '<' not found
> hello, world
> ^
> warning: PaP Compiler pap-compile pap message
> warning Test-PPG receive_push_reply: cannot compile pap message
Some other server is interfering (hello world server perhaps)
>
> My question are:
> Is this error caused by the system not finding the "content file"
> In the Kannel configuration file pushkannel, there is a reference in
> the SMSC part of the configuration to a send-url . What do we enter
> here, our local sms gateway that will send out the wappush over an sms
> message.
Pushkannel.conf uses HTTP SMSC, it is, it makes a http request for
services
of a SMS manager. For testing purpose, you can use Kannel's
test_http_server
program from test directory. It will dump cgi vars, so you can check was
the
request correct.
>
> Correct me if I am wrong The test_ppg tool push the file content using
> the control.txt to the test_ppg_server, the kannel wapbox fetches the
> message and start the push which is sent to the smsbox specified and
> sent to the SMSC. If this is the case I can change the SMSC to my GSM
> Modem and can push it out to a handset.
Yes. You can use GSM modem as a virtual SMSC. Configure at smsc as
specified
in the userguide (autodetection of the modem works nicely.)
aarno
