Hello Everybody,

Plz Help Me

I am under a project relating to WAP Push, heard alot about kannel.We have
an SMS server running. Developed in Java.Problem is that i want to use the
functionality of PPG of kannel with our SMS Server.I got success in WAP PUSH
with IPv4 type but when i tried with PLMN Type i got success on test_ppg but
get error in wapbox and bearer box. My aim is to use ONLY PPG Part of Kannel
with our SMS Server.
Logs Details are following:

TEST_PPG LOG
------------
2007-11-26 16:48:19 [28989] [1] DEBUG: PAP COMPILER: doing semantic analysis
for address type unknown address
2007-11-26 16:48:19 [28989] [1] DEBUG: using defaults instead of anys
2007-11-26 16:48:19 [28989] [1] DEBUG: TEST_PPG: and type push response
2007-11-26 16:48:19 [28989] [1] INFO: TEST_PPG: In thread 1 1 succeeded, 0
failed
2007-11-26 16:48:19 [28989] [1] DEBUG: Thread 1
(test/test_ppg.c:push_thread) terminates.
2007-11-26 16:48:19 [28989] [0] INFO: TEST_PPG: 1 requests in
0.000000seconds, inf requests per second
2007-11-26 16:48:19 [28989] [0] DEBUG: Waiting for 3
(gwlib/http.c:write_request_thread) to terminate
2007-11-26 16:48:19 [28989] [3] DEBUG: Thread 3
(gwlib/http.c:write_request_thread) terminates.
2007-11-26 16:48:19 [28989] [2] DEBUG: Thread 2 (gwlib/fdset.c:poller)
terminates.
2007-11-26 16:48:19 [28989] [0] DEBUG: Immutable octet strings: 43.

WAPBOX LOG
----------

2007-11-26 17:06:45 [29028] [0] INFO:
------------------------------------------------------------
2007-11-26 17:06:45 [29028] [0] INFO: Kannel wapbox version 1.4.1 starting
up.
2007-11-26 17:06:45 [29028] [0] INFO: HTTP: Opening server at port 8080.
2007-11-26 17:06:45 [29028] [0] INFO: Connected to bearerbox at
127.0.0.1port 13002.
2007-11-26 17:19:25 [29028] [14] WARNING: Your ppg core configuration allow
all ips
2007-11-26 17:19:25 [29028] [14] INFO: PPG: Accept request </wappush> from <
xxx.xxx.xxx.xxx>
2007-11-26 17:19:25 [29028] [14] INFO: client address was <+xxxxxxxxxxxx>,
accepted
2007-11-26 17:19:25 [29028] [14] INFO: PPG: handle_push_message: push
message accepted for processing
2007-11-26 17:19:25 [29028] [14] INFO: PPG: unconfirmed push delivered to
OTA
2007-11-26 17:19:25 [29028] [0] WARNING: Received other message than
wdp/admin, ignoring!

BEARERBOX LOG
-------------

2007-11-26 17:06:39 [29017] [0] INFO: Debug_lvl = 1, log_file = <none>,
log_lvl = 0
2007-11-26 17:06:39 [29017] [0] WARNING: DLR: using default 'internal' for
storage type.
2007-11-26 17:06:39 [29017] [0] INFO: DLR using storage type: internal
2007-11-26 17:06:39 [29017] [0] INFO: HTTP: Opening server at port 13000.
2007-11-26 17:06:39 [29017] [0] INFO: Adding interface *
2007-11-26 17:06:39 [29017] [0] INFO:
----------------------------------------
2007-11-26 17:06:39 [29017] [0] INFO: Kannel bearerbox II version 1.4.1starting
2007-11-26 17:06:39 [29017] [0] INFO: MAIN: Start-up done, entering mainloop
2007-11-26 17:06:45 [29017] [9] INFO: Client connected from <127.0.0.1>
2007-11-26 17:19:25 [29017] [11] WARNING: No SMSCes to receive message
2007-11-26 17:19:25 [29017] [11] WARNING: Message rejected by bearerbox, no
router!


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="http://xxx.xxx.xxx.xxx/x/xx/x.gif"; si-id="[EMAIL PROTECTED]"
action="signal-high" created="2002-01-13T01:33:09Z"
si-expires="2008-11-30T17:00:00Z">
 Images For You
</indication>
</si>

my_nucnfpap.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="2008-11-30T06:45:00Z"
deliver-after-timestamp="2007-09-28T06:45:00Z"
progress-notes-requested="false">
<address address-value="WAPPUSH=+xxxxxxxxxxxx/[EMAIL PROTECTED]"/>
<quality-of-service
 priority="low"
 delivery-method="unconfirmed"
 network-required="true"
 network="GSM"
 bearer-required="true"
 bearer="SMS"/>
</push-message>
</pap>

wapkannel.conf are same as mentioned in ibm site..Plz help me out...

Harish Singh Negi

Reply via email to