pushkannel.conf
上传用户:gzpyjq
上传日期:2013-01-31
资源大小:1852k
文件大小:2k
源码类别:

手机WAP编程

开发平台:

WINDOWS

  1. #
  2. # SAMPLE CONFIGURATION FOR KANNEL PPG (PUSH OVER SMS)
  3. #
  4. # It is run like this:
  5. #
  6. #  1% gw/bearerbox gw/pushkannel.conf
  7. #  2% gw/wapbox gw/pushkannel.conf
  8. #
  9. #  Boys and girls: use more complex passwords when setting up real services,
  10. #  this is an *example* file !
  11. #
  12. #  Aarno Syv鋘en in August 2001, for Wiral Ltd
  13.  
  14. # BEARERBOX SETUP, for Kannel core operations
  15. group = core
  16. admin-port = 13000
  17. smsbox-port = 13001
  18. wapbox-port = 13002
  19. admin-password = bar
  20. #status-password = foo
  21. #admin-deny-ip = ""
  22. #admin-allow-ip = ""
  23. wdp-interface-name = "*"
  24. #log-file = "/tmp/bearerbox.log"
  25. #log-level = 0
  26. box-deny-ip = "*.*.*.*"
  27. box-allow-ip = "127.0.0.1"
  28. unified-prefix = "+358,00358,0;+,00"
  29. #access-log = "access.log"
  30. #store-file = "kannel.store"
  31. #ssl-server-cert-file = "cert.pem"
  32. #ssl-server-key-file = "key.pem"
  33. # WAPBOX SETUP, for pushing and for pulling (fetching) the wap data 
  34. group = wapbox
  35. bearerbox-host = localhost
  36. #log-file = "/tmp/wapbox.log"
  37. #log-level = 0
  38. syslog-level = none
  39. # PPG CORE SETUP, for defining the push request interface
  40. group = ppg
  41. ppg-url = /cgi-bin/wap-push.cgi
  42. ppg-port = 8080
  43. #ppg-ssl-port = 8081
  44. concurrent-pushes = 100
  45. trusted-pi = false
  46. users = 1024
  47. ppg-deny-ip = 194.100.32.89;194.100.32.103
  48. ppg-allow-ip = 194.100.32.125;127.0.0.1;213.243.146.182;213.243.140.102
  49. #ssl-server-cert-file = "/Users/aarno/gateway/test/cert.pem"
  50. #ssl-server-key-file = "/Users/aarno/gateway/test/key.pem"
  51. # PPG USER SETUP, for authorizing a specific push user
  52. group = wap-push-user
  53. wap-push-user = picom
  54. ppg-username = foo
  55. ppg-password = bar
  56. # Note that prefixes must have an international format. So the country
  57. # prefix must be added here. 
  58. country-prefix = +358
  59. allowed-prefix = 40;60;70
  60. denied-prefix = 50
  61. white-list = http://localhost:8082/whitelist
  62. black-list =  http://localhost:8082/blacklist
  63. allow-ip = 127.0.0.1;213.243.146.182;
  64. deny-ip = 194.100.32.82
  65. # SMSC CONNECTIONS, for pushing SI or SL over SMS
  66. group = smsc
  67. smsc = http
  68. smsc-id = HTTP
  69. port = 10000
  70. system-type = kannel
  71. smsc-username = foo
  72. smsc-password = bar
  73. no-sender = true
  74. no-coding = true
  75. #? for the query will be added by Kannel 
  76. send-url = http://localhost:8081/util/kannelgw.phtml
  77. # SMSBOX SETUP (a kludge !)
  78. group = smsbox
  79. bearerbox-host = localhost
  80. #sendsms-port = 13013
  81. #global-sender = 13013
  82. #sendsms-chars = "0123456789 +-"
  83. #log-file = "/tmp/smsbox.log"
  84. #log-level = 0
  85. #access-log = "access.log"