The reason will be in the "bridge_hangup_cause" variable https://wiki.freeswitch.org/wiki/Variable_bridge_hangup_cause You'll likely want to use LUA or some other script to perform an action based on the result. On Sat, Aug 9, 2014 at 11:46 PM, Kamil Nigmatullin < kamil.nigmatullin@gmail.com> wrote:
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.
Thanks you in advance
-- Kamil Nigmatullin Skype: Kamil Nigmatullin
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org