#
# 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.

#Core Kannel Configuration Section 

group = core 
admin-port = 50500
admin-password = kannel 
status-password = kannel 
admin-allow-ip = "*.*.*.*" 
wapbox-port = 13300 
smsbox-port = 13400 
log-file = "/var/log/kannel/bearerbox.log" 
access-log = "/var/log/kannel/bearerbox-access.log" 
log-level = 1 
unified-prefix = « 00221,+221,00′′

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

#Smsbox 
group = smsbox 
bearerbox-host = localhost 
sendsms-port = 14000 
sendsms-url = "/cgi-bin/sendsms" 
sendsms-chars = "0123456789+-" 
global-sender = 14000 
log-level = 0 
log-file = "/var/log/kannel/smsbox.log" 
access-log = "/var/log/kannel/smsbox-access.log" 

#Smsc 
group = smsc 
smsc = at 
smsc-id = Huawei-E1552 
modemtype = huawei_e1552 
device = /dev/ttyUSB2
host = localhost 
sms-center = +33695000695 
my-number = +33782830720 
pin = 1234
keepalive = 10 
speed = 9600 
sim-buffering = true 

#Modems 
group = modems 
id = huawei_e1552 
name = "huawei E1552" 
detect-string = "Huawei" 
init-string ="AT+CNMI=2,1,2,2,0" 
message-storage = "ME" 
speed = 9600 

#Sms Service Informations 
group = sms-service 
accepted-smsc = Huawei-E1552 
keyword = info 
catch-all = true 
get-url = http://localhost/info.php?t=%t&q=%q&a=%a 

#Sms Service test
group = sms-service 
accepted-smsc = Huawei-E1552 
keyword = test 
catch-all = true 
text="Configuration de kannel reussie. Bravo !!!"

#Sendsms 
group = sendsms-user 
username = kannel 
password = kannel 
forced-smsc = huawei-E1552 
user-allow-ip = « *.*.*.* »
