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

31 lines
1 KiB
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>
/// A JoinEvent is triggered when a channel joines a queue.<br />
/// It is implemented in apps/app_queue.c
2015-01-03 15:37:29 +00:00
/// </summary>
public class JoinEvent : QueueEvent
{
public JoinEvent(ManagerConnection source)
: base(source)
{
}
2015-01-03 15:37:29 +00:00
/// <summary>
/// Get/Set the Caller*ID number of the channel that joined the queue if set.
/// If the channel has no caller id set "unknown" is returned.
/// </summary>
public string CallerIdNum { get; set; }
2015-01-03 15:37:29 +00:00
/// <summary>
/// Get/Set the Caller*ID name of the channel that joined the queue if set.
/// If the channel has no caller id set "unknown" is returned.
/// </summary>
public string CallerIdName { get; set; }
/// <summary>
/// Get/Set the position of the joined channel in the queue.
/// </summary>
public int Position { get; set; }
}
}