<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19154"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV><FONT size=2>try to use bridge witn single line</FONT></DIV>
<DIV><FONT size=2>and put condition with hangup cause between....</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>hope it helps</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=boris@tagnet.ru href="mailto:boris@tagnet.ru">Boris Kovalenko</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> Wednesday, October 12, 2011 11:43 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] 
  continue_on_fail</DIV>
  <DIV><BR></DIV>Hello!<BR><BR>&nbsp;&nbsp;&nbsp; No. I even tried 
  continue_on_fail=false and hangup_after_bridge=true<BR>
  <BLOCKQUOTE cite=mid:73233639A2EE4ACC9DDBC958E457099B@e1705 type="cite">
    <META name=GENERATOR content="MSHTML 8.00.6001.19154">
    <STYLE></STYLE>

    <DIV><FONT size=2>did you resolve it ?</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT size=2>after some test I'm facing the same problem</FONT></DIV>
    <DIV><FONT size=2>if for example the callee decides to send a user busy so 
    FS tries with the second bridge and</FONT></DIV>
    <DIV><FONT size=2>makes a second call which can be interpreted as 
    harrassment ;)</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <BLOCKQUOTE 
    style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px" 
    dir=ltr>
      <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" 
      moz-do-not-send="true">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" 
      moz-do-not-send="true">FreeSWITCH Users Help</A> </DIV>
      <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, October 10, 2011 11:28 
      PM</DIV>
      <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] 
      continue_on_fail</DIV>
      <DIV><BR></DIV>
      <DIV><FONT size=2>maybe modify continue_on_fail as a leg var on the first 
      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=boris@tagnet.ru href="mailto:boris@tagnet.ru" 
        moz-do-not-send="true">Boris Kovalenko</A> </DIV>
        <DIV style="FONT: 10pt arial"><B>To:</B> <A 
        title=freeswitch-users@lists.freeswitch.org 
        href="mailto:freeswitch-users@lists.freeswitch.org" 
        moz-do-not-send="true">FreeSWITCH Users Help</A> </DIV>
        <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, October 10, 2011 
        11:12 PM</DIV>
        <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] 
        continue_on_fail</DIV>
        <DIV><BR></DIV>Hello!<BR><BR>&nbsp;&nbsp;&nbsp; No, the question was how 
        to FAILOVER :) I need to stop processing dialstring if user at carrier1 
        is busy.<BR><BR>
        <BLOCKQUOTE 
        cite=mid:CALNZuwnBQixaweDEa6YFPpx4zW5_c5+zn9SFtLSEtGWvQ3CyNA@mail.gmail.com 
        type="cite">
          <DIV dir=ltr>the question was about mod_lcr. 
          <DIV>it returns something like:</DIV>
          <DIV><SPAN 
          style="FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: medium" 
          class=Apple-style-span><BR></SPAN></DIV>
          <DIV><SPAN 
          style="FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: medium" 
          class=Apple-style-span>sofia/gateway/carrier1/14105780999|sofia/gateway/ 
          carrier2/14105780999|sofia/gateway/ carrier3/14105780999</SPAN></DIV>
          <DIV><SPAN style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: medium" 
          class=Apple-style-span><PRE>The question was how to make it when the first returns "user_busy" to not failover and try the other ones.</PRE></SPAN>
          <DIV dir=ltr><SPAN style="FONT-FAMILY: Verdana, Arial,
                              Helvetica, sans-serif"><SPAN 
          style="FONT-SIZE: small">-Avi</SPAN></SPAN></DIV><BR><BR>
          <DIV class=gmail_quote>On Mon, Oct 10, 2011 at 6:40 PM, Michael 
          Collins <SPAN dir=ltr>&lt;<A href="mailto:msc@freeswitch.org" 
          moz-do-not-send="true">msc@freeswitch.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>Well, now we're talking about something more than 
            just continuing_on_fail. We'll need to look at the actual dialstring 
            to answer any more specific questions. 
            <DIV><BR></DIV>
            <DIV><FONT color=#888888>-MC</FONT> 
            <DIV>
            <DIV class=h5><BR><BR>
            <DIV class=gmail_quote>On Mon, Oct 10, 2011 at 8:54 AM, Avi Marcus 
            <SPAN dir=ltr>&lt;<A href="mailto:avi@avimarcus.net" target=_blank 
            moz-do-not-send="true">avi@avimarcus.net</A>&gt;</SPAN> wrote:<BR>
            <BLOCKQUOTE 
            style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
            class=gmail_quote>
              <DIV dir=ltr>It seems from testing, and I was told on channel: 
              &nbsp;continue_on_fail is per bridge string, not per leg. So it 
              doesn't actually help with the question.. 
              <DIV>Unless I'm mistaken.<BR clear=all><FONT color=#888888>
              <DIV dir=ltr><SPAN style="FONT-FAMILY: Verdana,
                                                      Arial, Helvetica, sans-serif"><SPAN 
              style="FONT-SIZE: small">-Avi</SPAN></SPAN></DIV></FONT>
              <DIV>
              <DIV><BR><BR>
              <DIV class=gmail_quote>On Mon, Oct 10, 2011 at 5:12 PM, Michael 
              Collins <SPAN dir=ltr>&lt;<A href="mailto:msc@freeswitch.org" 
              target=_blank 
              moz-do-not-send="true">msc@freeswitch.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>You will need to specify the error conditions 
                on which to continue. See the example here: 
                <DIV><A 
                href="http://wiki.freeswitch.org/wiki/Channel_Variables#continue_on_fail" 
                target=_blank 
                moz-do-not-send="true">http://wiki.freeswitch.org/wiki/Channel_Variables#continue_on_fail</A></DIV>
                <DIV><BR></DIV><FONT color=#888888>
                <DIV>-MC</DIV></FONT>
                <DIV><BR></DIV>
                <DIV>P.S. - Check out the "enumeration" column on this page to 
                get an idea of the kinds of failures you may not be aware 
                of:&nbsp;<A href="http://wiki.freeswitch.org/wiki/Hangup_causes" 
                target=_blank 
                moz-do-not-send="true">http://wiki.freeswitch.org/wiki/Hangup_causes</A> 

                <DIV>
                <DIV><BR><BR>
                <DIV class=gmail_quote>On Sat, Oct 8, 2011 at 2:54 PM, Avi 
                Marcus <SPAN dir=ltr>&lt;<A href="mailto:avi@avimarcus.net" 
                target=_blank 
                moz-do-not-send="true">avi@avimarcus.net</A>&gt;</SPAN> 
                wrote:<BR>
                <BLOCKQUOTE 
                style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
                class=gmail_quote>
                  <DIV dir=ltr>I've been wondering how to do this. 
                  <DIV>When I asked in channel, I was basically told this 
                  couldn't be done in a single bridge string... I hope that's 
                  not actually the case.<BR clear=all>
                  <DIV dir=ltr><SPAN style="FONT-FAMILY: Verdana,
                                                                            Arial,
                                                                            Helvetica,
                                                                            sans-serif"><SPAN 
                  style="FONT-SIZE: small">-Avi</SPAN></SPAN></DIV><BR><BR>
                  <DIV class=gmail_quote>On Fri, Oct 7, 2011 at 4:40 PM, Boris 
                  Kovalenko <SPAN dir=ltr>&lt;<A href="mailto:boris@tagnet.ru" 
                  target=_blank 
                  moz-do-not-send="true">boris@tagnet.ru</A>&gt;</SPAN> 
                  wrote:<BR>
                  <BLOCKQUOTE 
                  style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
                  class=gmail_quote>Hello!<BR><BR>&nbsp; &nbsp; Have read docs 
                    but misundertood :( I use mod_lcr which return two<BR>or 
                    more gateways to the same destination. And when the user is 
                    busy with<BR>the first gateway the call continues with the 
                    second and so on. How may<BR>I to not continue gateways if 
                    user is busy?<BR><BR>--<BR>С уважением,<BR>&nbsp; Борис 
                    Коваленко<BR>&nbsp; ЗАО "Тагнет"<BR>&nbsp; тел. <A 
                    href="tel:%2B7%20%283435%29%20230001" target=_blank 
                    moz-do-not-send="true" value="+73435230001">+7 (3435) 
                    230001</A><BR>&nbsp; факс <A 
                    href="tel:%2B7%20%283435%29%20230005" target=_blank 
                    moz-do-not-send="true" value="+73435230005">+7 (3435) 
                    230005</A><BR><BR><BR><BR>FreeSWITCH-users mailing 
                    list<BR><A 
                    href="mailto:FreeSWITCH-users@lists.freeswitch.org" 
                    target=_blank 
                    moz-do-not-send="true">FreeSWITCH-users@lists.freeswitch.org</A><BR><A 
                    href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" 
                    target=_blank 
                    moz-do-not-send="true">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A 
                    href="http://lists.freeswitch.org/mailman/options/freeswitch-users" 
                    target=_blank 
                    moz-do-not-send="true">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A 
                    href="http://www.freeswitch.org" target=_blank 
                    moz-do-not-send="true">http://www.freeswitch.org</A><BR></BLOCKQUOTE></DIV><BR></DIV></DIV><BR><BR>FreeSWITCH-users 
                  mailing list<BR><A 
                  href="mailto:FreeSWITCH-users@lists.freeswitch.org" 
                  target=_blank 
                  moz-do-not-send="true">FreeSWITCH-users@lists.freeswitch.org</A><BR><A 
                  href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" 
                  target=_blank 
                  moz-do-not-send="true">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A 
                  href="http://lists.freeswitch.org/mailman/options/freeswitch-users" 
                  target=_blank 
                  moz-do-not-send="true">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A 
                  href="http://www.freeswitch.org" target=_blank 
                  moz-do-not-send="true">http://www.freeswitch.org</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV><BR><BR>FreeSWITCH-users 
                mailing list<BR><A 
                href="mailto:FreeSWITCH-users@lists.freeswitch.org" 
                target=_blank 
                moz-do-not-send="true">FreeSWITCH-users@lists.freeswitch.org</A><BR><A 
                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" 
                target=_blank 
                moz-do-not-send="true">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A 
                href="http://lists.freeswitch.org/mailman/options/freeswitch-users" 
                target=_blank 
                moz-do-not-send="true">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A 
                href="http://www.freeswitch.org" target=_blank 
                moz-do-not-send="true">http://www.freeswitch.org</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></DIV><BR><BR>FreeSWITCH-users 
              mailing list<BR><A 
              href="mailto:FreeSWITCH-users@lists.freeswitch.org" target=_blank 
              moz-do-not-send="true">FreeSWITCH-users@lists.freeswitch.org</A><BR><A 
              href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" 
              target=_blank 
              moz-do-not-send="true">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A 
              href="http://lists.freeswitch.org/mailman/options/freeswitch-users" 
              target=_blank 
              moz-do-not-send="true">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A 
              href="http://www.freeswitch.org" target=_blank 
              moz-do-not-send="true">http://www.freeswitch.org</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV><BR><BR>FreeSWITCH-users 
            mailing list<BR><A 
            href="mailto:FreeSWITCH-users@lists.freeswitch.org" 
            moz-do-not-send="true">FreeSWITCH-users@lists.freeswitch.org</A><BR><A 
            href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" 
            target=_blank 
            moz-do-not-send="true">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A 
            href="http://lists.freeswitch.org/mailman/options/freeswitch-users" 
            target=_blank 
            moz-do-not-send="true">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A 
            href="http://www.freeswitch.org" target=_blank 
            moz-do-not-send="true">http://www.freeswitch.org</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></DIV><BR>
          <FIELDSET class=mimeAttachmentHeader></FIELDSET> <BR><PRE wrap="">FreeSWITCH-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:FreeSWITCH-users@lists.freeswitch.org" moz-do-not-send="true">FreeSWITCH-users@lists.freeswitch.org</A>
<A class=moz-txt-link-freetext href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" moz-do-not-send="true">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A>
UNSUBSCRIBE:<A class=moz-txt-link-freetext href="http://lists.freeswitch.org/mailman/options/freeswitch-users" moz-do-not-send="true">http://lists.freeswitch.org/mailman/options/freeswitch-users</A>
<A class=moz-txt-link-freetext href="http://www.freeswitch.org" moz-do-not-send="true">http://www.freeswitch.org</A>
</PRE></BLOCKQUOTE><BR><BR><PRE class=moz-signature cols="72">-- 
Regards,
Boris

</PRE>
        <P></P>
        <HR>
        <BR>FreeSWITCH-users mailing list<BR><A class=moz-txt-link-abbreviated 
        href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR><A 
        class=moz-txt-link-freetext 
        href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A 
        class=moz-txt-link-freetext 
        href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A 
        class=moz-txt-link-freetext 
        href="http://www.freeswitch.org">http://www.freeswitch.org</A><BR></BLOCKQUOTE></BLOCKQUOTE><BR>
    <FIELDSET class=mimeAttachmentHeader></FIELDSET> <BR><PRE wrap="">FreeSWITCH-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A>
<A class=moz-txt-link-freetext href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A>
UNSUBSCRIBE:<A class=moz-txt-link-freetext href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A>
<A class=moz-txt-link-freetext href="http://www.freeswitch.org">http://www.freeswitch.org</A>
</PRE></BLOCKQUOTE><BR><BR><PRE class=moz-signature cols="72">-- 
Regards,
Boris
&nbsp;
</PRE>
  <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>