You can do that in bearerbox config in the smsc group.
You should use the allow-smsc-id = customerX whee customerX is the esme 
system-id that is propagated as smsc-id due to the directive that you use in 
opensmppbox: use-systemid-as-smsboxid = true

For the reverse direction you should route all smsc-ids towards your mycompany 
opensmppbox. Opensmppbox will know how to route to the proper esme.

BR,

Davor Spasoski


From: users <[email protected]> On Behalf Of Techinnovation
Sent: Monday, January 27, 2020 1:09 PM
To: [email protected]
Subject: opensmppbox smsc-route

Hello,

I have installed kannel with opensmmbox, all work fine.

I have connected 3 different ESME customers on opensmppbox,
and I need for each ESME have additional sms routing to separate SMSC on kannel 
server.

With this configuration all sms from all ESME (customer1,customer2, customer3) 
route to smsc1.
But I need to have route like

from customer1 to smsc1
from customer2 to smsc2
from customer3 to smsc3

Please help.

===================
smpplogins.txt
customer1 password1 localbox *.*.*.*
customer2 password2 localbox *.*.*.*
customer3 password3 localbox *.*.*.*

opensmmpbox.conf
# sample opensmppbox.conf

group = core
dlr-storage = mysql

group = opensmppbox
opensmppbox-id = mycompany
opensmppbox-port = 2799
bearerbox-host = localhost
bearerbox-port = 13005
log-level = 0
log-file = "/var/log/kannel/opensmppbox.log"
our-system-id = mycompany
route-to-smsc = smsc1
smpp-logins = "/etc/kannel/smpplogins.txt"
use-systemid-as-smsboxid = true

# the following is just standard dlr configuration

group = mysql-connection
id = dlr
host = localhost
username = kannel
password = kannelpass
database = kannel

group = dlr-db
id = dlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc


BR,
Alekxandr

________________________________

Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje 
shall not be liable for the improper or incomplete transmission of the 
information contained in this communication nor for any delay in its receipt or 
damage to your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

????????: ?1 ?????????? ????? ??????
???? ??????????? ?????? (??????????? ?? ? ?????????) ? ????????? ? ???? ?? ???? 
????????? ?? ?????? ??????????. ??????? ?? ??? ?????? ?? ??? ??? ?? ? ???????? 
????????, ?? ????? ?? ?? ????????, ????????????? ??? ?? ?? ????????? ????????? 
????????, ???? ?????? ?? ?? ?????????? ?? ?????????? ? ?? ?? ????????? 
???????????? ?????? ? ???? ??????? ????? ?? ?????? ???????????? ??????. ????? 
??????????? ????????? ?? ???? ?????? ?? ?????? ??? ?????? ?? ?????? ? ?????? 
?????????. ?? ?????? ?? ?????????? ???? ????????????? ?????? ?? ???????? ?? 
???????. ?1 ?????????? ????? ?????? ?? ??????? ??????????? ?? ??????????? ??? 
????????? ??????????? ?? ???????????? ???????? ?? ???? ????????????, ???? ??? 
?? ???? ????? ??????????? ?? ??????? ??? ?????????? ?? ?????? ??????.
?? ?????? ?? ?? ???????? ???? ?????? ????? ??? ?? ? ?????????! ????????? ?? 
?????????!

Reply via email to