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) { } public long CommandId { get; set; } public string Command { get; set; } public string SubEvent { get; set; } public string Result { get; set; } public int ResultCode { get; set; } } }