Network failure


If there is a network failure or outage, is there a simple way to detect it from asterisk and execute commands?

wouldn’t it be easier to detect it from your underlying OS and then pass commands to Asterisk ?

Using av cron script to ping a couple of remote servers to check for accesibility, and then control asterisk using the asterisk manager.