asternet/Asterisk.2013/Asterisk.NET/Manager/Action/QueueLogAction.cs
2015-01-03 15:37:29 +00:00

44 lines
1.2 KiB
C#

namespace AsterNET.Manager.Action
{
public class QueueLogAction : ManagerAction
{
/// <summary>
/// Adds custom entry in queue_log.
/// </summary>
public QueueLogAction()
{
}
/// <summary>
/// Adds custom entry in queue_log.
/// </summary>
/// <param name="queue"></param>
/// <param name="event"></param>
/// <param name="uniqueid"></param>
/// <param name="interface"></param>
/// <param name="message"></param>
public QueueLogAction(string queue, string @event, string uniqueid, string @interface, string message)
{
Queue = queue;
Event = @event;
Uniqueid = uniqueid;
Interface = @interface;
Message = message;
}
public override string Action
{
get { return "QueueLog"; }
}
public string Queue { get; set; }
public string Event { get; set; }
public string Uniqueid { get; set; }
public string Interface { get; set; }
public string Message { get; set; }
}
}