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

Edmar Cruz darklion11 at yahoo.com
Mon Jul 27 18:23:10 PDT 2009


Yes, I actually just want to not be able to communicate with the other
bridges. I have already this extension name = "sample-1". Freeswitch gets
the first extension the 2nd also trigger it. When the calls finds the match
it suits perfectly but I just want that I do not want to view the bridges
with CS_DESTROY or hangup_after_false if not found. 

Nandy Dagondon wrote:
> 
> 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
>>
> 
> _______________________________________________
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/Multiple-gateways%3A-Priority-the-first-bridge-with-prefix-tp24674260p24691020.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.





More information about the FreeSWITCH-users mailing list