Hi,

On Thursday, March 27, 2003, at 01:12 AM, Mary McCarter wrote:
I have the kannel 1.3.1 and I'm using it as a wap gateway, but I'm trying to setting up a push proxy gateway...I'm new with this topic, so I hope you could understand me :)
and sorry for the length of my my mail but I have a lot of doubts and I hope you can help me.


I'm using a Motorola phone (idem motorola).

- How can I send an alert to my phone?

I don't understand very well how to try it..

- This is my configuration file

# BEARERBOX SETUP, for Kannel core operations
group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar
wdp-interface-name = "*"
log-file = "/usr/local/gw_131/log/bearerbox.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
access-log = "/usr/local/gw_131/log/acces.log"
store-file = "/usr/local/gw_131/log/store.log"

# WAPBOX SETUP, for pushing and for pulling (fetching) the wap data
group = wapbox
bearerbox-host = localhost
device-home = "http://172.24.249.34/prueba/prueba.asp";
log-file="/root/gatewayultver/wapbox.log"
syslog-level = none
smart-errors = true

# PPG CORE SETUP, for defining the push request interface
group = ppg
ppg-url = /cgi-bin/wap-push.cgi
#ppg-url = /wappush
#ppg-port = 8080
ppg-port = 3128
concurrent-pushes = 100
trusted-pi = true
users = 1024
ppg-allow-ip = "*.*.*.*"

# PPG USER SETUP, for authorizing a specific push user
group = wap-push-user
wap-push-user = foo
ppg-username = foo
ppg-password = bar

# SMSC CONNECTIONS, for pushing SI, SL, MMS notifications or whatever over SMS
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://mykannel_ip:port/path


# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost


- I have to run the bearerbox kannel.conf wapbox kannel.conf and is it necessary to run the "smsbox kannel.conf"?

If you want delivery reports, then you must run smsbox, otherwise, you dont.



- I have read (in the user guide and other mails) that I can test sending an alert like it:
In the command line:
test/test_ppg -q = http://mykannelip:3128/cgi-bin/wappush.cgi? username=foo&password=bar si.xml pap.xml


but I don't know what is mykannelip:3128/cgi-bin/wappush.cgi?

This is simple a tag telling service name. You can set it with ppg-url configuration directive.


-About SI.xml
<?xml version=3D"1.0"?><!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN" =
"http://www.wapforum.org/DTD/si.dtd";><si><indication =
href=http://www.yahoo.com si-id="[EMAIL PROTECTED]" =
action="signal-medium" created="2002-12-11T01:06:45Z">want to =
test</indication></si>


what is the:
si-id="[EMAIL PROTECTED]" I can use the same or it should be my [EMAIL PROTECTED]

You should use different si-ids for every si. it indeed should be of form [EMAIL PROTECTED]



-About 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=3D"[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=+9191232323231/[EMAIL PROTECTED]"></= address><quality-of-service priority="low" = delivery-method="unconfirmed" network-required="true" = network="GSM" bearer-required="true" = bearer="SMS"></quality-of-service></push-message></pap>

the address-value="WAPPUSH=+9191232323231/[EMAIL PROTECTED],
the 9191232323231 have to be the sender or receiver phone?

the receiver.


Aarno




Reply via email to