Hello,

there is a bug in ppg, it sends host header to the phone, even though this one
is meaningful only for pi->ppg transaction. So can you add function call http_
header_remove_all(push_headers, "Host") into module gw/wap_push_ppg.c,
into function pap_request thread, before test if (!headers_acceptable).

Aarno

On Saturday, November 16, 2002, at 01:13 PM, Szymon Stasik wrote:

Hello,

I'm tring the wap push service with different phones. It works for me with all newer ericssons, nokia 3410, 6310, motorola v66, however I have a problem with siemens me45 and mt50 (same as m50). Kannel version is 1.2.0

the problem is that wap push message shows in sms inbos as data mesasge containing some strange characters ending with something like 'Host' header and sending user agent.

While checking push settings in a phone - everyting seems to be ok - full access for receiving push messages.

maybe someone have some test example that works with siemens?

I am using folowing test (problem exists for both si and sl messages; all works for any other phones):

$test_ppg -c si http://127.0.0.1:8181/cgi-bin/wap-push.cgi?username=***'&'password=*** si.xml pap.xml

here is data http-posted to kannel:

POST /cgi-bin/wap-push.cgi?username=***&password=*** HTTP/1.1
Host: 127.0.0.1:8181
Content-Type: multipart/related; boundary=asdlfkjiurwghasf; type="application/xml"
X-WAP-Application-Id: http://www.efigence.com:*
Content-Length: 1175


--asdlfkjiurwghasf
Content-Type: application/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="2002-11-28T06:45:00Z"
deliver-after-timestamp="2002-10-28T06:45:00Z"
progress-notes-requested="false">
<address
address-value="[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>


--asdlfkjiurwghasf
Content-Type: text/vnd.wap.si
<?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.sth.pl/test/g.wml";
si-id="[EMAIL PROTECTED]"
action="signal-high"
created="2002-10-28T15:23:15Z"
si-expires="2002-11-28T00:00:00Z">
Some tested content
</indication>
</si>


--asdlfkjiurwghasf--



regards,

Szymon





Reply via email to