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

Nandy Dagondon gcd at i.ph
Mon Jul 27 01:44:15 PDT 2009


ed,

i mean you use separate extension names:

<extension name="prefix-51">
<condition field="destination_number" data="(51\d*)"\>
   <action application="bridge" data="sofia/sip1/$1 at 222.333.444.555"/>
</extension>

<extension name="prefix-63">
<condition field="destination_number" data="(63\d*)"\>
   <action application="bridge" data="sofia/sip2/$1 at 111.222.333.333"/>
</extension>

btw, you should also use separate gateway names "sip1" and "sip2". so
differentiate them in the bridge application.

On Mon, Jul 27, 2009 at 4:16 PM, Jason White <jason at jasonjgw.net> wrote:

> Edmar Cruz <darklion11 at yahoo.com> wrote:
> >
> > Not working just the same both of them are running
>
> Do you have them as separate extensions in the dial plan?
>
>
> _______________________________________________
> 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/64739dc6/attachment-0002.html 


More information about the FreeSWITCH-users mailing list