Hi list,

I am trying to test DLRs using fake smsc (according to the manual it is 
supported). Unfortunately when I run:

test/fakesmsc -H 212.205.200.120 -r 13005 -m 1 "123 345 text relay from to 
nothing"

The connection hangs forever and never returns. It opens succesfully but 
doesn't do anything. I have a hunch that this is not supposed to happen.
Latest CVS, & my configuration. Thanks in advance:

group = core
admin-port = 13001
wapbox-port = 13002
smsbox-port = 13003
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
wdp-interface-name = "*"
log-file = "/tmp/bearerbox.log"
log-level = 4
#box-deny-ip = "*.*.*.*"
box-allow-ip = "*.*.*.*"
access-log = "/tmp/access.log"
#store-file = "/tmp/ianwap.store"
store-location = "/tmp/ianwap.store"
#store-type = internal
dlr-storage = internal
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

group = wapbox
bearerbox-host = 127.0.0.1
log-file = "/tmp/wapbox.log"
log-level = 4
syslog-level = none
#access-log = "/tmp/wapaccess.log"
access-log = "/dev/null"

# SMSC CONNECTIONS, for pushing SI, SL, MMS notifications or whatever over SMS

group = smsc
smsc = http
smsc-id = HTTP
port = 13004
system-type = kannel
#connect-allow-ip = "*.*.*.*"
smsc-username = foo
smsc-password = bar
no-sender = true
no-coding = true
send-url = "http://www.kannel.gr:9200/pap.cgi";


group = smsc
smsc = fake
smsc-id = FAKE
port = 13005
no-sender = true
no-coding = true
#connect-allow-ip = "*.*.*.*"

# SMSBOX SETUP (a kludge!)

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port =  13006
smsbox-id = dlrbox

group = sendsms-user
username = simple
password = elpmis
default-smsc = FAKE
dlr-url = http://www.kannel.gr:9200/cgi/dlr.cgi

# SERVICES

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

# there should be default always

group = sms-service
keyword = default
text = "Thank You for using IAN Test Bed"

# PPG CORE SETUP, for defining the push request interface

group = ppg
ppg-url = "http://www.kannel.gr:9200/cgi/pap.cgi";
#ppg-port = 9200
#ppg-ssl-port = 8081
concurrent-pushes = 1000
trusted-pi = false
users = 1024
service-name = ppg
ppg-smsbox-id = dlrbox
default-dlr-url = "http://www.kannel.gr:9200/cgi/dlr.cgi";
#ppg-deny-ip = "*.*.*.*"
ppg-allow-ip = "*.*.*.*"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"

# PPG USER SETUP, for authorizing a specific push user

group = wap-push-user
wap-push-user = foo
ppg-username = foo
ppg-password = bar
dlr-url = http://www.kannel.gr:9200/cgi/dlr.cgi
#country-prefix = +358
#allowed-prefix = "40;60;70"
#denied-prefix = 50
#white-list = http://localhost:8082/whitelist
#black-list =  http://localhost:8082/blacklist
#deny-ip = "*.*.*.*"
#allow-ip = "127.0.0.1"

Reply via email to