[Freeswitch-users] Multiple gateways: Priority the first bridge with prefix

Nandy Dagondon gcd at i.ph
Mon Jul 27 00:04:34 PDT 2009


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 at 222.333.444.555"/>

<condition field="destination_number" data="(63\d*)"\>
   <action application="bridge" data="sofia/sip/$1 at 111.222.333.333"/>


On Mon, Jul 27, 2009 at 2:42 PM, Edmar Cruz <darklion11 at yahoo.com> wrote:

>
> Hi FS Users,
>
>     I just want to try multiple gateways. It works actually like this...
>
>    <action application= "bridge" data="sofia/sip/51 at 222.333.444.555 |
> sofia/sip/63 at 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..
> --
> 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
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090727/c8a7d177/attachment-0002.html 


More information about the FreeSWITCH-users mailing list