pushkannel.conf
资源名称:gateway-1.2.1 [点击查看]
上传用户:gzpyjq
上传日期:2013-01-31
资源大小:1852k
文件大小:2k
源码类别:
手机WAP编程
开发平台:
WINDOWS
- #
- # SAMPLE CONFIGURATION FOR KANNEL PPG (PUSH OVER SMS)
- #
- # It is run like this:
- #
- # 1% gw/bearerbox gw/pushkannel.conf
- # 2% gw/wapbox gw/pushkannel.conf
- #
- # Boys and girls: use more complex passwords when setting up real services,
- # this is an *example* file !
- #
- # Aarno Syv鋘en in August 2001, for Wiral Ltd
- # 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 = 0
- box-deny-ip = "*.*.*.*"
- box-allow-ip = "127.0.0.1"
- 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 = localhost
- #log-file = "/tmp/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
- #ppg-ssl-port = 8081
- concurrent-pushes = 100
- trusted-pi = false
- users = 1024
- ppg-deny-ip = 194.100.32.89;194.100.32.103
- ppg-allow-ip = 194.100.32.125;127.0.0.1;213.243.146.182;213.243.140.102
- #ssl-server-cert-file = "/Users/aarno/gateway/test/cert.pem"
- #ssl-server-key-file = "/Users/aarno/gateway/test/key.pem"
- # PPG USER SETUP, for authorizing a specific push user
- group = wap-push-user
- wap-push-user = picom
- ppg-username = foo
- ppg-password = bar
- # Note that prefixes must have an international format. So the country
- # prefix must be added here.
- country-prefix = +358
- 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;213.243.146.182;
- 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:8081/util/kannelgw.phtml
- # SMSBOX SETUP (a kludge !)
- group = smsbox
- bearerbox-host = localhost
- #sendsms-port = 13013
- #global-sender = 13013
- #sendsms-chars = "0123456789 +-"
- #log-file = "/tmp/smsbox.log"
- #log-level = 0
- #access-log = "access.log"