<div dir="ltr"><div class="gmail_extra">On Mon, Jan 21, 2013 at 12:03 PM, Mitch Claborn <span dir="ltr"><<a href="mailto:mitch_ml@claborn.net" target="_blank">mitch_ml@claborn.net</a>></span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How can I accomplish my goal?</blockquote></div><br>Since nobody seems to have come up with an Asterisk-specific solution, it sounds like the real approach here is something more generic.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">You can set up Nagios to fire off an event if it detects endpoints or infrastructure are suddenly dead. In particular, Nagios could launch a program written for this purpose, passing the endpoints it detects are missing, and that program could then query Asterisk via AMI about the call IDs each endpoint is a participant in, then do a forced-transfer to a dedicated queue that announces the failure condition to the caller. This AMI could also conveniently remove the dead endpoints from the existing queues (including the failover queue).</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">The wildcard here is obviously the program itself, which would be slightly complex. It would have to have intimate knowledge about your infrastructure. It's unlikely something like this currently exists that you can just drop-in, but I'm sure there's someone on this list that would be willing to sell you the labor to write it.<br>
<div><br></div>-- <br>-Chris Harrington<br><div>ACSDi Office: 763.559.5800</div><div><div>Mobile Phone: 612.326.4248</div></div><div><br></div>
</div></div>