Hi

  I could resolve this problem myself today J

Though I still have another issue that, the PUSH message is not delivered to my Nokia 7210 SDK simulator.

The wapbox console trace is given below.

 

2006-01-25 20:09:29 [30875] [14] INFO: PPG: Accept request </wappush> from <127.0.0.1>

2006-01-25 20:09:29 [30875] [14] DEBUG: PPG: http_read_thread: pap multipart accepted

2006-01-25 20:09:29 [30875] [14] INFO: client address was <10.10.10.119>, accepted

2006-01-25 20:09:29 [30875] [14] DEBUG: PAP COMPILER: doing semantic analysis for address type a IPv4 address

2006-01-25 20:09:29 [30875] [14] DEBUG: using defaults instead of anys

2006-01-25 20:09:29 [30875] [14] DEBUG: PPG: http_read_thread: pap control entity compiled ok

2006-01-25 20:09:29 [30875] [14] DEBUG: PPG: transform_message: push message content and headers valid

2006-01-25 20:09:29 [30875] [14] DEBUG: PPG: push machine 0 created

2006-01-25 20:09:29 [30875] [14] DEBUG: PPG: store_push_data: push machine 0 appended to unit push list

2006-01-25 20:09:29 [30875] [14] DEBUG: PPG: send_push_response: telling pi

2006-01-25 20:09:29 [30875] [14] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'.

2006-01-25 20:09:29 [30875] [14] INFO: PPG: handle_push_message: push message accepted for processing

2006-01-25 20:09:29 [30875] [14] DEBUG: PPG: OTA request for unit push

2006-01-25 20:09:29 [30875] [14] INFO: PPG: unconfirmed push delivered to OTA

2006-01-25 20:09:29 [30875] [14] DEBUG: PPG: destroying push machine 0

2006-01-25 20:09:29 [30875] [9] DEBUG: OTA: event arrived

2006-01-25 20:09:29 [30875] [9] DEBUG: OTA: made connectionless session service request

2006-01-25 20:09:29 [30875] [2] DEBUG: WSP (UNIT): event arrived

2006-01-25 20:09:29 [30875] [2] DEBUG: WSP_UNIT: Connectionless push accepted

2006-01-25 20:09:29 [30875] [2] DEBUG: WSP: Mapping `application/vnd.wap.sic', WSP 1.2 to 0x002e.

2006-01-25 20:09:29 [30875] [2] DEBUG: WSP: Mapping `Content-Length', WSP 1.3 to 0x000d.

2006-01-25 20:09:29 [30875] [2] DEBUG: WSP: Mapping `Content-Type', WSP 1.3 to 0x0011.

2006-01-25 20:09:29 [30875] [2] DEBUG: WSP: Mapping `Encoding-Version', WSP 1.3 to 0x0043.

2006-01-25 20:09:29 [30875] [2] DEBUG: WSP (UNIT): delivering to wdp

2006-01-25 20:09:29 [30875] [10] DEBUG: HTTP: Destroying HTTPClient area 0x857ee68.

2006-01-25 20:09:29 [30875] [10] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.

 

And the bearerbox console shows,

 

2006-01-25 20:09:28 [30850] [17] INFO: Client connected from <127.0.0.1>

2006-01-25 20:09:28 [30850] [17] DEBUG: setting up systems for new wapbox

2006-01-25 20:09:28 [30850] [17] DEBUG: Started thread 18 (gw/bb_boxc.c:boxc_sender)

2006-01-25 20:09:28 [30850] [18] DEBUG: Thread 18 (gw/bb_boxc.c:boxc_sender) maps to pid 30850.

2006-01-25 20:09:29 [30850] [17] DEBUG: boxc_receiver: got wdp from wapbox

2006-01-25 20:09:29 [30850] [9] DEBUG: udp: sending message

 

It seems that the Kannel is trying to send the message and is in infinite loop????

Am I missing anything again here????

 

Any help in this regard is appreciated J

 

Thanks

Ajay

 

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ajay Kanukuntla
Sent: Wednesday, January 25, 2006 2:29 PM
To: [email protected]
Subject: URGENT HELP: PPG configuration for WAP Push

 

Hello

  I could configure and work with the Kannel SMS gateway successfully. Now, I am trying to setup the PPG server for doing WAP Push. I have some problem when trying to push a test message. It’s failing with message “ERROR: push failed, service not found” at console of test_ppg program.

 

The trace on wapbox console shows,

 

2006-01-25 14:46:33 [28403] [0] INFO: Connected to bearerbox at localhost port 13002.

2006-01-25 14:46:33 [28403] [0] DEBUG: Started thread 15 (gw/heartbeat.c:heartbeat_thread)

2006-01-25 14:46:33 [28403] [15] DEBUG: Thread 15 (gw/heartbeat.c:heartbeat_thread) maps to pid 28403.

2006-01-25 14:46:41 [28403] [11] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.

2006-01-25 14:46:41 [28403] [14] ERROR: Request </> from <127.0.0.1>: service not found

2006-01-25 14:46:41 [28403] [14] DEBUG: your configuration uses /wappush

2006-01-25 14:46:41 [28403] [14] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'.

2006-01-25 14:46:41 [28403] [10] DEBUG: HTTP: Destroying HTTPClient area 0x94b1bf8.

2006-01-25 14:46:41 [28403] [10] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.

 

  I was following the document from the IBM site, http://www-128.ibm.com/developerworks/wireless/library/wi-proxy.html

 

I am using the test_ppg program to push a message,

./test_ppg -q http://localhost:8080 si.xml my_uncnfpap.xml

 

The kannel bearerbox and wapbox run on the same machine. I have a Nokia 7210 running on other IP address, 10.10.10.119 which is configured. The content xml si.xml and control file my_uncnfpap.xml are shown below.

 

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="">

        si-id="[EMAIL PROTECTED]"

        action="">

        created="2006-01-18T01:33:09Z"

        si-expires="2006-05-31T00:00:00Z">

        Want to test a fetch?

  </indication>

</si>

 

 

 

Control file: my_uncnfpap.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="2006-09-28T06:45:00Z"

        deliver-after-timestamp="2006-01-18T06:45:00Z"

        progress-notes-requested="false">

<address address-value="WAPPUSH=http://10.10.10.119/[EMAIL PROTECTED]"/>

<quality-of-service

        priority="low"

        delivery-method="unconfirmed"

        network-required="true"

        network="GSM"

        bearer-required="true"

        bearer="CSD"/>

</push-message>

</pap>  

 

Thanks

Ajay

 

Reply via email to