#
# Sample configuration file for Kannel  on Solaris.
# See the documentation for explanations of fields.
#

group = core
admin-port = 13000
admin-password = bar
#admin-deny-ip = "*.*.*.*"
#admin-allow-ip = "127.0.0.1"
smsbox-port = 13001
#box-deny-ip = "*.*.*.*"
#box-allow-ip = "127.0.0.1"
log-file = "log/bearer.log"
log-level = 0
access-log = "log/bearer-access.log"
dlr-storage = mysql 
smsbox-max-pending = 60
sms-resend-freq = 60
sms-resend-retry = 3
wapbox-port = 9201
wdp-interface-name = "*"
#http-proxy-host = 192.168.0.1
#http-proxy-port = 3128 
#http-proxy-username = "surya"
#http-proxy-password = "surya"
#store-file = store.txt

#group = smsc
#smsc = http
#smsc-id = HTTP
#port = 10000
#system-type = kannel
#smsc-username = foo
#smsc-password = bar
#no-sender = true
#no-coding = true
#send-url = http://localhost:9999/myapp/www.jsp

group = wapbox
bearerbox-host = 127.0.0.1
timer-freq = 2
log-file = "log/wapbox.log"
log-level = 0
access-log = "log/wapbox-access.log"

group = radius-acct
our-port = 1646
secret-nas = radius

group = ppg
ppg-url = /cgi-bin/wappush
ppg-port = 8040 
concurrent-pushes = 100
users = 1024
ppg-allow-ip = 127.0.0.1
#ppg-allow-ip = 194.100.32.125;127.0.0.1
#ppg-deny-ip = 194.100.32.89;194.100.32.103
trusted-pi = false

group = wap-push-user
wap-push-user = picom
ppg-username = picom
#foo
ppg-password = bar
allow-ip = 127.0.0.1
#allow-ip = 62.254.217.163

group = smsc
smsc = smpp
smsc-id = pyrosmpp 
throughput = 20
log-file = "log/smpp.log"
log-level = 0
reconnect-delay = 10
host = 192.168.0.36
port = 4444
transceiver-mode = false
receive-port = 4444
smsc-username = "pyro3"
smsc-password = "pyro3"
system-type = ""
service-type = ""
interface-version = 34
address-range = ""
my-number = 8888
enquire-link-interval = 30
reconnect-delay = 10
source-addr-ton = 0
source-addr-npi = 1
source-addr-autodetect = true
dest-addr-ton = 0
dest-addr-npi = 1
bind-addr-ton = 0
bind-addr-npi = 0
msg-id-type = 0x00
connection-timeout = 54000
wait-ack = 60
wait-ack-expire = 0x00
validityperiod = 2880

group = smsbox
bearerbox-host = 127.0.0.1
bearerbox-port = 13001
smsbox-id = pyrosmsbox
sendsms-port = 13013
#sendsms-url = http://localhost:13013/cgi-bin/sendsms?username=tester&password=foobar&from=8888&to=123456&text=Hello&charset=UTF-16BE&mclass=0&coding=2&pid=0
sendsms-chars = "0123456789 +-"
global-sender = 8888
log-file = "log/smsbox.log"
log-level = 0
access-log = "log/smsbox-access.log"
max-pending-requests = 512

group = sendsms-user
username = pyro
password = pyro
name = "pyrosmsgw"
#user-deny-ip = ""
#user-allow-ip = ""
dlr-url = http://localhost:9999/myapp/www.jsp?username=%a&password=%k&from=%P&to=%p&message=%C
default-sender = 8888
max-messages = 3
concatenation = true

group = sms-service
keyword = www
get-url = "http://localhost:9999/www.jsp?username=%s'&'password=%S"
accept-x-kannel-headers = true
accepted-smsc = SMPPSim
concatenation = true

group = sms-service
keyword = default
text = "No service."

group = mysql-connection
id = mydlr
host = 127.0.0.1
username = root
password = password
database = test
max-connections = 1

group = dlr-db
id = mydlr
table = tbl_delivery_reports
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
