How do you check an iax2 trunk status before sending call through it?
I have a misc destination set up to send an incoming call through an iax2 trunk to another trixbox. My problem is that I need to check and make sure it has not dropped out due to a vpn failure before the call goes through and give the caller an 'all circuits are busy now' message. any idea on an asterisk script that will check this?
You can configure your outbound route to use multiple trunks, in descending order of preference. Doesn't work in some situations, but how about yours? Put the IAX trunk first, then your secondary pbx trunk as second in the list. First one fails, call will fall to the second one.

Member Since:
2007-10-31