Testing for a non connected extension

If a call is routed to a unconnected extension is it possible to test for the unconnected extension and if it is unconnected route the call to another extension/number? I appreciate that it is possible to do if I allow it to time out but I would rather find a better solution.

Many thanks


You should use DEVICE_STATE to check device state and route the call as you want .

You meant device, not extension.

You also, I hope, were assuming SIP.

For a SIP device, enabling qualify will cause its device state to indicate not available and will also cause Dial to fail immediately, if the qualify tests are failing.

Normally local SIP devices would register, and a failure to refresh the registration should also have this effect.