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. 

 

Return to Documentation Home I Return to Sangoma Support