Best way to avoid calling IAX Peers with unknown status


I am using qualify=25 in my iax.conf to monitor all of my IAX peers. I notice that one particular peer is having issues this week and I need to skip that particular peer on my outbound dial.

What is the best way to check the status of a peer before trying to dial it (otherwise I’ll get auto-congestion and won’t be able to dial the other trunks that are available).

I tried ChanIsAvail but it gives unknown for all of my iax trunks, whether or not they are working.

In this situation, any IAX that is slower than the ping in qualify= should be considered unreachable.




according to this:

it should work!