namespace Asterisk.NET.Manager.Event
{
///
/// An ExtensionStatusEvent is triggered when the state of an extension changes.
/// It is implemented in manager.c
///
public class ExtensionStatusEvent : ManagerEvent
{
private string exten;
private string context;
private string hint;
private int status;
///
/// Get/Set the extension hint.
///
public string Hint
{
get { return this.hint; }
set { this.hint = value; }
}
///
/// Get/Set the extension.
///
public string Exten
{
get { return exten; }
set { this.exten = value; }
}
///
/// Get/Set the context of the extension.
///
public string Context
{
get { return context; }
set { this.context = value; }
}
///
/// Get/Set the state of the extension.
///
public int Status
{
get { return status; }
set { this.status = value; }
}
public ExtensionStatusEvent(ManagerConnection source)
: base(source)
{
}
}
}