Skip to content

Instantly share code, notes, and snippets.

@danielAlbuquerque
Created June 12, 2016 00:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielAlbuquerque/f028279528648517698b721d21f2881f to your computer and use it in GitHub Desktop.
Save danielAlbuquerque/f028279528648517698b721d21f2881f to your computer and use it in GitHub Desktop.
#CORE
group = core
admin-port = 13000
admin-password = playsms
status-password = playsms
log-file = "/var/log/kannel/kannel.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
smsbox-port = 13001
store-type = file
store-file = "/var/log/kannel/kannel.store"
#SMSC MODEM GSM
group = smsc
smsc = at
port = 13013
host = "localhost"
smsc-id = Huawei
modemtype = Huawei
device = /dev/ttyUSB1
speed = 9600
sms-center = "isi dengan sms center"
group = modems
id = huawei
name = huawei
detect-string = "huawei"
init-string = "AT+CNMI=2,1,0,0,0;+CMEE=1"
#SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
bearerbox-port = 13001
sendsms-port = 13131
sendsms-chars = "0123456789+"
global-sender = "isi dengan sms center"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
#SEND-SMS USERS
group = sendsms-user
username = playsms
password = playsms
#SMS SERVICE
group = sms-service
keyword = default
accept-x-kannel-headers = true
max-messages = 0
assume-plain-text = true
catch-all = true
get-url = "http://localhost/playsms/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment