<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    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 class="Apple-style-span" style="font-family:
            monospace; white-space: pre; font-size: medium; "><br>
          </span></div>
        <div><span class="Apple-style-span" style="font-family:
            monospace; white-space: pre; font-size: medium; ">sofia/gateway/carrier1/14105780999|sofia/gateway/
            <meta http-equiv="content-type" content="text/html;
              charset=ISO-8859-1">
            carrier2/14105780999|sofia/gateway/
            <meta http-equiv="content-type" content="text/html;
              charset=ISO-8859-1">
            carrier3/14105780999</span></div>
        <div><span class="Apple-style-span" style="font-family: 'Times
            New Roman'; font-size: medium; ">
            <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
                moz-do-not-send="true" href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex;">
              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
                          moz-do-not-send="true"
                          href="mailto:avi@avimarcus.net"
                          target="_blank">avi@avimarcus.net</a>&gt;</span>
                      wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex">
                        <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
                                      moz-do-not-send="true"
                                      href="mailto:msc@freeswitch.org"
                                      target="_blank">msc@freeswitch.org</a>&gt;</span>
                                  wrote:<br>
                                  <blockquote class="gmail_quote"
                                    style="margin:0 0 0
                                    .8ex;border-left:1px #ccc
                                    solid;padding-left:1ex">
                                    You will need to specify the error
                                    conditions on which to continue. See
                                    the example here:
                                    <div><a moz-do-not-send="true"
href="http://wiki.freeswitch.org/wiki/Channel_Variables#continue_on_fail"
                                        target="_blank">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
                                        moz-do-not-send="true"
                                        href="http://wiki.freeswitch.org/wiki/Hangup_causes"
                                        target="_blank">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
                                                moz-do-not-send="true"
                                                href="mailto:avi@avimarcus.net"
                                                target="_blank">avi@avimarcus.net</a>&gt;</span>
                                            wrote:<br>
                                            <blockquote
                                              class="gmail_quote"
                                              style="margin:0 0 0
                                              .8ex;border-left:1px #ccc
                                              solid;padding-left:1ex">
                                              <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
                                                        moz-do-not-send="true"
href="mailto:boris@tagnet.ru" target="_blank">boris@tagnet.ru</a>&gt;</span>
                                                    wrote:<br>
                                                    <blockquote
                                                      class="gmail_quote"
                                                      style="margin:0 0
                                                      0
                                                      .8ex;border-left:1px
                                                      #ccc
                                                      solid;padding-left:1ex">
                                                      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>
                                                      &#1057; &#1091;&#1074;&#1072;&#1078;&#1077;&#1085;&#1080;&#1077;&#1084;,<br>
                                                      &nbsp; &#1041;&#1086;&#1088;&#1080;&#1089; &#1050;&#1086;&#1074;&#1072;&#1083;&#1077;&#1085;&#1082;&#1086;<br>
                                                      &nbsp; &#1047;&#1040;&#1054; "&#1058;&#1072;&#1075;&#1085;&#1077;&#1090;"<br>
                                                      &nbsp; &#1090;&#1077;&#1083;. <a
                                                        moz-do-not-send="true"
href="tel:%2B7%20%283435%29%20230001" value="+73435230001"
                                                        target="_blank">+7
                                                        (3435) 230001</a><br>
                                                      &nbsp; &#1092;&#1072;&#1082;&#1089; <a
                                                        moz-do-not-send="true"
href="tel:%2B7%20%283435%29%20230005" value="+73435230005"
                                                        target="_blank">+7
                                                        (3435) 230005</a><br>
                                                      <br>
                                                      <br>
                                                      <br>
                                                      FreeSWITCH-users
                                                      mailing list<br>
                                                      <a
                                                        moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
                                                      <a
                                                        moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                                                        target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                                                      UNSUBSCRIBE:<a
                                                        moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                                                        target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                                                      <a
                                                        moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
                                                    </blockquote>
                                                  </div>
                                                  <br>
                                                </div>
                                              </div>
                                              <br>
                                              <br>
                                              FreeSWITCH-users mailing
                                              list<br>
                                              <a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
                                              <a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                                                target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                                              UNSUBSCRIBE:<a
                                                moz-do-not-send="true"
                                                href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                                                target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                                              <a moz-do-not-send="true"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
                                              <br>
                                            </blockquote>
                                          </div>
                                          <br>
                                        </div>
                                      </div>
                                    </div>
                                    <br>
                                    <br>
                                    FreeSWITCH-users mailing list<br>
                                    <a moz-do-not-send="true"
                                      href="mailto:FreeSWITCH-users@lists.freeswitch.org"
                                      target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
                                    <a moz-do-not-send="true"
                                      href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                                      target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                                    UNSUBSCRIBE:<a
                                      moz-do-not-send="true"
                                      href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                                      target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                                    <a moz-do-not-send="true"
                                      href="http://www.freeswitch.org"
                                      target="_blank">http://www.freeswitch.org</a><br>
                                    <br>
                                  </blockquote>
                                </div>
                                <br>
                              </div>
                            </div>
                          </div>
                        </div>
                        <br>
                        <br>
                        FreeSWITCH-users mailing list<br>
                        <a moz-do-not-send="true"
                          href="mailto:FreeSWITCH-users@lists.freeswitch.org"
                          target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
                        <a moz-do-not-send="true"
                          href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                          target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                        UNSUBSCRIBE:<a moz-do-not-send="true"
                          href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                          target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                        <a moz-do-not-send="true"
                          href="http://www.freeswitch.org"
                          target="_blank">http://www.freeswitch.org</a><br>
                        <br>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                </div>
              </div>
              <br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org"
                target="_blank">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">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

</pre>
  </body>
</html>