Hi Mary,

As you said you are using confirmed method, but in your
pap control file nothing is mentioned whether it's 
confirmed method or unconfirmed method. Use following 
file and make correspoding changes and try it out.

<?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="2003-04-04T06:45:00Z"
        deliver-after-timestamp="2000-02-27T06:45:00Z"
        progress-notes-requested="true"
        >

        <address
 
address-value="WAPPUSH=192.168.1.19/[EMAIL PROTECTED]"
                >
        </address>

        <quality-of-service
                priority="low"
                delivery-method="unconfirmed"
                network-required="true"
                network="GSM"
                bearer-required="true"
                bearer="SMS"
                />

  </push-message>
</pap>

BR
sunil


-----Original Message-----
From: Mary McCarter [mailto:[EMAIL PROTECTED]
Sent: 02 April 2003 21:19
To: sunil baburaoji
Cc: [EMAIL PROTECTED]
Subject: RE: wap push alert


Hi Sunil,
Thanks for your help

I'm not sure if you have received my last mail because I had some
problems 
with my mail.
-My gateway version: 1.3.1
-Method: confirmed, I was trying with unconfirmed method but I don't get
my 
phone to receive an alarm, so I want to try with a confirmed method, but
I 
don't know well how to do it.
-My testing phone is a i550 plus Motorola by now and it uses WTLS, do
you 
have any experience with a idem Motorola?

I try many ways and differents configuration and control files, I don't
see 
any error in the debug, but my telephone doesn't receive any alert,yet.
I'm using the kannel 1.3.1 and the patch kwtls.
I don't know if it is a problem that my phone use WTLS. When I send an
alert 
I don't see that the kwtls patch was involved in the process! WTLS would
be 
a problem to use kannel ppg, it could be a cause why my phone don't
receive 
an alert when I send one?

I'm sending you my conf file and my queries, please let me know if I'm
doing 
something wrong, I will very grateful with any comment.

Regards,
Mary


*****************************************************************
This is the output I'm getting from test_ppg:

[EMAIL PROTECTED] test]# ./test_ppg -q 
http://172.24.249.44:3128/cgi-bin/wappush.cgi?username=foo'&'password=ba
r 
SI.xml PAP.xml
2003-04-01 18:52:58 [0] INFO: an input without a configuration file
assumed
2003-04-01 18:52:58 [0] DEBUG: using SI.xml as a content file
2003-04-01 18:52:58 [0] DEBUG: using PAP.xml as a control file
2003-04-01 18:52:58 [0] DEBUG: Started thread 1 
(test/test_ppg.c:push_thread)
2003-04-01 18:52:58 [1] DEBUG: TEST_PPG: starting to push job 0
2003-04-01 18:52:58 [1] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2003-04-01 18:52:58 [1] DEBUG: Started thread 3 
(gwlib/http.c:write_request_thread)
2003-04-01 18:52:58 [1] DEBUG: push done
2003-04-01 18:52:58 [3] DEBUG: HTTP: Opening connection to 
`172.24.249.44:3128' (fd=13).
2003-04-01 18:52:58 [3] DEBUG: Socket connecting
2003-04-01 18:52:58 [2] DEBUG: Get info about connecting socket
2003-04-01 18:52:58 [2] DEBUG: HTTP: Sending request:
2003-04-01 18:52:58 [2] DEBUG: Octet string at 0x812e1d0:
2003-04-01 18:52:58 [2] DEBUG:   len:  1085
2003-04-01 18:52:58 [2] DEBUG:   size: 1086
2003-04-01 18:52:58 [2] DEBUG:   immutable: 0
2003-04-01 18:52:58 [2] DEBUG:   data: 50 4f 53 54 20 2f 63 67   POST
/cg
2003-04-01 18:52:58 [2] DEBUG:   data: 69 2d 62 69 6e 2f 77 61
i-bin/wa
2003-04-01 18:52:58 [2] DEBUG:   data: 70 70 75 73 68 2e 63 67
ppush.cg
................
....................
2003-04-01 18:52:58 [2] DEBUG:   data: 3c 2f 73 69 3e 0d 0a 2d
</si>..-
2003-04-01 18:52:58 [2] DEBUG:   data: 2d 61 73 64 6c 66 6b 6a
-asdlfkj
2003-04-01 18:52:58 [2] DEBUG:   data: 69 75 72 77 67 68 61 73
iurwghas
2003-04-01 18:52:58 [2] DEBUG:   data: 66 2d 2d 0d 0a            f--..
2003-04-01 18:52:58 [2] DEBUG: Octet string dump ends.
2003-04-01 18:52:58 [2] DEBUG: HTTP: Status line: <HTTP/1.1 202 Foo>
2003-04-01 18:52:58 [1] DEBUG: TEST_PPG: push 0 done: reply from, 
http://172.24.249.44:3128/cgi-bin/wappush.cgi?username=foo&password=bar
2003-04-01 18:52:58 [1] DEBUG: PAP COMPILER: doing semantic analysis for

address type unknown address
2003-04-01 18:52:58 [1] DEBUG: using defaults instead of anys
2003-04-01 18:52:58 [1] DEBUG: TEST_PPG: and type push response
2003-04-01 18:52:58 [1] INFO: TEST_PPG: In thread 1 1 succeeded, 0
failed
2003-04-01 18:52:58 [1] DEBUG: Thread 1 (test/test_ppg.c:push_thread) 
terminates.
2003-04-01 18:52:58 [0] INFO: TEST_PPG: 1 requests in 0.000000 seconds,
inf 
requests per second
2003-04-01 18:52:58 [0] DEBUG: Waiting for 3 
(gwlib/http.c:write_request_thread) to terminate
2003-04-01 18:52:58 [3] DEBUG: Thread 3
(gwlib/http.c:write_request_thread) 
terminates.
2003-04-01 18:52:58 [2] DEBUG: Thread 2 (gwlib/fdset.c:poller)
terminates.
2003-04-01 18:52:58 [0] DEBUG: Immutable octet strings: 41.

**************************************************************
This is the output I'm getting from the wap_box:
.....................
2003-04-01 18:52:58 [11] DEBUG: HTTP: Creating HTTPClient for 
`172.24.249.44'.
2003-04-01 18:52:58 [14] DEBUG: PPG: ip_allowed_by_ppg: ip found from 
allowed list
2003-04-01 18:52:58 [14] INFO: PPG: Accept request
</cgi-bin/wappush.cgi> 
from <172.24.249.44>
2003-04-01 18:52:58 [14] DEBUG: PPG: http_read_thread: pap multipart 
accepted
2003-04-01 18:52:58 [14] INFO: client address was <10.98.146.251>,
accepted
2003-04-01 18:52:58 [14] DEBUG: PAP COMPILER: doing semantic analysis
for 
address type a IPv4 address
2003-04-01 18:52:58 [14] DEBUG: PAP COMPILER: network or bearer missing,

