[Freeswitch-users] how to avoid many "|" in bridge application?

Phillip Jones pjintheusa at gmail.com
Tue Aug 25 07:35:45 PDT 2009


Take a look at http://jira.freeswitch.org/browse/FSCORE-422. This a
feature request I submitted. This problem it solves is different - but
the solution is the same. Perhaps you add your take to the comments
there.

On Tue, Aug 25, 2009 at 10:06 AM, Carlos S. Antunes<csa at nowthor.com> wrote:
> Max,
>
> I would like to see something similar too. For example, it would be
> wonderful if one could specify multiple gateways to try like this or
> something similar:
>
> <action application="bridge">
>    <!-- set some kind of *bridge-specific* parameter/variable -->
>    <gateway order=1 data="sofia/gateway/gw-1/1$1"/>
>    <gateway order=1 data="sofia/gateway/gw-2/1$1"/>
>    <gateway order=2 data="sofia/gateway/gw-3/1$1">
>        <!-- set some kind of *gw-specific* parameter/variable -->
>    </gateway>
>    <gateway order=3 data="sofia/gateway/gw-4/1$1"/>
> </action>
>
> One would be able to avoid the "[]" and "{}" hacks and combine
> sequential and simultaneous trying of gateways.
>
> What do the developers think of this?
>
> Carlos
>
> Max Ivanov wrote:
>> Nowdays I 'm forced to put multiple "|" to find first free gateway, ie
>> sofia/gateway/panas111/1000|sofia/gateway/panas112/1000|sofia/gateway/panas113/1000
>> ,
>> the whole sting is tooo long, is there any shorter way to write same thing? Like
>> "sofia/gateway/panas*/1000" will try all gateways matching the pattern.
>>
>> _______________________________________________
>> 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
>




More information about the FreeSWITCH-users mailing list