Hello!

I have configured a WAP-PUSH proxy gateway. I have tried to send WAP-PUSH messages both to a real mobile phone through a virtual SMSC and to the Nokia 7210 SDK emulator. I have also tried to send the WAP-push messages both using a php script and the test_ppg program. Kannel shows no errors at all but the messages are still not delivered to the phone nor emulator. I have gone through almoust all manuals, faqs, and mailing list messages but I can't find any answer to my problem. I would be very grateful if anybody could help me with this.

I have tried to send a wap-push to the emulator with the following command:

test_ppg konfig

konfig file looks like this:
--------------------------
group = test-ppg
retries = 2
group = configuration
push-url = http://localhost:8080/wappush
pap-file = push_control.xml
content-file = push_content.xml
username = foo
password = bar


push_content.xml looks like this:
--------------------------------
<?xml version="1.0"?>
<!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN"
"http://www.wapforum.org/DTD/si.dtd";>
<si>
   <indication href="http://www.gni.ch";
       si-id="[EMAIL PROTECTED]"
       action="signal-high"
       created="1999-06-25T15:23:15Z"
       si-expires="2007-06-30T00:00:00Z">
           You have 4 new emails
   </indication>
</si>


push_control.xml looks like this:
-------------------------------
<?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-after-timestamp="2001-02-28T06:45:00Z"
 progress-notes-requested="false">
<address address-value="WAPPUSH=193.167.35.180/[EMAIL PROTECTED]">
   </address>
   <quality-of-service
   priority="low"
   delivery-method="unconfirmed"
   bearer-required="true"
   bearer="CSD"
   network-required="true"
   network="GSM">
   </quality-of-service>
 </push-message>
</pap>


Before I'm trying to send I have of course started bearerbox and wapbox.
Below are my configuration files for kannel:

-----------------------
kannel.conf
.................................

# BEARERBOX SETUP, for Kannel core operations
group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
#wdp-interface-name = "*"
log-file = "/tmp/bearerbox.log"
log-level = 1
box-allow-ip = "127.0.0.1;193.167.35.180;193.167.32.168"


# WAPBOX SETUP, for pushing and for pulling (fetching) the wap data
group = wapbox
log-level = 1
log-file = "/tmp/wapboxlog.log"
bearerbox-host = localhost
syslog-level = none


# PPG CORE SETUP, for defining the push request interface
group = ppg
ppg-url = /wappush
ppg-port = 8080
concurrent-pushes = 100
users = 1024
ppg-allow-ip = 193.167.35.180;127.0.0.1;193.167.32.168
trusted-pi = true
service-name = ppg1


# PPG USER SETUP, for authorizing a specific push user
group = wap-push-user
wap-push-user = foo
ppg-username = foo
ppg-password = bar
allow-ip = "127.0.0.1;193.167.35.180;193.167.32.168"

include = "/etc/kannelconf/modems.conf"

group = smsc
smsc = at
modemtype = nokiaphone
device = /dev/ttyS1

# SMSBOX SETUP (a kludge!)

group = smsbox
bearerbox-host = localhost


--------------------------
modems.conf
-------------------------
group = modems
id = nokiaphone
name = "Nokia Phone"
detect-string = "Nokia Mobile Phone"
init-string = "AT+CNMI=1,2,0,1,1"
need-sleep = true
sendline-sleep = 1000
keepalive-cmd = "AT+CBC;+CSQ"



Reply via email to