reverting to GSM+CSD
2003-04-01 18:52:58 [14] INFO: reverting to default bearer and network
2003-04-01 18:52:58 [14] DEBUG: PPG: http_read_thread: pap control
entity 
compiled ok
2003-04-01 18:52:58 [14] DEBUG: PPG: transform_message: push message
content 
and headers valid
2003-04-01 18:52:58 [14] DEBUG: PPG: push machine 0 created
2003-04-01 18:52:58 [14] DEBUG: PPG: store_push_data: push machine 0 
appended to unit push list
2003-04-01 18:52:58 [14] DEBUG: PPG: send_push_response: telling pi
2003-04-01 18:52:58 [14] DEBUG: HTTP: Resetting HTTPClient for 
`172.24.249.44'.
2003-04-01 18:52:58 [14] INFO: PPG: handle_push_message: push message 
accepted for processing
2003-04-01 18:52:58 [9] DEBUG: OTA: event arrived
2003-04-01 18:52:58 [9] DEBUG: OTA: made connectionless session service 
request
2003-04-01 18:52:58 [2] DEBUG: WSP_UNIT: Connectionless push accepted
2003-04-01 18:52:58 [2] DEBUG: WSP_UNIT: delivering to wdp
2003-04-01 18:52:58 [14] DEBUG: PPG: OTA request for unit push
2003-04-01 18:52:58 [14] INFO: PPG: unconfirmed push delivered to OTA
2003-04-01 18:52:58 [14] DEBUG: PPG: destroying push machine 0
2003-04-01 18:52:58 [10] DEBUG: HTTP: Destroying HTTPClient area
0x81760e8.
2003-04-01 18:52:58 [10] DEBUG: HTTP: Destroying HTTPClient for 
`172.24.249.44
********************************************************************
My kannel.conf:


# PPG CORE SETUP
group = ppg
ppg-url = /cgi-bin/wappush.cgi
ppg-port = 3128
concurrent-pushes = 100
trusted-pi = false
users = 1024
ppg-allow-ip = 127.0.0.1;172.24.249.44
global-sender = 123456
ssl-server-cert-file = "cert.pem"
ssl-server-key-file = "key.pem"

# PPG USER SETUP
group = wap-push-user
wap-push-user = foo
ppg-username = foo
ppg-password = bar

# SMSC CONNECTIONS, for pushing SI,
group = smsc
smsc = http
smsc-id = HTTP
port = 10000
system-type = kannel
smsc-username = foo
smsc-password = bar
no-sender = true
no-coding = true
send-url=http://host:port/path

# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost

*******************************************************************
and the pap.xml:
10.98.146.251 is the my phone ip.

<?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="2003-04-04T06:45:00Z"
deliver-after-timestamp="2000-02-27T06:45:00Z"
progress-notes-requested="false">
   <address 
address-value="WAPPUSH=10.98.146.251/[EMAIL PROTECTED]"></addres
s>
</push-message>
</pap>

****************************************************************









>From: "sunil baburaoji" <[EMAIL PROTECTED]>
>To: "Mary McCarter" <[EMAIL PROTECTED]>
>Subject: RE: wap push alert
>Date: Tue, 1 Apr 2003 10:09:44 +0530
>
>Hi Mary,
>
>Which gateway version you are using 1.3.1 or 1.3.0 ?
>Which method you are testing confirmed or unconfirmed ?
>If you provide answer to this i will be able to give
>answer to your query.
>
>Rgds
>sunil
>
>_________________________________________________________________
>Add photos to your messages with MSN 8. Get 2 months FREE*.
>http://join.msn.com/?page=features/featuredemail
>
>


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail


Reply via email to