asternet/Asterisk.2013/Asterisk.NET/Manager/Event/JoinEvent.cs
Amyn Virani c8d725c717 1. Pass unavailable reason when creating QueuePauseAction
2. QueueMember JoinEvent provides CallerIdNum instead of CallerId
3. QueueMemberEvent now retrieves paused reason
4. Added ConfbridgeMuteEvent and ConfbridgeUnmuteEvent classes so they can be triggered
2020-01-16 16:27:27 -05:00

31 lines
1 KiB
C#

namespace AsterNET.Manager.Event
{
/// <summary>
/// A JoinEvent is triggered when a channel joines a queue.<br />
/// It is implemented in apps/app_queue.c
/// </summary>
public class JoinEvent : QueueEvent
{
public JoinEvent(ManagerConnection source)
: base(source)
{
}
/// <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; }
/// <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; }
}
}