Make a call on a second extension after a failure on the first

Hi all,

Suppose I have the same call number registered on two different servers.
Is there a way to launch the call on the second server in case of failure on the first.

Thanks for your answers
Best regards

Thierry

You need a third server, whcih cannot fail, to do this!

You can test DIALSTATUS and HANGUPCAUSE, after a failed call to try an work out whether it failed in the network, or at the destination, and then try dialling the device via an alternative intermediate device.

This may be easier to do with proxies, rather than back to back user agents, like Asterisk. The originator could fork the call into multiple branches, over alternative routes and the first route to reach the destination should, I think, succeed. However this is not something that Asterisk can do.