<div dir="ltr">Wiki says:<div><meta http-equiv="content-type" content="text/html; charset=utf-8"><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

<span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; ">It will return a value suitable for use with the bridge application in the variable ${lcr_auto_route}. It will also populate the variables lcr_route_N (where N is 1 to route count) and lcr_route_count for more flexible use of the lcr information in scripts.</span></blockquote>

<div>You can bridge to <span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; ">${lcr_route_1} and then </span><span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; ">${lcr_route_2}, etc. but I don&#39;t know how many carriers it will end up returning..</span></div>

<div><span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; "><br></span></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif; ">-Avi</span></div>


<br><br><div class="gmail_quote">On Thu, Oct 13, 2011 at 7:07 AM, 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" text="#000000">
<div><font size="2">no ex sorry.</font></div>
<div><font size="2">try to hash you mod_lcr result in different 
variables</font></div>
<div><font size="2">and create multiline bridge with continue_on_fail and 
hangup_cause conidtions between them.</font></div>
<div><font size="2"></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="boris@tagnet.ru" href="mailto:boris@tagnet.ru" target="_blank">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" target="_blank">FreeSWITCH Users Help</a> 
  </div>
  </div><div><div></div><div class="h5"><div style="font:10pt arial"><b>Sent:</b> Thursday, October 13, 2011 12:32 
  AM</div>
  <div style="font:10pt arial"><b>Subject:</b> Re: [Freeswitch-users] 
  continue_on_fail</div>
  <div><br></div>Hello!<br><br>    May You give an example? I use 
  mod_lcr <br><br>
  <blockquote type="cite">
    
    <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> </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"><b>From:</b> 
      <a title="boris@tagnet.ru" href="mailto:boris@tagnet.ru" target="_blank">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" target="_blank">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>    No. I even tried 
      continue_on_fail=false and hangup_after_bridge=true<br>
      <blockquote type="cite">
        
        

        <div><font size="2">did you resolve it ?</font></div>
        <div> </div>
        <div><font size="2">after some test I&#39;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> </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"><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 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"><b>From:</b> 
            <a title="boris@tagnet.ru" href="mailto:boris@tagnet.ru" target="_blank">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" target="_blank">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>    No, the question was 
            how to FAILOVER :) I need to stop processing dialstring if user at 
            carrier1 is busy.<br><br>
            <blockquote 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-wrap;font-size:medium"><br></span></div>
              <div><span style="font-family:monospace;white-space:pre-wrap;font-size:medium">sofia/gateway/carrier1/14105780999|sofia/gateway/ 
              carrier2/14105780999|sofia/gateway/ 
              carrier3/14105780999</span></div>
              <div><span style="font-family:&#39;Times New Roman&#39;;font-size:medium"><pre>The question was how to make it when the first returns &quot;user_busy&quot; 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" target="_blank">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&#39;re talking about something more 
                than just continuing_on_fail. We&#39;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><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">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: 
                   continue_on_fail is per bridge string, not per leg. So 
                  it doesn&#39;t actually help with the question.. 
                  <div>Unless I&#39;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">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">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 &quot;enumeration&quot; column on this page 
                    to get an idea of the kinds of failures you may not be aware 
                    of: <a 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 href="mailto:avi@avimarcus.net" target="_blank">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&#39;ve been wondering how to do this. 
                      <div>When I asked in channel, I was basically told this 
                      couldn&#39;t be done in a single bridge string... I hope 
                      that&#39;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">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>    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>  Борис Коваленко<br>  ЗАО 
                        &quot;Тагнет&quot;<br>  тел. <a href="tel:%2B7%20%283435%29%20230001" value="+73435230001" target="_blank">+7 (3435) 
                        230001</a><br>  факс <a 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 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>

</blockquote></div><br></div></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></div></div></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></div></div></div></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></div></div></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></div></div><br>
              <fieldset></fieldset> <br><pre>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>
</pre></blockquote><br><br><pre cols="72">-- 
Regards,
Boris

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

</blockquote></blockquote><br>
        <fieldset></fieldset> <br><pre>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>
</pre></blockquote><br><br><pre cols="72">-- 
Regards,
Boris
 
</pre>
      <p></p>
      <hr>
      <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>

</blockquote><br>
    <fieldset></fieldset> <br><pre>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>
</pre></blockquote><br><br><pre cols="72">-- 
Regards,
Boris
 
</pre>
  <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></div></div>