Follow-up configuration:

group = smsc
smsc = smpp
smsc-id = "SMSC1"
allowed-smsc-id = "SMSC1;SMSC2"
allowed-receiver-prefix = prefix1,prefix3

group = smsc
smsc = smpp
smsc-id = "SMSC2"
allowed-smsc-id = "SMSC1;SMSC2"
allowed-receiver-prefix = prefix2,prefix3

……………………………

Opensmppbox
group = smsc-route
smsc-id = SMSC1
smsbox-id = SMSC1

With the above, kannel will load-share between SMSC12 and SMSC2 for prefix3 and 
will use SMSC1-only for prefix1 and SMSC2-only for prefix2. If you on top of 
this want to have a preferred SMSC for prefix3 instead of load sharing, just 
add preferred-smsc-id = SMSC1 in the SMSC1 configuration.

Good luck!

Davor Spasoski

From: users [mailto:users-boun...@kannel.org] On Behalf Of Davor Spasoski
Sent: Wednesday, July 26, 2017 10:35 PM
To: Gorki Alfaro <gork...@gmail.com>
Cc: users@kannel.org
Subject: Re: Routing to multiple SMSCs OPENSMPP

The smscs do not necessarily have to have same-ids. Same smsc-ids are used when 
you want to load balance the traffic among two or more smscs.
Use two id. It is important that smsc1 should allow smsc2 and vice versa. I 
can't be much verbose now, as I'm writing from my handy. I'll have access to a 
computer tomorrow afternoon. Until then, read the userguide and experiment.

Davor

On Jul 26, 2017, at 6:24 PM, Gorki Alfaro 
<gork...@gmail.com<mailto:gork...@gmail.com>> wrote:
Hi Davor, thanks for your help.

I understand that in the opensmppbox config I have to set the variable 
route-to-smsc to a specific smsc-id and then in the kannel configuration file 
set two o more  group = smsc with the same id  (here use the variables 
allowed-smsc-id and allowed-prefix)   ?
Can you provide an example?


Thanks in advance
Gorki



2017-07-26 1:35 GMT-06:00 Davor Spasoski 
<davor.spaso...@onevip.mk<mailto:davor.spaso...@onevip.mk>>:
Hi,

Try using the allowed-smsc-id and allowed-prefix of the SMSC group set of 
variables.

Davor Spasoski
From: users [mailto:users-boun...@kannel.org<mailto:users-boun...@kannel.org>] 
On Behalf Of Gorki Alfaro
Sent: Wednesday, July 26, 2017 5:47 AM
To: users@kannel.org<mailto:users@kannel.org>
Subject: Routing to multiple SMSCs OPENSMPP

Hello my friends

Does anyone solve this situation?  I have clients connecting to me through SMPP 
connections who needs to send messages to more than one SMSC however OPENSMPP 
configuration only allows one SMSC (variable route-to-smsc) .
The question is: How can I redirect messages to different SMSC based on the 
destination number?

Thanks in advance

Gorki


________________________________

Disclaimer: one.Vip DOO 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. one.Vip DOO 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!

Напомена: оне.Вип ДОО Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. оне.Вип ДОО Скопје не презема одговорност за несоодветно или нецелосно 
пренесување на информациите содржани во оваа комуникација, ниту пак за било 
какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!


________________________________

Disclaimer: one.Vip DOO 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. one.Vip DOO 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!

Напомена: оне.Вип ДОО Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. оне.Вип ДОО Скопје не презема одговорност за несоодветно или нецелосно 
пренесување на информациите содржани во оваа комуникација, ниту пак за било 
какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!

________________________________

Disclaimer: one.Vip DOO 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. one.Vip DOO 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!

Напомена: оне.Вип ДОО Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. оне.Вип ДОО Скопје не презема одговорност за несоодветно или нецелосно 
пренесување на информациите содржани во оваа комуникација, ниту пак за било 
какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!

Reply via email to