<span style='font-family:Verdana'><span style='font-size:12px'><action application="set" data="fail_on_single_reject=USER_BUSY,NO_ANSWER"/><br />
<br />
worked for me in combination with 1|2|3 construction<br />
<br />
<p style="margin:0px; padding:0px;" >
        Ā </p>
<blockquote style="border-left: 1px solid #CCC; padding-left: 5px; margin-left: 5px; margin-bottom: 0px; margin-top: 0px; margin-right: 0px;" type="cite">
        <p style="margin:0px; padding:0px;" >
                <span style="font-family:Verdana"><span style="font-size:12px">----- Original Message -----</span></span></p>
        <p style="margin:0px; padding:0px;" >
                <span style="font-family:Verdana"><span style="font-size:12px">From: Mi Ke</span></span></p>
        <p style="margin:0px; padding:0px;" >
                <span style="font-family:Verdana"><span style="font-size:12px">Sent: 07/20/12 09:03 PM</span></span></p>
        <p style="margin:0px; padding:0px;" >
                <span style="font-family:Verdana"><span style="font-size:12px">To: FreeSWITCH Users Help</span></span></p>
        <p style="margin:0px; padding:0px;" >
                <span style="font-family:Verdana"><span style="font-size:12px">Subject: Re: [Freeswitch-users] hunting in failover mode</span></span></p>
        <br />
        <div>
                <span style="font-family:Verdana"><span style="font-size:12px">Michael, thanks for answering - I already tried this but I need to set continue_on_fail to TRUE because that seems to be the only way to pass original hangup code from leg B to A when bridge completes. And when COF is set to TRUE it behaves like it's related to the "whole" bridge i.e. until all 3 endpoints are tried entire bridge is not considered as failed of succeded. Re separate approach - I'm not sure how can I do that as the number of EPs in my case is dynamic, bridge app receives them as a 1|2|3 dialstring from rouing lua app.<br />
                <br />
                Thanks / Mike</span></span><br />
                <br />
                <p style="margin:0px; padding:0px; margin:0px; padding:0px;">
                        <span style="font-family:Verdana"><span style="font-size:12px"> </span></span></p>
                <blockquote style="border-left: 1px solid #CCC; padding-left: 5px; margin-left: 5px; margin-bottom: 0px; margin-top: 0px; margin-right: 0px;" type="cite">
                        <p style="margin:0px; padding:0px; margin:0px; padding:0px;">
                                <span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family:Verdana"><span style="font-size:12px">----- Original Message -----</span></span></span></span></p>
                        <p style="margin:0px; padding:0px; margin:0px; padding:0px;">
                                <span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family:Verdana"><span style="font-size:12px">From: Michael Collins</span></span></span></span></p>
                        <p style="margin:0px; padding:0px; margin:0px; padding:0px;">
                                <span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family:Verdana"><span style="font-size:12px">Sent: 07/20/12 08:39 PM</span></span></span></span></p>
                        <p style="margin:0px; padding:0px; margin:0px; padding:0px;">
                                <span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family:Verdana"><span style="font-size:12px">To: FreeSWITCH Users Help</span></span></span></span></p>
                        <p style="margin:0px; padding:0px; margin:0px; padding:0px;">
                                <span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family:Verdana"><span style="font-size:12px">Subject: Re: [Freeswitch-users] hunting in failover mode</span></span></span></span></p>
                        <br />
                        <div>
                                <p style="margin:0px; padding:0px; margin:0px; padding:0px;">
                                        <span style="font-family:Verdana"><span style="font-size:12px">Perhaps you could use this?<br />
                                        <a href="http://wiki.freeswitch.org/wiki/Channel_Variables#continue_on_fail">http://wiki.freeswitch.org/wiki/Channel_Variables#continue_on_fail</a><br />
                                        <br />
                                        Specify the conditions on which the bridge should keep going. Note: you may need to separate these out into individual bridge apps with a single endpoint. I haven't tried it lately, so be sure to report back what you find out.<br />
                                        <br />
                                        -MC<br />
                                         </span></span></p>
                                <div class="gmail_quote">
                                        <span style="font-family:Verdana"><span style="font-size:12px">On Fri, Jul 20, 2012 at 10:30 AM, Mi Ke <span><<a href="mailto:mi.ke@null.net" target="_blank">mi.ke@null.net</a>></span> wrote:</span></span><br />
                                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                <span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family:verdana"><span style="font-size:12px">Hi All,<br />
                                                <br />
                                                When I do a failover using bridge app and ep1|ep2|ep3 construstion - h</span></span><span style="font-family:verdana"><span style="font-size:12px">ow do I stop further hunting if any of already hunted endpoints returned e.g. USER_BUSY ?<br />
                                                <br />
                                                Thanks / Mike</span></span></span></span><br />
                                                <br />
                                                _________________________________________________________________________<br />
                                                Professional FreeSWITCH Consulting Services:<br />
                                                <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br />
                                                <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br />
                                                <br />
                                                FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br />
                                                <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br />
                                                <br />
                                                Official FreeSWITCH Sites<br />
                                                <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br />
                                                <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br />
                                                <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br />
                                                <br />
                                                Join Us At ClueCon - Aug 7-9, 2012<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 />
                                                 </span></span></blockquote>
                                </div>
                                <br />
                                <br clear="all" />
                                <br />
                                <span style="font-family:Verdana"><span style="font-size:12px">--<br />
                                Michael S Collins<br />
                                Twitter: @mercutioviz<br />
                                <a href="http://www.FreeSWITCH.org">http://www.FreeSWITCH.org</a><br />
                                <a href="http://www.ClueCon.com">http://www.ClueCon.com</a><br />
                                <a href="http://www.OSTAG.org">http://www.OSTAG.org</a><br />
                                <br />
                                 </span></span></div>
                </blockquote>
                <p style="margin:0px; padding:0px; margin:0px; padding:0px;">
                        <span style="font-family:Verdana"><span style="font-size:12px"> </span></span></p>
        </div>
</blockquote>
<p style="margin:0px; padding:0px;" >
        Ā </p>
</span></span>