#
# THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL
#
# It is run like this:
#
#  1% gw/bearerbox gw/smskannel.conf
#  2% gw/smsbox gw/smskannel.conf
#  3% test/fakesmsc -p 10000 -H localhost -i 1 -m 100 "123 345 text nop"
#
# ..all 3 commands in separate shells (or screen sessions)
#
# For any modifications to this file, see Kannel User Guide 
# If that does not help, send email to users@kannel.org
#
#   Kalle Marjola May 2000
#   Changed for new fakesmsc version by Uoti Urpala Jan 2001
#   Added service and sendsms for HTTP SMSC by Kalle Marjola Mar 2001
#

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
box-allow-ip = "127.0.0.1;212.46.149.194;217.35.98.29"
box-deny-ip = "*.*.*.*"
unified-prefix = "00358,0"
access-log = "/var/log/kannel/access.log"
#store-file = "kannel.store"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

group = smsc 
smsc = smpp
host = smpp1.mblox.com
port = 3200
smsc-username = "**********"
smsc-password = "**********"
transceiver-mode = yes
system-type = ""
msg-id-type = 0x01
alt-charset = LATIN1

# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013
#sendsms-chars = "0123456789 +-"
#log-file = "/tmp/smsbox.log"
#log-level = 0
#access-log = "access.log"


# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
user-deny-ip = "*.*.*.*"
user-allow-ip = "*.*.*.*"

# this sender is for Kannel relay testing (http_smsc)

group = sendsms-user
username = kannel
password = rL4y
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1;212.46.149.194;217.35.98.29"

# SERVICES

group = sms-service
keyword = nop
text = "You asked nothing and I did it!"

# this service is for Kannel relay testing, when this Kannel
# works as relay gateway

group = sms-service
keyword = relay
get-url = "http://localhost:15130/sms?user=kannel&pass=rL4y&from=%p&to=%P&text=%r"
max-messages = 0


# there should be default always

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

