namespace AsterNET.Manager.Event
{
///
/// An AlarmEvent is triggered when a Zap channel enters or changes alarm state.
/// It is implemented in channels/chan_zap.c
///
public class AlarmEvent : ManagerEvent
{
public AlarmEvent(ManagerConnection source)
: base(source)
{
}
///
/// Get/Set the kind of alarm that happened.
/// This may be one of
///
/// - Red Alarm
/// - Yellow Alarm
/// - Blue Alarm
/// - Recovering
/// - Loopback
/// - Not Open
///
///
public string Alarm { get; set; }
}
}