#
# Sample configuration file for Kannel bearerbox on Debian.
# See the documentation for explanations of fields.
#

# HTTP administration is disabled by default. Make sure you set the
# password if you enable it.

group = core
admin-port = 13000
admin-password = bar
admin-allow-ip = "*.*.*.*"
wapbox-port = 13002
smsbox-port = 13003
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
access-log = "/var/log/kannel/kannelAccess.log"
box-allow-ip = "*.*.*.*"
sms-incoming-queue-limit = -1
dlr-storage = mysql
sms-resend-retry = 2

group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wapbox.log"

group = smsc
smsc = smpp
smsc-id = airteldse
smsc-admin-id = adminairteldse2017
log-file = "/var/log/kannel/airteldse.log"
log-level = 0
host = **
port = **
connection-timeout = 0
wait-ack-expire = 0x02
validityperiod = 10
smsc-username = **
smsc-password = **
system-type = smpp
transceiver-mode = true

group = mysql-connection
id = mydlr
host = localhost
username = **
password = **
database = **
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

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
smsbox-id = dseairtel
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/smsboxAccess.log"

group = smsbox-route
smsbox-id = dseairtel
smsc-id = airteldse
shortcode = "15535"

group = sendsms-user
username = gmobile
password = 123456
max-messages = 3
concatenation = true
dlr-url = "http://localhost/service/dlr.php"

group = sendsms-user
username = airtel
password = airtelgmobile
max-messages = 3
forced-smsc = airteldse

group = sms-service
keyword = sajili
get-url = "http://localhost/KannelService/index.php/Api/airtel_reg?mainword=%k&sender=%p&receiver=%P&smsid=%I&sendsmsur=%n&text=%a&smscid=%i&msgtm=%t&smsservice=%n"

group = sms-service
keyword = register
get-url="http://localhost/KannelService/index.php/Api/airtel_reg?mainword=%k&sender=%p&receiver=%P&smsid=%I&sendsmsur=%n&text=%a&smscid=%i&msgtm=%t&smsservice=%n"

group =sms-service
keyword = stop
get-url ="http://localhost/KannelService/index.php/Api/airtel_exit?mainword=%k&sender=%p&receiver=%P&smsid=%I&sendsmsur=%n&text=%a&smscid=%i&msgtm=%t&smsservice=%n"

group =sms-service
keyword = ondoa
get-url ="http://localhost/KannelService/index.php/Api/airtel_exit?mainword=%k&sender=%p&receiver=%P&smsid=%I&sendsmsur=%n&text=%a&smscid=%i&msgtm=%t&smsservice=%n"

group = sms-service
keyword = default
get-url ="http://localhost/KannelService/index.php/Api/default_sms_service?mainword=%k&sender=%p&receiver=%P&smsid=%I&sendsmsur=%n&text=%a&smscid=%i&msgtm=%t&smsservice=%n"
