namespace AsterNET.Manager.Event
{
///
/// A JoinEvent is triggered when a channel joines a queue.
/// It is implemented in apps/app_queue.c
///
public class JoinEvent : QueueEvent
{
public JoinEvent(ManagerConnection source)
: base(source)
{
}
///
/// 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.
///
public string CallerId { get; set; }
///
/// 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.
///
public string CallerIdName { get; set; }
///
/// Get/Set the position of the joined channel in the queue.
///
public int Position { get; set; }
}
}