#
#
# This works with the default binary Kannel distribution for cygwin
#
# It is run like this from the cygwin shell -
#
# 1% bin/bearerbox smskannel.conf
# 2% bin/smsbox 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)
#
# The binaries bearerbox, smsbox, fakemsc are located in the default kannel distro 
#
# For any modifications to this file, see Kannel User Guide
# If that does not help, send email to users@xxxxxxxxxx
#
# 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
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/tmp/kannel.log"
log-level = 2
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
unified-prefix = "00358,0"
access-log = "/tmp/access.log"
#store-file = "kannel.store"
#ssl-certkey-file = "mycertandprivkeyfile.pem"


# SMSC CONNECTIONS

#group = smsc
#smsc = fake
#smsc-id = FAKE
#port = 10000
#host=localhost
#connect-allow-ip = 127.0.0.1


group = smsc
smsc = at
smsc-id = E62
modemtype = nokiaphone
device = /dev/com7
connect-allow-ip = 127.0.0.1
log-level = 2
speed = 460800
log-file = "/tmp/e62.log"


group = smsc
smsc = http
smsc-id = HTTP
system-type = kannel
smsc-username = test
smsc-password =test
port = 13015
send-url = "http://100.1.1.15:13015/cgi-bin/sendsms"
connect-allow-ip = "*.*.*.*"
log-level = 2
device = /dev/com7
log-file = "/tmp/http.log"


# SMSBOX SETUP

group = smsbox
#smsbox-id = abc
bearerbox-host = 100.1.1.15
sendsms-port = 13013
global-sender = 9810689924
#endsms-chars = "0123456789 +-"
#log-file = "/tmp/smsbox.log"
log-level = 2
access-log = "access.log"
sendsms-url = /cgi-bin/sendsms 
log-file = "abc.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 = "*.*.*.*"



#
# The services should go in a separate file to make it easier for development 
#

# SERVICES

group = sms-service
keyword = tcs
text = "testing again : Please  let me know if you get this message :Tarun"

# 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

#
# Skava test service
#
group = sms-service
keyword = hello
text = "Hello world there!"


# there should be default always

group = sms-service
keyword = default
text = "No service specified"
exec = /kannel_incoming %t %q %a



#
# modems.conf, again should be a different file and included as
# include = "/path/to/modems.conf"
#

# Modems configuration
#
# Example and default values
#

group = modems
id = nokiaphone
name = "Nokia Phone"
detect-string = "Nokia Mobile Phone"
detect-string2 = "E61i"
need-sleep = true
keepalive-cmd = "AT+CBC;+CSQ"
#init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
init-string = "AT"
#enable-mms = true


