Make two smppboxes, with a different port. 1 routes to bearerbox-smsc-1 and the other to bearerbox-smsc-2.
== Rene -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Steven König Sent: Monday, 24 October, 2011 09:15 To: Andreas Fink Cc: [email protected] Devel Subject: Re: different opensmppbox-user routing to different smscs Hi, so how can I setup opensmppbox and bearer box, so I can route smpp-client 1 to bearerbox-smsc 1 and smpp-client 2 to bearerbox-smsc 2? Am 20.10.2011 16:15, schrieb Andreas Fink: > On 20.10.2011, at 15:57, Steven König wrote: > >> 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. > this should be smsc-id, not smscbox-id > two different things. > >> 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&chars et=%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&char set=%C&msgid=%i" >> status-success-regex = "Sent." >> status-permfail-regex = "error" >> status-tempfail-regex = "retry later" >> generic-status-sent = 200 >> generic-status-error = 404 >> >> >
