SIP Trunk Failover
Action 1:Â hangup_after_bridge
Value 1: trueÂ
Action 2:Â continue_on_fail
Value 2:Â NORMAL_TEMPORARY_FAILURE,NO_ANSWER,NO_USER_RESPONSE,NO_ROUTE_DESTINATION,NETWORK_OUT_OF_ORDER,CALL_REJECTED,DESTINATION_OUT_OF_ORDER,NORMAL_CIRCUIT_CONGESTION
Action 3:Â bridge
Value 3:Â sip/trunk/trunk1/$1 (replace "trunk1" with the actual name of the primary trunk)
Action 4:Â bridge
Value 4:Â sip/trunk/trunk2/$1 (replace "trunk2" with the actual name of the fail-over / backup trunk)
Â
TLS:Â Â If you are using TLS than Export the variable "sip_secure_media" to a value of "true" before the first bridge.Â
Â