Guest User

Untitled

a guest
Sep 12th, 2013
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. #---------------------------------------------
  2. # CORE
  3. #
  4. # There is only one core group and it sets all basic settings
  5. # of the bearerbox (and system). You should take extra notes on
  6. # configuration variables like 'store-file' (or 'store-dir'),
  7. # 'admin-allow-ip' and 'access.log'
  8.  
  9.  
  10. group = core
  11. admin-port = 13000
  12. smsbox-port = 13001
  13. admin-password = bar
  14. log-file = "/mt/dsi/kannel/var/log/kannel.log"
  15. log-level = 10
  16. box-allow-ip = "*.*.*.*"
  17. #unified-prefix = "+358,00358,0;+,00"
  18. access-log = "/mt/dsi/kannel/var/log/access.log"
  19. store-file = "/mt/dsi/kannel/var/run/kannel.store"
  20. dlr-storage="mysql"
  21.  
  22. #---------------------------------------------
  23. # SMSC CONNECTIONS
  24. #
  25. # SMSC connections are created in bearerbox and they handle SMSC specific
  26. # protocol and message relying. You need these to actually receive and send
  27. # messages to handset, but can use GSM modems as virtual SMSCs
  28.  
  29. group = "smsc"
  30. smsc = "smpp"
  31. smsc-id = "a"
  32. port = "6201"
  33. connect-allow-ip = "*.*.*.*"
  34. log-file = "/mt/dsi/kannel/var/log/a-smsc.log"
  35. log-level=5
  36. reconnect-delay=5
  37. host = 192.168.5.172
  38. transceiver-mode=true
  39. smsc-username="####"
  40. smsc-password = "####"
  41. service-type="SMPP"
  42. system-type="VMA"
  43. allowed-smsc-id = "a"
  44. preferred-smsc-id = "a"
  45. connection-timeout = 120
  46.  
  47. #---------------------------------------------
  48. # SMSBOX SETUP
  49. #
  50. # Smsbox(es) do higher-level SMS handling after they have been received from
  51. # SMS centers by bearerbox, or before they are given to bearerbox for delivery
  52.  
  53. group = smsbox
  54. bearerbox-host = 127.0.0.1
  55. sendsms-port = 13013
  56. log-file = "/var/log/kannel-smsbox.log"
  57. log-level = 5
  58. access-log = "/var/log/kannel-smsbox-access.log"
  59. smsbox-id = "mysmsbox"
  60.  
  61. #---------------------------------------------
  62. # SEND-SMS USERS
  63. #
  64. # These users are used when Kannel smsbox sendsms interface is used to
  65. # send PUSH sms messages, i.e. calling URL like
  66. # http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar...
  67.  
  68. group = sendsms-user
  69. username = ####
  70. password = ####
  71. forced-smsc="a"
  72. default-smsc="a"
  73. concatenation = true
  74. #user-deny-ip = ""
  75. #user-allow-ip = ""
  76. user-allow-ip = "*.*.*.*"
  77.  
  78. #MySQL connection for DLR (DeLivery Reports)
  79.  
  80. group = mysql-connection
  81. id = mydlr
  82. host = localhost
  83. username = ####
  84. password = ####
  85. database = ####
  86. max-connections = 5
  87.  
  88. #DLR binding for mysql
  89. group = dlr-db
  90. id = mydlr
  91. table = dlr
  92. field-smsc = smsc
  93. field-timestamp = ts
  94. field-destination = destination
  95. field-source = source
  96. field-service = service
  97. field-url = url
  98. field-mask = mask
  99. field-status = status
  100. field-boxc-id = boxc
  101.  
  102. #Routing group
  103. group = smsbox-route
  104. smsbox-id = "mysmsbox"
  105. smsc-id = "a"
Advertisement
Add Comment
Please, Sign In to add comment