
include = /etc/kannel/modems.conf

group = core
admin-port = 13000
admin-password = admin
status-password = status
smsbox-port = 13001
box-deny-ip = "*.*.*.*"
log-file = /var/log/kannel/bearerbox.log
access-log = /var/log/kannel/access-log.log
box-allow-ip = "127.0.0.1,192.168.60.213,192.168.60.242"
log-level = 0
sms-incoming-queue-limit = -1
smsbox-max-pending = 5
sms-resend-freq = 60
sms-resend-retry = 3

#---------------------------------------------
# SMSC CONNECTIONS                            
#                                             
# SMSC connections are created in bearerbox and they handle SMSC specific
# protocol and message relying. You need these to actually receive and send
# messages to handset, but can use GSM modems as virtual SMSCs
group = smsc
smsc = at
modemtype = auto
device = /dev/ttyACM0
sms-center = +919442099997
my-number = 09440375777
connect-allow-ip = "127.0.0.1,192.168.60.213,192.168.60.242"
speed = 9600
log-level = 0
max-error-count = 5
sim-buffering = true

#----------------------------------------------------------------------
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 09440375777
immediate-sendsms-reply=1
log-file = "/var/log/kannel/smsbox.log"
log-level = 0

#---------------------------------------------
# SEND-SMS USERS
#
# These users are used when Kannel smsbox sendsms interface is used to
group = sendsms-user
username = cdacbang
password = root123
#user-allow-ip = ""

#---------------------------------------------
# There should be always a 'default' service. This service is used when no
# other 'sms-service' is applied.
group = sms-service
keyword = default
#text = "please put print before message"
get-url = "http://localhost:8080/SMSprint/get?sender=%p&msg=%a&time=%t"
catch-all=true
#---------------------------------------------

group = modems
id = "HSPADataCard"
detect-string = "HSPADataCard"
init-string = "ATZ"
init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
init-string = "AT+CNMI=2,0,2,0,0"
message-storage = SM

