Hi all, I was able to track down and correct the problem. Thanks, Raj for the help. A problem with the configuration of smsbox. Cannot declare smsbox-id without specifying bearerbox routing.
Now I am faced with another hurdle, which I would appreciate some input. According to the manual, FAKE smsc supports DLRs. I need an example how to configure that. Has anybody done it? Any help would be appreciated. The reason I cannot use a real connection, is that I need to benchmark it by sending several million requests. For obvious reasons I cannot use a real interface. Ultimately i would like to hook ppg to the fake sms service and get the (faked) DLRs from there. I include latest configuration file. Thanx, Nikos P.S. Documentation was rather unclear. Where do I configure dlr-mask? 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 = 212.205.200.120 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 #connect-allow-ip = "*.*.*.*" # SMSBOX SETUP (a kludge!) group = smsbox bearerbox-host = 212.205.200.120 sendsms-port = 13006 #smsbox-id = dlrbox #group = smsbox-route #smsbox-id = dlrbox #smsc-ids = "FAKE;HTTP" group = sendsms-user username = simple password = elpmis default-smsc = FAKE dlr-url = "http://www.kannel.gr:9200/cgi/dlr.cgi?dlr-mask=31" # SERVICES group = sms-service keyword = nop text = "You asked nothing and I did it!" # this service is for Kannel www testing group = sms-service keyword = www get-url = " http://www.kannel.gr:9200/cgi/sms.cgi?status=%d&dlr=%A&from=%p&to=%P&text=%r " #max-messages = 0 # there should be default always group = sms-service keyword = default text = "No service defined" # 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?dlr-mask=31" #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?dlr-mask=31" #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" On Tue, Nov 18, 2008 at 10:17 AM, Nikos Balkanas <[EMAIL PROTECTED]>wrote: > 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: > > [..snip..] >
