<div dir="ltr">The reason will be in the &quot;bridge_hangup_cause&quot; variable<br><br><a href="https://wiki.freeswitch.org/wiki/Variable_bridge_hangup_cause" target="_blank">https://wiki.freeswitch.org/wiki/Variable_bridge_hangup_cause</a><br>


<div class="gmail_extra"><br></div><div class="gmail_extra">You&#39;ll likely want to use LUA or some other script to perform an action based on the result.<br></div><div class="gmail_extra"><br><div class="gmail_quote">

On Sat, Aug 9, 2014 at 11:46 PM, Kamil Nigmatullin <span dir="ltr">&lt;<a href="mailto:kamil.nigmatullin@gmail.com" target="_blank">kamil.nigmatullin@gmail.com</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">Hello everybody. Can anyone help me with the following issue? I need to route call based on negative response. I do continue_on_fail=true and hangup_after_bridge in xml dialplan and then after unsuccessfull bridge call lua script. But have no Idea how to get last hangup cause of B-Leg to be able to continue calling based on this condition.<div>



<br></div><div>Thanks you in advance<span><font color="#888888"><br><div><br clear="all"><div><br></div>-- <br>Kamil Nigmatullin<br>Skype: Kamil Nigmatullin
</div></font></span></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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>
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>