#
# 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 = fcaadmin
# admin-deny-ip = "*.*.*.*"
# admin-allow-ip = ""
# wapbox-port = 13002
# wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
# box-deny-ip = "*.*.*.*"
# box-allow-ip = "127.0.0.1"
####################################Agim Sample ####################
log-level = 4
access-log = "/var/log/kannel/access.log"
smsbox-port = 13001
store-type = file
store-location = "/var/log/kannel/bearerbox.store"
dlr-storage = internal

#SMSC SETUP: Nokia E90 GSM Modem
group = smsc
smsc = at
smsc-id = nokiae90
modemtype = Nokia
#device=/dev/bus/usb/001
#device=/dev/rfcomm0
#device=/dev/ttyS0
device=/dev/ttyACM0
#speed = 9600
#my-number = 355692032105
pin = 5791

# Modem SETUP
group = modems
id = Nokia
name = "Nokia"
#init-string = "ATZ"
init-string = "ATZ ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
#init-string = "AT+CNMI=0,0,0,0,0"
#init-string = "AT+CNMI=1,0,1,2,0"
detect-string = "Nokia Mobile Phone"
need-sleep = true
keepalive-cmd = "AT+CBC;+CSQ" 

##################### SMSBOX SETUP ###############################

# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
bearerbox-port = 13001
smsbox-id = fcs_smsbox
sendsms-port = 13011
sendsms-chars = "0123456789 +-"
#global-sender = "FZ Sh.p.k"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0


# SEND-SMS USERS
group = sendsms-user
username = fcsuser
password = fcsuser
#forced-smsc =
default-smsc = nokiae90
faked-sender = "FZ Sh.p.k"
max-messages = 3

# SERVICES : TODO
group = sms-service
keyword = nop
text = "You asked nothing and I did it!"

# there should be default always
group = sms-service
keyword = default
text = "No service specified"

###################################End Agim Config#################
# group = wapbox
# bearerbox-host = localhost
# log-file = "/var/log/kannel/wapbox.log"
