group = core
admin-port = 13000
smsbox-port = 13001
admin-password = admin
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "192.168.*.*;127.0.0.1; localhost"
log-file = "/var/log/kannel/kannel.log"
#log-level = 1
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
sms-incoming-queue-limit = -1
store-type = file
store-location = /home/novell/sms.txt
store-dump-freq = 2
dlr-storage= mysql

group = smsc
smsc = at
#modemtype = huawei
#device = /dev/ttyUSB0
#modemtype = mtk2
modemtype = nokia
device = /dev/ttyACM0
speed = 9600
keepalive = 5
my-number = 919681436612
#sms-center = 919831029007
#my-number = 918420200877
connect-allow-ip = 127.0.0.1
log-level = 0

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 919681436612
#global-sender = 918420200877
log-level = 0

group = sendsms-user
username = kanneluser
password = admin
concatenation= true
user-allow-ip = "*.*.*.*" 
max-messages = 10

group = sms-service
keyword = default
#keyword-regex = .*
catch-all = true
max-messages = 1
get-url = http://localhost/save_msg.php?q=%k&sender=%p&message=%a
#get-url = "http://localhost/index.php?msisdn=%p&keyword=%k&content=%r";

# DLR with MySQL support configuration
group = mysql-connection
id = mydlr
host = localhost
username = sms
password = sms
database = kannel 
max-connections = 1

group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-source = source
field-destination = destination
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc 

group = modems
#id = huawei
#name = "Huawei"
id = nokia
name = "Nokia Classic2700"	
#id = mtk2
#name = "MTK2"
detect-string = "ATI"
init-string = "AT+CNMI=1,2,0,0,1"
#init-srting = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
speed = 115200
message-storage = "ME"
