Skip to main content

bridge_hangup_cause

Created by Ryan Harris, last modified on 2018.02.07

bridge_hangup_cause

string This is set to the hangup cause of the last bridged B leg of the call. If you have continue_on_fail=true and hangup_after_bridge=false you can do checks on this to see what "really" happened to the call. You can for instance do execute_extension after bridge, do a condition check on ${bridge_hangup_cause} to see if it contains MEDIA_TIMEOUT and then trigger a redial of the call or transfer to a cell phone. For a list of hangup causes, see Hangup Causes.

Usage

<action application="log" data="1 B-leg hangup cause: ${bridge_hangup_cause}"/>