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

Edmar Cruz darklion11 at yahoo.com
Mon Jul 27 00:47:40 PDT 2009


Not working just the same both of them are running 

Nandy Dagondon wrote:
> 
> 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
>>
> 
> _______________________________________________
> 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-tp24674260p24675073.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.





More information about the FreeSWITCH-users mailing list