#Author:
#This configuration file conatins the most important parameters.
#-----------------------------------------------------------------------
#core group. this should always come first and it is for the bearer box
group = core
admin-port = 13000
admin-password = 123
status-password = 123
smsbox-port = 13003
log-file = "/var/kannel_core.log"
#log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#for delivery reports
#dlr-storage=mysql
#------------------------------------------------------------------------
# SMSC CONNECTIONS

#group = smsc
#the one to which we push smses
#smsc = at
#modemtype = huawei
#device = /dev/ttyS22
#smsc-id = mtn
#sms-center = +256771100020
#sms-center = +256771100020
#my-number = +256776320400
#denied-smsc-id = airtel;utl
#port = 10000
#connect-allow-ip = "127.0.0.1;"
#log-file = "C:\Program Files\Kannel 1.4.3\logs\SMSC logs\mtn-smsc.log"
#log-level = 0
#sim-buffering = true
#keepalive = 10
#speed = 460800
#allowed-smsc-id = mtn
#pin = 3925

#MODEM acts as smsc
group = smsc
##the one to which we push smses
smsc = at
modemtype = huawei
device = /dev/ttyS14
smsc-id = utl
sms-center = +25671000050
my-number = +256717300400
#denied-smsc-id = mtn;airtel
##port = 10000
connect-allow-ip = "127.0.0.1;"
log-file = "C:\Program Files\Kannel 1.4.3\logs\SMSC logs\utl-smsc.log"
log-level = 0
sim-buffering = true
keepalive = 10
speed = 460800
#allowed-smsc-id = utl
#pin = 3925

#group = smsc
#the one to which we push smses
#smsc = at
#modemtype = huawei1
#device = /dev/ttyS10
#smsc-id = airtel
#sms-center = +25675010004
#denied-smsc-id = mtn;utl
#my-number = +256751320400
#port = 10000
#connect-allow-ip = "127.0.0.1;"
#log-file = "C:\Program Files\Kannel 1.4.3\logs\SMSC logs\airtel-smsc.log"
#log-level = 0
#sim-buffering = true
#keepalive = 10
#speed = 460800
#allowed-smsc-id = airtel

#Real smsc using smpp
#group = smsc
#smsc=smpp
#host=192.100.0.134 
#the host name of the machine that runs the smsc
#use-ssl=true/false Defines whether we should try to bind with SSL enabled connection. 
#port=12345 
#The port number for the TRANSMITTER connection to the SMSC. May be the same as receive-port
#transceiver-mode = true here we only receive smses from smsc we do not send
#smsc-username =admin
#The 'username' of the Messaging Entity connecting to the SM-SC. If the SM-SC operator reports that the #		"TELEPATH SYSTEM MANAGER TERMINAL" view "Control.Apps.View" value "Name:" is "SMPP_ZAPVMA_T" for the transmitter #		and "SMPP_ZAPVMA_R" for the receiver the smsc-username value is accordingly "SMPP_ZAP". Note that this used to be #		called system-id
#smsc-password = admin 
#The password matching the "smsc-username" your teleoperator provided you with. 
#system-type = VMA 	
#Usually you can get away with "VMA" which stands for Voice Mail Activation. 
#my-number =6969	
#Optional smsc short number. Should be set if smsc sends a different one. 
#alt-charset = blabla
#some countries have characters different from english
#
#FAKE SMSC
#group = smsc
#smsc = fake
#port = 10000
#smsc-id = emulator


#------------------------------------------------------------------------
group = smsbox
#this group handles out going smses
bearerbox-host = 127.0.0.1
sendsms-port = 13013
log-file = "/var/kannel_smsbox.log"
log-level = 0
global-sender = +256717320400
mo-recode = true
#+256751320400

#------------------------------------------------------------------------
# MODEMS
#if you are using a modem to semd sms
group = modems
id = huawei_e220_00
name = "Huawei E220"
detect-string = "huawei"
init-string = "AT+CNMI=2,1,2,2,0"
#init-string = "AT+CNMI=2,1,2,1,0"
init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
#init-string = "AT+CNMI=2,1,0,1,0;+CMGF=1;+CMEE=1"
#init-string = "AT+CNMI=2,2,0,0,0"
#init-string = "AT+CNMI=2,1,2,2,0;+CMEE=1"
#message-start = 0
message-storage = "SM"
need-sleep = true
speed = 460800

#if you are using a modem to semd sms
group = modems
id = WAVECOM
name = WAVECOM
detect-string = "WAVECOM"
#init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
#init-string = "AT+CNMI=2,1,0,1,0;+CMGF=1;+CMEE=1"
init-string= "AT+CNMI=2,2,0,0,0"
enable-hwhs = false
#keepalive-cmd = "AT+CBC;+CSQ"
#message-start = 0
message-storage = "SM"
need-sleep = false
sendline-sleep = 200
speed = 115200
no-pin = true 

#------------------------------------------------------------------------
#The user who will send sms you can define several users 
group = sendsms-user
username = 123
password = 123
user-deny-ip = "*.*.*.*"
user-allow-ip = 127.0.0.1;172.32.11.188
concatenation= true
max-messages = 10



