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/[email protected]"/> <condition field="destination_number" data="(63\d*)"\> <action application="bridge" data="sofia/sip/[email protected]"/> On Mon, Jul 27, 2009 at 2:42 PM, Edmar Cruz <[email protected]> wrote: > > Hi FS Users, > > I just want to try multiple gateways. It works actually like this... > > <action application= "bridge" data="sofia/sip/[email protected] | > sofia/sip/[email protected]"/> > > 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.. > -- > View this message in context: > http://www.nabble.com/Multiple-gateways%3A-Priority-the-first-bridge-with-prefix-tp24674280p24674280.html > Sent from the Freeswitch-users mailing list archive at Nabble.com. > > > _______________________________________________ > FreeSWITCH-users mailing list > [email protected] > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org >
_______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
