group=core
admin-port=12345
smsbox-port=12346
admin-password=admin
status-password=statusadmin
log-file="/var/log/kannel/kannel.log"
log-level=0
access-log="/var/log/kannel/access.log"
dlr-storage = pgsql
smsbox-max-pending = 50
sms-resend-freq=60
sms-resend-retry=-1
#store-type=file
#store-location="/var/log/kannel/kannel.store"


group=pgsql-connection
id=myldr
host = 192.168.1.5
username = deedrei
password = deedrei
database = deedrei
max-connections=1

group=dlr-db
id=myldr
table=dlr
field-smsc=smsc
field-timestamp=ts
field-destination=destination
field-source=source
field-service=service
field-url=url
field-mask=mask
field-status=status
field-boxc-id=boxc

#group=smsc
#smsc=fake
#host=localhost
#port=13013

group=smsc
smsc=at
host=192.168.1.5
port=12347
smsc-id=bmc
modemtype=nokiaphone
device=/dev/ttyUSB1
speed=19200
sms-center=+62855000000
reroute-dlr=no

group = modems
id = nokiaphone
name = "Nokia Phone"
#detect-string = "Nokia Mobile Phone"
#need-sleep = true
#keepalive-cmd = "AT+CBC;+CSQ"
#enable-mms = true
#init-string="AT+CNMI=1,2,0,1,0;+CMEE=1"

group=smsbox
bearerbox-host=192.168.1.5
sendsms-port=12347
global-sender=12347
sendsms-chars="0123456789+"
log-file="/var/log/kannel/smsbox.log"
log-level=0
access-log="/var/log/kannel/access.log"
#store-type=file
#store-location="/var/log/kannel/kannel.store"

group=sendsms-user
username=tester
password=foobar


#group=sms-service
#keyword=reg
#get-url = "http://192.168.1.4/public_html/smsbalik.php?txtperintah1=%k&txtperintah2=%S"
#max-messages=3

#group=sms-service
#keyword=jadwal
#get-url = "http://192.168.1.4/public_html/smsbalik.php?txtperintah1=%k&txtperintah2=%S"
#max-messages=3

group=sms-service
keyword=default
#text = "Anda salah ,menuliskan perintah silahkan ulangi."
#exec=/usr/local/bin/kannel_incoming %t%q%a
#get-url = "http://192.168.1.4/playsms/plugin/gateway/kannel/geturl.php?t=&t&q=%q&a=%a"
max-messages=0
get-url = "http://192.168.1.5/playsms/plugin/gateway/kannel/geturl.php?t=%t&q=%q&a=%a"

