<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<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: Michael Collins</span></span></p> 
        <p style="margin:0px; padding:0px;" > 
                <span style="font-family:Verdana"><span style="font-size:12px">Sent: 07/20/12 08:39 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> 
                <p style="margin:0px; padding:0px;" > 
                        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 /> 
                         </p> 
                <div class="gmail_quote"> 
                        On Fri, Jul 20, 2012 at 10:30 AM, Mi Ke <span>&lt;<a href="mailto:mi.ke@null.net" target="_blank">mi.ke@null.net</a>&gt;</span> wrote:<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">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 /> 
                                 </blockquote> 
                </div> 
                <br /> 
                <br clear="all" /> 
                <br /> 
                --<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 /> 
                 </div> 
</blockquote> 
<p style="margin:0px; padding:0px;" > 
         </p> 
</span></span>