#
# 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.
include = "/etc/kannel/modems.conf"
# Syed Jahanzaib
# https://aacable.wordpress.com
# aacable [at] hotmail.com
 
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = test
status-password = test
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
box-deny-ip = "*.*.*.*"
#box-allow-ip = "127.0.0.1"
sms-resend-retry = 1
 
group = smsc
smsc = at
smsc-id = huawei
modemtype = huawei
device = /dev/ttyUSB0
my-number = "+41786898569" # (put your sim number, not necessary)
sms-center = "+41786898569"  #SIM Number
pin=1107
#connect-allow-ip=127.0.0.1
sim-buffering = true
log-file=/tmp/core.log
log-level = 0


group = modems
id = "huawei"
name = "huawei"
detect-string = "huawei"
enable-mms = true
#init-string = "AT+CNMI=2,1,2,2,0"
reset-string = "ATZ"
init-string = "ATQ0 V1 E1 S0=0 &C1 &D2"
speed= 9600
 
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 13014
sendsms-chars = "0123456789 +-"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
smsbox-id=smsc1
 
group = sendsms-user
# MAKE VERY SURE that you change the PASSWORD for security reasons
username = test
password = test
concatenation = true
max-messages = 1000
#default-smsc=huawei
 
group = sms-service
keyword = default
get-url = "http://localhost/kannel/receivesms.php?sender=%p&text=%b"
accept-x-kannel-headers = true
max-messages = 99
concatenation = true
catch-all = true
text = "Galaxy ROBOT by Zaib"
omit-empty = true

group = smsbox-route
smsbox-id=smsc1
smsc-id=huawei
