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