namespace AsterNET.Manager.Event
{
///
/// AgiExecEvents are triggered when an AGI command is executed.
/// For each command two events are triggered: one before excution ("Start") and one after execution ("End").
///
public class AGIExecEvent : ManagerEvent
{
///
/// Creates a new AGIExecEvent.
///
public AGIExecEvent(ManagerConnection source)
: base(source)
{
}
///
/// Get/Set the command ID
/// Available since : Asterisk 12.
///
public long CommandId { get; set; }
///
/// Get/Set the command
/// Available since : Asterisk 12.
///
public string Command { get; set; }
///
/// Available since : Asterisk 12.
///
public string SubEvent { get; set; }
///
/// Get/Set the result
/// Available since : Asterisk 12.
///
public string Result { get; set; }
///
/// Get/Set the result number
/// Available since : Asterisk 12.
///
public int ResultCode { get; set; }
}
}