Alarm Subsystem

This page details a draft feature under development which cannot be found in any released version of Adhearsion. We find documenting sophisticated features before their implementation helps the design process of those features. Material here can and will change.

Telephony applications are often mission-critical applications. Within Adhearsion, there are things which can go wrong for which the recovery logic is application logic.

The alarm subsystem will allow this recovery logic to be predicted and prepared on a per-application basis. The application developer will have the ability to dispatch notifications of the alarms in the form of XMPP messages, emails, etc. For some applications, an alarm may go out to an operations center and a human uses a web interface to choose the recovery mode from a dropdown menu.

Types of Alarms

Non-blocking alarms

A non-blocking alarm is mostly available today with the events.rb file. With events.rb you can register callbacks to handle certain named events that happen within your application. A non-blocking alarm is a kind of event which *should* be available to a human if need be.

A normal blocking alarm could, by policy, become a non-blocking alarm if a default recovery mode is specified.

Blocking alarms

A blocking alarm is one which needs the intervention of a human and usually indicate a tricky failure.

Examples:

These are tricky questions that can only be answered on a per-application basis.

Framework-level implications


Browse Space

- Pages
- News
- Labels
- Attachments
- Bookmarks
- Mail
- Advanced
- Activity

Explore Confluence

- Popular Labels
- Notation Guide

Your Account

Log In

or Sign Up  

Other Features

Add Content