in my implementation, i would use 2 separate conditions that looks like this:
<condition field="destination_number" data="(51\d*)"\>
<action application="bridge" data="sofia/sip/$1@222.333.444.555"/>
<condition field="destination_number" data="(63\d*)"\>
<action application="bridge" data="sofia/sip/$1@111.222.333.333"/>
View this message in context: http://www.nabble.com/Multiple-gateways%3A-Priority-the-first-bridge-with-prefix-tp24674280p24674280.html
Hi FS Users,
I just want to try multiple gateways. It works actually like this...
<action application= "bridge" data="sofia/sip/51@222.333.444.555 |
sofia/sip/63@111.222.333.3333"/>
But I test call like 5133333 at 222.333.444.555, it also calls the
second bridge 111.222.333.333.
It there any way to determine which prefix will call to a bridge
specified.
E.g.
for bridge 1: with prefix of 51 the call with run to 222.333.444.555 not
at the second bridge and vice versa. Please help..
--
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org