Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #---------------------------------------------
- # CORE
- #
- # There is only one core group and it sets all basic settings
- # of the bearerbox (and system). You should take extra notes on
- # configuration variables like 'store-file' (or 'store-dir'),
- # 'admin-allow-ip' and 'access.log'
- group = core
- admin-port = 13000
- smsbox-port = 13001
- admin-password = bar
- log-file = "/mt/dsi/kannel/var/log/kannel.log"
- log-level = 10
- box-allow-ip = "*.*.*.*"
- #unified-prefix = "+358,00358,0;+,00"
- access-log = "/mt/dsi/kannel/var/log/access.log"
- store-file = "/mt/dsi/kannel/var/run/kannel.store"
- dlr-storage="mysql"
- #---------------------------------------------
- # SMSC CONNECTIONS
- #
- # SMSC connections are created in bearerbox and they handle SMSC specific
- # protocol and message relying. You need these to actually receive and send
- # messages to handset, but can use GSM modems as virtual SMSCs
- group = "smsc"
- smsc = "smpp"
- smsc-id = "a"
- port = "6201"
- connect-allow-ip = "*.*.*.*"
- log-file = "/mt/dsi/kannel/var/log/a-smsc.log"
- log-level=5
- reconnect-delay=5
- host = 192.168.5.172
- transceiver-mode=true
- smsc-username="####"
- smsc-password = "####"
- service-type="SMPP"
- system-type="VMA"
- allowed-smsc-id = "a"
- preferred-smsc-id = "a"
- connection-timeout = 120
- #---------------------------------------------
- # SMSBOX SETUP
- #
- # Smsbox(es) do higher-level SMS handling after they have been received from
- # SMS centers by bearerbox, or before they are given to bearerbox for delivery
- group = smsbox
- bearerbox-host = 127.0.0.1
- sendsms-port = 13013
- log-file = "/var/log/kannel-smsbox.log"
- log-level = 5
- access-log = "/var/log/kannel-smsbox-access.log"
- smsbox-id = "mysmsbox"
- #---------------------------------------------
- # SEND-SMS USERS
- #
- # These users are used when Kannel smsbox sendsms interface is used to
- # send PUSH sms messages, i.e. calling URL like
- # http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar...
- group = sendsms-user
- username = ####
- password = ####
- forced-smsc="a"
- default-smsc="a"
- concatenation = true
- #user-deny-ip = ""
- #user-allow-ip = ""
- user-allow-ip = "*.*.*.*"
- #MySQL connection for DLR (DeLivery Reports)
- group = mysql-connection
- id = mydlr
- host = localhost
- username = ####
- password = ####
- database = ####
- max-connections = 5
- #DLR binding for mysql
- group = dlr-db
- id = mydlr
- table = dlr
- field-smsc = smsc
- field-timestamp = ts
- field-destination = destination
- field-source = source
- field-service = service
- field-url = url
- field-mask = mask
- field-status = status
- field-boxc-id = boxc
- #Routing group
- group = smsbox-route
- smsbox-id = "mysmsbox"
- smsc-id = "a"
Advertisement
Add Comment
Please, Sign In to add comment