<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19154">
<STYLE></STYLE>
</HEAD>
<BODY 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 style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=infos@madovsky.org href="mailto:infos@madovsky.org">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">FreeSWITCH Users Help</A> 
  </DIV>
  <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; font-color: black"><B>From:</B> 
    <A title=hynek.cihlar@gmail.com href="mailto:hynek.cihlar@gmail.com">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">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&nbsp;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" 
    class=Apple-style-span>
    <DIV><FONT face="'courier new', monospace">&nbsp; &lt;context 
    name="default"&gt;</FONT></DIV>
    <DIV><FONT face="'courier new', monospace">&nbsp; &nbsp; &nbsp;&lt;extension 
    name="ext"&gt;</FONT></DIV>
    <DIV><FONT face="'courier new', monospace">&nbsp; &nbsp; &nbsp; 
    &lt;condition field="destination_number" 
    expression="^(\d+)$"&gt;</FONT></DIV>
    <DIV><FONT face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; 
    &nbsp; <B><FONT class=Apple-style-span color=#ff0000>NO HANGUP IS 
    ESSENTIAL</FONT></B></FONT></DIV>
    <DIV><FONT face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; 
    &nbsp; &lt;action application="set" 
    data="hangup_after_bridge=false"/&gt;</FONT></DIV>
    <DIV><FONT face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; 
    &nbsp; &lt;action application="bridge" 
    data="sofia/internal/$1%${domain_name}"/&gt;</FONT></DIV>
    <DIV><FONT face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; 
    &nbsp;&nbsp;</FONT></DIV>
    <DIV><FONT face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; 
    &nbsp; &nbsp;<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="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; 
    &nbsp;&nbsp;&lt;action application="bridge" 
    data="sofia/external/$1@${host}"/&gt;</FONT></DIV>
    <DIV><FONT face="'courier new', monospace">&nbsp; &nbsp; &nbsp; 
    &lt;/condition&gt;</FONT></DIV>
    <DIV><FONT face="'courier new', monospace">&nbsp; &nbsp; 
    &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">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 class=h5>
        <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="'courier new', monospace">&nbsp; &lt;context 
        name="default"&gt;</FONT></DIV>
        <DIV><FONT face="'courier new', monospace">&nbsp; &nbsp; 
        &nbsp;&lt;extension name="ext"&gt;</FONT></DIV>
        <DIV><FONT face="'courier new', monospace">&nbsp; &nbsp; &nbsp; 
        &lt;condition field="destination_number" 
        expression="^(\d+)$"&gt;</FONT></DIV>
        <DIV><FONT face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; 
        &nbsp; &lt;action application="bridge" 
        data="sofia/internal/$1%${domain_name}"/&gt;</FONT></DIV>
        <DIV><FONT face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; 
        &nbsp;&nbsp;</FONT></DIV>
        <DIV><FONT face="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; 
        &nbsp; &nbsp;<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="'courier new', monospace">&nbsp; &nbsp; &nbsp; &nbsp; 
        &nbsp;&nbsp;&lt;action application="bridge" 
        data="sofia/external/$1@${host}"/&gt;</FONT></DIV>
        <DIV><FONT face="'courier new', monospace">&nbsp; &nbsp; &nbsp; 
        &lt;/condition&gt;</FONT></DIV>
        <DIV><FONT face="'courier new', monospace">&nbsp; &nbsp; 
        &lt;/extension&gt;</FONT></DIV></DIV>
        <DIV><FONT face="'courier new', 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">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>
    <HR>

    <P></P><BR>FreeSWITCH-users mailing 
    list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE>
  <P>
  <HR>

  <P></P><BR>FreeSWITCH-users mailing 
  list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BODY></HTML>