I am ready to help debugging the problem. (Wrote the code, too.)
Aarno
On Tuesday, March 11, 2003, at 05:40 AM, sunil baburaoji wrote:
Hi Mark,
You need to modify pap file in order take place this. You have to change the delivery-method to confirmed. Sample file i am mentioning below. But confirmed doesn't works with kannel, it has some problem. Just check it out, i case you have some luck.
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]" app-id="X-WAP-Application-Id: push.sia" deliver-before-timestamp="2003-04-04T06:45:00Z" deliver-after-timestamp="2000-02-19T06:45:00Z" progress-notes-requested="true"
<address
address-value="WAPPUSH=192.168.1.19/[EMAIL PROTECTED]"</address>
<quality-of-service priority="low" delivery-method="confirmed" network-required="true" network="GSM" bearer-required="true" bearer="CSD"</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 action="signal-high" href="http://wap.yahoo.com" created="2002-05-01T12:00:00Z" si-expires="2003-05-02T12:00:00Z"
PUSH TESTING MESSAGE This is second message. This is the third message. Yeh AKhir message hai.
</indication> </si>
Rgds sunil
-----Original Message----- From: Mark Allison [mailto:[EMAIL PROTECTED] Sent: 11 March 2003 00:01 To: [EMAIL PROTECTED] Subject: Session Request
Looking at the wap_push_* source files, the Kannel PPG is capable of generating a Session Initiation Request (SIR) using an S-Unit-Push-req via the make_session_request function in wap_push-ota.c.
How do I initiate such a request? I've tried sending Service Indication
and ServiceLoading messages using test_ppg, but these don't seem to
generate a session request.
I'm running Kannel 1.2.1.
Cheers
Mark
