This suggestion violates the scope boundaries.<br><br>gateways are specific concept to mod_sofia so a &lt;gateway&gt; tag in &lt;action&gt; (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&#39;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">&lt;<a href="mailto:csa@nowthor.com">csa@nowthor.com</a>&gt;</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>
&lt;action application=&quot;bridge&quot;&gt;<br>
    &lt;!-- set some kind of *bridge-specific* parameter/variable --&gt;<br>
    &lt;gateway order=1 data=&quot;sofia/gateway/gw-1/1$1&quot;/&gt;<br>
    &lt;gateway order=1 data=&quot;sofia/gateway/gw-2/1$1&quot;/&gt;<br>
    &lt;gateway order=2 data=&quot;sofia/gateway/gw-3/1$1&quot;&gt;<br>
        &lt;!-- set some kind of *gw-specific* parameter/variable --&gt;<br>
    &lt;/gateway&gt;<br>
    &lt;gateway order=3 data=&quot;sofia/gateway/gw-4/1$1&quot;/&gt;<br>
&lt;/action&gt;<br>
<br>
One would be able to avoid the &quot;[]&quot; and &quot;{}&quot; 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>
&gt; Nowdays I &#39;m forced to put multiple &quot;|&quot; to find first free gateway, ie<br>
&gt; sofia/gateway/panas111/1000|sofia/gateway/panas112/1000|sofia/gateway/panas113/1000<br>
&gt; ,<br>
&gt; the whole sting is tooo long, is there any shorter way to write same thing? Like<br>
&gt; &quot;sofia/gateway/panas*/1000&quot; will try all gateways matching the pattern.<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<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>