Hi
You can use what I call "virtual smsc" along with allowed-smsc and
denied-smsc.
In your setup you can have something like:
group=smsc
smsc-id = modem1
allowed-smsc= modem1, group1, group3
...
group=smsc
smsc-id = modem2
allowed-smsc= modem2, group1, group2
...
group=smsc
smsc-id = modem3
allowed-smsc= modem3, group1, group2, group3
...
etc.
Now when you want to send a sms to a specific modem you use:
...&smsc=modemX&...
if you want to send a sms to either modem 2 or 3 you use ...&smsc=group2&...
If you want to send a sms that will go through any modem you use
...&smsc=group1&...
if you want to send a sms to either modem 1 or 3 you use ...&smsc=group3&...
You don´t need to define "virtuals smsc" anywhere on the config file.
Regards
Alvaro
|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS
y GPRS online
Visitenos en www.perusms.com
On Fri, Aug 29, 2014 at 4:46 PM, Vinicio Cruz <[email protected]>
wrote:
> Hi Group, any one knows if wildcards can be used in allowed-smsc-id?, for
> example, having 3 smsc named modem1, modem2 and modem3 can be used:
> allowed-sms-id = modem*, this is to reroute traffic from modem1 to the
> other two when it's stoped, or any other suggestion?.
>
>
>
> Thanks for your help.
>
>
>
> *Vinicio Cruz.*
>
>
>