asternet/Asterisk.2013/Asterisk.NET/Manager/Event/AlarmEvent.cs

28 lines
881 B
C#
Raw Normal View History

2014-01-08 14:16:39 +00:00
namespace AsterNET.Manager.Event
{
2015-01-03 15:37:29 +00:00
/// <summary>
/// An AlarmEvent is triggered when a Zap channel enters or changes alarm state.<br />
/// It is implemented in <code>channels/chan_zap.c</code>
/// </summary>
public class AlarmEvent : ManagerEvent
{
public AlarmEvent(ManagerConnection source)
: base(source)
{
}
2015-01-03 15:37:29 +00:00
/// <summary>
/// Get/Set the kind of alarm that happened.<br />
/// This may be one of
/// <ul>
/// <li>Red Alarm</li>
/// <li>Yellow Alarm</li>
/// <li>Blue Alarm</li>
/// <li>Recovering</li>
/// <li>Loopback</li>
/// <li>Not Open</li>
/// </ul>
/// </summary>
public string Alarm { get; set; }
}
}