Hi, There,

I have a problem when I tried wap push with kannel cvs version. I am using a
Nokia premicell as a SMSC

the configuration file -- pushkannel.conf is followed:
##########################
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 = "log/bearerbox.log"
log-level = 0
#box-deny-ip = "*.*.*.*"
box-allow-ip = "*.*.*.*"
#unified-prefix = "+358,00358,0;+,00"
#access-log = "access.log"
#store-file = "kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"

# WAPBOX SETUP, for pushing and for pulling (fetching) the wap data 

group = wapbox
bearerbox-host =127.0.0.1 
log-file = "log/wapbox.log"
log-level = 0
syslog-level = none

# PPG CORE SETUP, for defining the push request interface

group = ppg
ppg-url = /cgi-bin/wap-push.cgi
ppg-port = 8080
concurrent-pushes = 100
trusted-pi = false
users = 1024
#ppg-deny-ip = 194.100.32.89;194.100.32.103
ppg-allow-ip = 127.0.0.1
#ssl-server-cert-file = "/home/aarno/kannelcvs/gateway/gw/cert.pem"
#ssl-server-key-file = "/home/aarno/kannelcvs/gateway/gw/key.pem"
ppg-port-ssl = no

# PPG USER SETUP, for authorizing a specific push user

group = wap-push-user
wap-push-user = root
ppg-username = foo
ppg-password = bar
#allowed-prefix = 40;60;70
#denied-prefix = 50
#white-list = http://localhost:8082/whitelist
#black-list =  http://localhost:8082/blacklist
allow-ip = 127.0.0.1
#deny-ip = 194.100.32.82

# SMSC CONNECTIONS, for pushing SI or SL 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
#? for the query will be added by Kannel 
send-url = http://localhost:10001

# SMSBOX SETUP (a kludge !)

group = smsbox
bearerbox-host = localhost
#sendsms-port = 13013
#global-sender = 13013
#sendsms-chars = "0123456789 +-"
log-file = "/log/smsbox.log"
log-level = 0
#access-log = "access.log"

the I followed the User' Guide, 
1. gw/bearerbox pushkannel.conf
   gw/wapbox pushkannel.conf

2. test/test_http_server -p 10001

3. test/tes_ppg -q http://localhost:10000

then I got a error message -- "Authorization failed for sendsms"


have anyone use wap push with a gsm data phone. can you send me your conf
files or help me find out where am i wrong. thanks 

rgs
 
Stone Zhang
Tel +44 (0)20 8214 5045
Fax +44 (0)20 8214 3178
Mobile 07939 750 782
4 Floor IP2
Maxwell Road
Borehamwood
Herts WD6 1EA
UK




NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.




NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.


Reply via email to