# Bearerbox
group = core
admin-port = 14000
smsbox-port = 14001
admin-password = "test001"
status-password = "test001"
log-file = "/var/log/kannel/bearerbox.log"
access-log = "/var/log/kannel/access.log"
store-file = "/var/log/kannel/kannel.store"
#store-file = "/dev/shm/kannel.store"
#store-type = spool
#store-location = /var/spool/kannel
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
admin-deny-ip = "*.*.*.*"
sms-incoming-queue-limit = -1
sms-resend-retry = 30
sms-resend-freq = 120 

## ---------------------------SMSC Definitions------------------------------------------#
group = smsc
smsc = smpp
transceiver-mode = true
smsc-id = "1"
allowed-prefix="0833;"
source-addr-ton = 1
bind-addr-ton = 0
bind-addr-npi = 1
source-addr-npi = 1
dest-addr-ton = 0
dest-addr-npi = 1
log-file = "/var/log/kannel/testmgw.log"
log-level = 0
host = 192.168.11.247
#receive-port = 8005
port = 8008
enquire-link-interval = 30
interface-version = "34"
smsc-username = "smppclient"
smsc-password = "password"
msg-id-type=0x00
system-type= ""
alt-charset="latin1"
address-range = ""
wait-ack-expire = 0x02

group = smsc
smsc = smpp
transceiver-mode = true
smsc-id = "1"
allowed-prefix="0833;"
source-addr-ton = 1
bind-addr-ton = 0
bind-addr-npi = 1
source-addr-npi = 1
dest-addr-ton = 0
dest-addr-npi = 1
log-file = "/var/log/kannel/testmgw.log"
log-level = 0
host = 192.168.11.247
#receive-port = 8005
port = 8008
enquire-link-interval = 30
interface-version = "34"
smsc-username = "smppclient"
smsc-password = "password"
msg-id-type=0x00
system-type= ""
alt-charset="latin1"
address-range = ""
wait-ack-expire = 0x02

#-----------------------------SMSC CONFIGS END-------------------------------------------#

##----------------------------SMSBOX CONFIGS-------------------------------------------  #

group = smsbox
smsbox-id = smsbox0
bearerbox-host = localhost
sendsms-port = 14020
log-file = "/var/log/kannel/smsbox0.log"
access-log = "/var/log/kannel/smsboxaccess0.log"
log-level = 1
http-request-retry = 5
group = smsbox-route
smsbox-id = smsbox0
smsc-id = "1"
#-------------- END OF SMSBOX CONFIGS ------------#

#---------------- SEND-SMS CONFIGS -----------------#
group = sendsms-user
username = VDC7 
password = VDC7
#user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"
forced-smsc = 1
max-messages = 10
concatenation = true
dlr-url = "http://127.0.0.1/?action=recvdlr&originator=%p&destination=%P&message=%a&dlrvalue=%d&dlrreport=%A&timestamp=%t&smscid=%i"

#-----------------END SEND-SMS CONFIGS---------------#

#----------------- SMS-SERVICE CONFIGS---------------#
group=sms-service
keyword = default
get-url = "http://127.0.0.1/?action=recvmessage&message=%a&originator=%p&destination=%P&smscid=%i&msgid=%I"
concatenation = true
omit-empty = true
catch-all = true
#-----------------END SMS-SERVICE CONFIGS--------------#
