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

86 lines
2.7 KiB
C#
Raw Normal View History

2018-09-06 23:58:20 +00:00
namespace AsterNET.Manager.Event
{
/// <summary>
/// Raised when music on hold has started on a channel.<br />
/// See <see target="_blank" href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+ManagerEvent_MusicOnHoldStart">https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+ManagerEvent_MusicOnHoldStart</see>
/// </summary>
public class MusicOnHoldStartEvent : ManagerEvent
{
/// <summary>
/// Creates a new <see cref="MusicOnHoldStartEvent" />.
/// </summary>
/// <param name="source"><see cref="ManagerConnection"/></param>
public MusicOnHoldStartEvent(ManagerConnection source) : base(source)
{
}
/// <summary>
/// Gets or sets the class.<br/>
/// The class of music being played on the channel.
2018-09-06 23:58:20 +00:00
/// </summary>
public string Class { get; set; }
/// <summary>
/// Gets or sets the channel state.<br/>
/// A numeric code for the channel's current state, related to ChannelStateDesc
/// </summary>
2018-09-06 23:58:20 +00:00
public string ChannelState { get; set; }
/// <summary>
/// Gets or sets the channel state description.
/// </summary>
2018-09-06 23:58:20 +00:00
public string ChannelStateDesc { get; set; }
/// <summary>
/// Gets or sets the Caller*ID number.
/// </summary>
2018-09-06 23:58:20 +00:00
public string CallerIDNum { get; set; }
/// <summary>
/// Gets or sets the Caller*ID name.
/// </summary>
2018-09-06 23:58:20 +00:00
public string CallerIDName { get; set; }
/// <summary>
/// Gets or sets the connected line number.
/// </summary>
2018-09-06 23:58:20 +00:00
public string ConnectedLineNum { get; set; }
/// <summary>
/// Gets or sets the connected line name.
/// </summary>
2018-09-06 23:58:20 +00:00
public string ConnectedLineName { get; set; }
/// <summary>
/// Gets or sets the language.
/// </summary>
2018-09-06 23:58:20 +00:00
public string Language { get; set; }
/// <summary>
/// Gets or sets the account code.
/// </summary>
2018-09-06 23:58:20 +00:00
public string AccountCode { get; set; }
/// <summary>
/// Gets or sets the context.
/// </summary>
2018-09-06 23:58:20 +00:00
public string Context { get; set; }
/// <summary>
/// Gets or sets the exten.
/// </summary>
2018-09-06 23:58:20 +00:00
public string Exten { get; set; }
/// <summary>
/// Gets or sets the priority.
/// </summary>
2018-09-06 23:58:20 +00:00
public string Priority { get; set; }
/// <summary>
/// Gets or sets the Linked Id
/// UniqueId of the oldest channel associated with this channel.
/// </summary>
public string LinkedId { get; set; }
2018-09-06 23:58:20 +00:00
}
}