RE: opensmppbox smsc-route

2020-03-30 Thread Rene Kluwen
You need a separate opensmppbox.conf for each instance.

Then start opensmppbox three times, each with it's own config file.

 

Van: Techinnovation  
Verzonden: maandag 30 maart 2020 11:00
Aan: Rene Kluwen 
CC: users@kannel.org
Onderwerp: Re: opensmppbox smsc-route

 

Hello,

Could you please support with configurations where three separate
opensmppbox instances ?
It will be help with example.

Thank you !


BR,
Alekxandr 

Tuesday, January 28, 2020, 10:38:52 AM, you wrote:


Hello Rene,

Could you please share example of configurations with three separate
opensmppbox instances ?

BR,
Aleksandr

Monday, January 27, 2020, 2:17:44 PM, you wrote:


Inside of opensmppbox there is no esme-routing.
Apart from that, Kannel itself only has prefix-routing that you could use.
 
A work-around for that will be firing three separate opensmppbox instances,
each with a different config and port.
That way you could set the route-to-smsc for the esme to the desired smsc.
 
== Rene
 
Van: users mailto:users-boun...@kannel.org> >
Namens Techinnovation
Verzonden: maandag 27 januari 2020 13:09
Aan: users@kannel.org  
Onderwerp: 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 






-- 
Best regards,
 Techinnovation 
mailto:techinnovat...@inbox.lv





-- 
Best regards,
 Techinnovation 
mailto:techinnovat...@inbox.lv



Re: opensmppbox smsc-route

2020-03-30 Thread Techinnovation
Hello,

Could you please support with configurations where three separate opensmppbox 
instances ?
It will be help with example.

Thank you !


BR,
Alekxandr 

Tuesday, January 28, 2020, 10:38:52 AM, you wrote:


Hello Rene,

Could you please share example of configurations with three separate 
opensmppbox instances ?

BR,
Aleksandr

Monday, January 27, 2020, 2:17:44 PM, you wrote:


Inside of opensmppbox there is no esme-routing.
Apart from that, Kannel itself only has prefix-routing that you could use.
 
A work-around for that will be firing three separate opensmppbox instances, 
each with a different config and port.
That way you could set the route-to-smsc for the esme to the desired smsc.
 
== Rene
 
Van: users  Namens Techinnovation
Verzonden: maandag 27 januari 2020 13:09
Aan: users@kannel.org
Onderwerp: 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 





-- 
Best regards,
 Techinnovationmailto:techinnovat...@inbox.lv




-- 
Best regards,
 Techinnovationmailto:techinnovat...@inbox.lv