group = core
admin-port = 16010
smsbox-port = 16011
admin-password = *******
status-password = *****
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/home/stadium/public_html/kannel-snapshot/logs/kannel.log"
log-level = 0
#box-deny-ip = "*.*.*.*"
#box-allow-ip = "127.0.0.1"
#wdp-interface-name = "*"
#unified-prefix = "+1,00358,0;+,00"
access-log = "/home/stadium/public_html/kannel-snapshot/logs/access.log"
store-location = "/home/stadium/public_html/kannel-snapshot/logs/kannel.store.log"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
dlr-storage = mysql
sms-resend-retry = 2 

# SMSC CONNECTIONS
group = smsc
smsc = smpp
smsc-id = smsc1
#connect-allow-ip = 127.0.0.1
host = ********
port = 3209
receive-port = 3209
transceiver-mode = true
smsc-username = "*****"
smsc-password = "*****"
#system-id = ********
enquire-link-interval = 30
system-type = "*******"
#address-range = "69050"
interface-version = "34"
my-number = 69050
msg-id-type = 2
dest-addr-ton = 3
dest-addr-npi = 1
bind-addr-ton = 3
bind-addr-npi = 1
source-addr-ton = 3
source-addr-npi = 1
keepalive = 15

# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
smsbox-id = mysmsc
sendsms-port = 3209
global-sender = 69050
sendsms-chars = "0123456789 +-"
log-file = "/home/stadium/public_html/kannel-snapshot/logs/smsbox.log"
log-level = 0
access-log = "/home/stadium/public_html/kannel-snapshot/logs/access.log"
mo-recode = true

# SEND-SMS USERS

# SENDSMS USERS SETUP
group = sendsms-user
username = *******
password = *********
#user-deny-ip = ""
#user-allow-ip = ""
default-sender = 69050
max-messages = 5

group = smpp-tlv
name = my-custom-var
tag = 0x1402
type = integer
length = 2
smsc-id = smsc1

# SERVICES

group = sms-service
keyword = default
#keyword-regex = .*
catch-all = yes
max-messages = 5
post-url = "http://Website URL/staging_new/mt_messages.php?source_no=%p&short_message=%a&operator_id=%o&receiver=%P&time=%t&meta-data=%D"
accept-x-kannel-headers = true

group = smsbox-route
smsbox-id = mysmsc
shortcode = "69050"

# there should be default always

group = sms-service
keyword = default
text = "No service specified"

group = mysql-connection
id = mydlr
host = localhost
username = stadium
password = ******
database = *****
# max count of connections that will be opened for dbpool
# default is 1
max-connections = 1


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