This suggestion violates the scope boundaries.<br><br>gateways are specific concept to mod_sofia so a <gateway> tag in <action> (part of agnostic xml dialplan)<br>does not flow properly.<br><br>you can also use combinations of continue_on_fail and hangup_after bridge so you can<br>
just put each bridge statement in it's own action.<br><br><br><div class="gmail_quote">On Tue, Aug 25, 2009 at 9:06 AM, Carlos S. Antunes <span dir="ltr"><<a href="mailto:csa@nowthor.com">csa@nowthor.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Max,<br>
<br>
I would like to see something similar too. For example, it would be<br>
wonderful if one could specify multiple gateways to try like this or<br>
something similar:<br>
<br>
<action application="bridge"><br>
<!-- set some kind of *bridge-specific* parameter/variable --><br>
<gateway order=1 data="sofia/gateway/gw-1/1$1"/><br>
<gateway order=1 data="sofia/gateway/gw-2/1$1"/><br>
<gateway order=2 data="sofia/gateway/gw-3/1$1"><br>
<!-- set some kind of *gw-specific* parameter/variable --><br>
</gateway><br>
<gateway order=3 data="sofia/gateway/gw-4/1$1"/><br>
</action><br>
<br>
One would be able to avoid the "[]" and "{}" hacks and combine<br>
sequential and simultaneous trying of gateways.<br>
<br>
What do the developers think of this?<br>
<font color="#888888"><br>
Carlos<br>
</font><div><div></div><div class="h5"><br>
Max Ivanov wrote:<br>
> Nowdays I 'm forced to put multiple "|" to find first free gateway, ie<br>
> sofia/gateway/panas111/1000|sofia/gateway/panas112/1000|sofia/gateway/panas113/1000<br>
> ,<br>
> the whole sting is tooo long, is there any shorter way to write same thing? Like<br>
> "sofia/gateway/panas*/1000" will try all gateways matching the pattern.<br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>