<div>Right... or multiple destinations in the bridge with &#39;or&#39; semantics, if bridge supports that. The think is, as you got it correctly, that there may be only one bridge for the incoming session.</div><br clear="all">

Hynek<br><br>
<br><br><div class="gmail_quote">On Fri, Oct 21, 2011 at 7:18 PM, Madovsky <span dir="ltr">&lt;<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<u></u>





<div bgcolor="#ffffff">
<div><font size="2">sorry you have to hangup the bridge before to try another 
bridge..</font></div>
<blockquote style="border-left:#000000 2px solid;padding-left:5px;padding-right:0px;margin-left:5px;margin-right:0px"><div class="im">
  <div style="font:10pt arial">----- Original Message ----- </div>
  <div style="font:10pt arial;background:#e4e4e4"><b>From:</b> 
  <a title="infos@madovsky.org" href="mailto:infos@madovsky.org" target="_blank">Madovsky</a> 
  </div>
  <div style="font:10pt arial"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">FreeSWITCH Users Help</a> 
  </div>
  </div><div><div></div><div class="h5"><div style="font:10pt arial"><b>Sent:</b> Friday, October 21, 2011 1:14 
  PM</div>
  <div style="font:10pt arial"><b>Subject:</b> Re: [Freeswitch-users] 
  Transparent external call</div>
  <div><br></div>
  <div><font size="2">so use hangup_cause in condition</font></div>
  <blockquote style="border-left:#000000 2px solid;padding-left:5px;padding-right:0px;margin-left:5px;margin-right:0px">
    <div style="font:10pt arial">----- Original Message ----- </div>
    <div style="font:10pt arial;background:#e4e4e4"><b>From:</b> 
    <a title="hynek.cihlar@gmail.com" href="mailto:hynek.cihlar@gmail.com" target="_blank">Hynek 
    Cihlar</a> </div>
    <div style="font:10pt arial"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">FreeSWITCH Users 
    Help</a> </div>
    <div style="font:10pt arial"><b>Sent:</b> Friday, October 21, 2011 12:56 
    PM</div>
    <div style="font:10pt arial"><b>Subject:</b> Re: [Freeswitch-users] 
    Transparent external call</div>
    <div><br></div>
    <div>My apology. Forgot to mention that I need the hangup_after_bridge 
    to be false. There is additional processing on the legs after hangup.</div>
    <div><br></div>
    <div><br></div>
    <div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">
    <div><font face="&#39;courier new&#39;, monospace">  &lt;context 
    name=&quot;default&quot;&gt;</font></div>
    <div><font face="&#39;courier new&#39;, monospace">     &lt;extension 
    name=&quot;ext&quot;&gt;</font></div>
    <div><font face="&#39;courier new&#39;, monospace">      
    &lt;condition field=&quot;destination_number&quot; 
    expression=&quot;^(\d+)$&quot;&gt;</font></div>
    <div><font face="&#39;courier new&#39;, monospace">        
      <b><font color="#ff0000">NO HANGUP IS 
    ESSENTIAL</font></b></font></div>
    <div><font face="&#39;courier new&#39;, monospace">        
      &lt;action application=&quot;set&quot; 
    data=&quot;hangup_after_bridge=false&quot;/&gt;</font></div>
    <div><font face="&#39;courier new&#39;, monospace">        
      &lt;action application=&quot;bridge&quot; 
    data=&quot;sofia/internal/$1%${domain_name}&quot;/&gt;</font></div>
    <div><font face="&#39;courier new&#39;, monospace">        
      </font></div>
    <div><font face="&#39;courier new&#39;, monospace">        
       <b><font color="#ff0000">HOW TO RUN THIS ACTION, ONLY IF THE 
    ABOVE BRIDGE FAILS (THE DST NUMBER IS NOT AN EXTENSION OF A REGED 
    USER)?</font></b></font></div>
    <div><font face="&#39;courier new&#39;, monospace">        
      &lt;action application=&quot;bridge&quot; 
    data=&quot;sofia/external/$1@${host}&quot;/&gt;</font></div>
    <div><font face="&#39;courier new&#39;, monospace">      
    &lt;/condition&gt;</font></div>
    <div><font face="&#39;courier new&#39;, monospace">    
    &lt;/extension&gt;</font></div></span></div>
    <div><br></div><br clear="all">Hynek<br><br><br><br>
    <div class="gmail_quote">On Fri, Oct 21, 2011 at 6:40 PM, Madovsky <span dir="ltr">&lt;<a href="mailto:infos@madovsky.org" target="_blank">infos@madovsky.org</a>&gt;</span> 
wrote:<br>
    <blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote"><u></u>
      <div bgcolor="#ffffff">
      <div><font size="2">take a look at hangup_after_bridge and continue_on_fail 
      wiki</font></div>
      <div><font size="2">and make condition with hangup_cause</font></div>
      <blockquote style="border-left:#000000 2px solid;padding-left:5px;padding-right:0px;margin-left:5px;margin-right:0px">
        <div>
        <div></div>
        <div>
        <div style="font:10pt arial">----- Original Message ----- </div>
        <div style="font:10pt arial;background:#e4e4e4"><b>From:</b> <a title="hynek.cihlar@gmail.com" href="mailto:hynek.cihlar@gmail.com" target="_blank">Hynek Cihlar</a> </div>
        <div style="font:10pt arial"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">FreeSWITCH Users Help</a> </div>
        <div style="font:10pt arial"><b>Sent:</b> Friday, October 21, 2011 9:09 
        AM</div>
        <div style="font:10pt arial"><b>Subject:</b> [Freeswitch-users] 
        Transparent external call</div>
        <div><br></div>
        <div>
        <div><font face="&#39;courier new&#39;, monospace">  &lt;context 
        name=&quot;default&quot;&gt;</font></div>
        <div><font face="&#39;courier new&#39;, monospace">    
         &lt;extension name=&quot;ext&quot;&gt;</font></div>
        <div><font face="&#39;courier new&#39;, monospace">      
        &lt;condition field=&quot;destination_number&quot; 
        expression=&quot;^(\d+)$&quot;&gt;</font></div>
        <div><font face="&#39;courier new&#39;, monospace">        
          &lt;action application=&quot;bridge&quot; 
        data=&quot;sofia/internal/$1%${domain_name}&quot;/&gt;</font></div>
        <div><font face="&#39;courier new&#39;, monospace">        
          </font></div>
        <div><font face="&#39;courier new&#39;, monospace">        
           <b><font color="#ff0000">HOW TO RUN THIS ACTION, ONLY IF THE 
        ABOVE BRIDGE FAILS (THE DST NUMBER IS NOT AN EXTENSION OF A REGED 
        USER)?</font></b></font></div>
        <div><font face="&#39;courier new&#39;, monospace">        
          &lt;action application=&quot;bridge&quot; 
        data=&quot;sofia/external/$1@${host}&quot;/&gt;</font></div>
        <div><font face="&#39;courier new&#39;, monospace">      
        &lt;/condition&gt;</font></div>
        <div><font face="&#39;courier new&#39;, monospace">    
        &lt;/extension&gt;</font></div></div>
        <div><font face="&#39;courier new&#39;, monospace"><br></font></div>
        <div><br></div><br clear="all">Hynek<br><br></div></div>
        <p></p>
        <hr>

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


        <p></p></blockquote></div><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>

<br></blockquote></div><br>
    <p>
    </p><hr>

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

<p></p></blockquote>
  <p>
  </p><hr>

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

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