smskannel-ssl.conf
资源名称:gateway-1.2.1 [点击查看]
上传用户:gzpyjq
上传日期:2013-01-31
资源大小:1852k
文件大小:2k
源码类别:
手机WAP编程
开发平台:
WINDOWS
- #
- # THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL
- # (using SSL enabled HTTP servers)
- #
- # It is run like this:
- #
- # 1% gw/bearerbox gw/smskannel.conf
- # 2% gw/smsbox gw/smskannel.conf
- # 3% test/fakesmsc -p 10000 -H localhost -i 1 -m 100 "123 345 text nop"
- #
- # ..all 3 commands in separate shells (or screen sessions)
- #
- # For any modifications to this file, see Kannel User Guide
- # If that does not help, send email to users@kannel.org
- #
- # Kalle Marjola May 2000
- # Changed for new fakesmsc version by Uoti Urpala Jan 2001
- # Added service and sendsms for HTTP SMSC by Kalle Marjola Mar 2001
- #
- group = core
- admin-port = 13000
- admin-port-ssl = yes
- smsbox-port = 13001
- admin-password = bar
- #status-password = foo
- #admin-deny-ip = ""
- #admin-allow-ip = ""
- #log-file = "/tmp/kannel.log"
- #log-level = 0
- box-deny-ip = "*.*.*.*"
- box-allow-ip = "127.0.0.1"
- unified-prefix = "00358,0"
- #access-log = "access.log"
- #store-file = "kannel.store"
- #ssl-client-certkey-file = "mycertandprivkeyfile.pem"
- ssl-server-cert-file = "cert.pem"
- ssl-server-key-file = "key.pem"
- # SMSC CONNECTIONS
- group = smsc
- smsc = fake
- smsc-id = FAKE
- port = 10000
- connect-allow-ip = 127.0.0.1
- # SMSBOX SETUP
- group = smsbox
- bearerbox-host = localhost
- sendsms-port = 13013
- sendsms-port-ssl = yes
- global-sender = 13013
- #sendsms-chars = "0123456789 +-"
- #log-file = "/tmp/smsbox.log"
- #log-level = 0
- #access-log = "access.log"
- # SEND-SMS USERS
- group = sendsms-user
- username = tester
- password = foobar
- #user-deny-ip = ""
- #user-allow-ip = ""
- # this sender is for Kannel relay testing (http_smsc)
- group = sendsms-user
- username = kannel
- password = rL4y
- user-deny-ip = "*.*.*.*"
- user-allow-ip = "127.0.0.1"
- # SERVICES
- group = sms-service
- keyword = nop
- text = "You asked nothing and I did it!"
- # this service is for Kannel relay testing, when this Kannel
- # works as relay gateway
- group = sms-service
- keyword = relay
- get-url = "http://localhost:15130/sms?user=kannel&pass=rL4y&from=%p&to=%P&text=%r"
- max-messages = 0
- # there should be default always
- group = sms-service
- keyword = default
- text = "No service specified"