Keep in mind I am not trying to just arrogantly shoot down your idea, I enjoy the brainstorming.<br><br>Unfortunately it&#39;s still a problem because the core bridge/originate mechanism does not parse XML it&#39;s only parses the <br>
dial string markup.  <br><br>The XML dialplan is completely abstract from the originate mechanism because there can be many<br>dialplans not just XML.<br><br>In the end you must end up with one string of application and one string of data.<br>
<br>I am very strict about maintaining scope boundaries between abstract concepts.  I think it&#39;s the number 1 breakdown that<br>led to asterisk getting so messed up over the years and I want to avoid that same plague.<br>
<br>I hope you understand and if you want to continue to ponder some more functionality I welcome it.<br><br><br><br><div class="gmail_quote">On Tue, Aug 25, 2009 at 9:50 PM, 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;">


  

<div bgcolor="#ffffff" text="#000000">
Anthony,<br>
<br>
Yes, you are right, I was thinking strictly in terms of SIP gateways. I
guess that instead on the tag &quot;gateway&quot;, one could use &quot;channel&quot;? For
example:<br>
<br>
&lt;action application=&quot;bridge&quot;&gt;<br>
   &lt;!-- set some kind of *bridge-specific* variable --&gt;<br>
   &lt;channel order=1 data=&quot;sofia/gateway/gw-1/1$1&quot;/&gt;<br>
   &lt;channel order=1 data=&quot;sofia/gateway/gw-2/1$1&quot;/&gt;<br>
   &lt;channel order=2 data=&quot;sofia/gateway/gw-3/1$1&quot;&gt;<br>
       &lt;!-- set some kind of *channel-specific* variable --&gt;<br>
   &lt;/channel &gt;<br>
   &lt;channel order=3 data=&quot;sofia/gateway/gw-4/1$1&quot;/&gt;<br>
&lt;/action&gt;<br>
<br>
Would this be acceptable to you?<br>
<br>
Regarding the combinations of continue_on_fail and hangup_after bridge,
I&#39;ll give that a try although I suspect it will result in less
structured and harder to understand markup...<br>
<br>
Thanks!<br>
<br>
Carlos<br>
<br>
Anthony Minessale wrote:
<blockquote type="cite"><div><div></div><div class="h5">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" target="_blank">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><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" target="_blank">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" target="_blank">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/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
  <br>
AIM: anthm<br>
  <a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a>
#freeswitch<br>
  <br>
FreeSWITCH Developer Conference<br>
  <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
  <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
  <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:213-799-1400<br>
  </div></div><pre><hr size="4" width="90%"><div class="im">
_______________________________________________
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
  </div></pre>
</blockquote>
</div>

<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></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>