Hi,

i have another question on opensmppbox and bearerbox.

I would like to route two users who connect to opensmppbox via smpp to two different smscs in the bearerbox. Since i understood the documentation, the routing takes the third value in the smpp-logins of each value as smsbox-id for teh request. Then it passes the sms with this smsbox-id (e.g. smpp1 for sms originated by user1) to the bearerbox. The bearerbox takes the assigned sms-route and routes the sms to the smsc-id specified in the sms-route.

Thats how I understood the Documentation. But with the test-scenario below it doesn't work. The messages from user1 are sent over both smscs (smsc1 and smsc2).

What configuration-parameter is missing for such a routing?

Thanks,
Steven König


Test-Scenario:

smpplogins.txt:
user1 pass1 smpp1 *.*.*.*
user2 pass2 smpp2 *.*.*.*


opensmppbox.conf:
group = opensmppbox
opensmppbox-id = smppbox1
opensmppbox-port = 2346
bearerbox-host = localhost
bearerbox-port = 13001
log-level = 0
log-file = /var/log/kannel/opensmppbox.log
our-system-id = KANNELSMSC
smpp-logins = "/etc/kannel/smpplogins.txt"


kannel.conf:
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
log-file = "/var/log/kannel/kannel-core.log"
log-level = 0
access-log = "/var/log/kannel/kannel-access.log"
store-file = "/var/spool/kannel/kannel_core.store"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"

# SMSBOX SETUP

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
log-file = "/var/log/kannel/smsbox_core.log"
log-level = 0
access-log = "/var/log/kannel/smsbox_access.log"
global-sender = 0815

group = smsbox-route
smsbox-id = "smpp1"
smsc-id = "smsc1"

group = smsbox-route
smsbox-id = "smpp2"
smsc-id = "smsc2"

group = smsc
smsc = http
system-type = generic
port = 13015
smsc-id = smsc1
denied-smsc-id = "smsc2"
send-url = "http://192.168.10.99/sendtest.php?from=%P&to=%p&text=%b&dcs=%O&udh=%u&charset=%C&msgid=%i";
status-success-regex = "Sent."
status-permfail-regex = "error"
status-tempfail-regex = "retry later"
generic-status-sent = 200
generic-status-error = 404

group = smsc
smsc = http
system-type = generic
port = 13016
smsc-id = smsc2
denied-smsc-id = "smsc1"
send-url = "http://192.168.10.100/sendtest.php?from=%P&to=%p&text=%b&dcs=%O&udh=%u&charset=%C&msgid=%i";
status-success-regex = "Sent."
status-permfail-regex = "error"
status-tempfail-regex = "retry later"
generic-status-sent = 200
generic-status-error = 404


Reply via email to