2018-09-06 23:58:20 +00:00
namespace AsterNET.Manager.Event
{
/// <summary>
/// Raised when music on hold has stopped on a channel.<br />
/// See <see target="_blank" href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+ManagerEvent_MusicOnHoldStop">https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+ManagerEvent_MusicOnHoldStop</see>
/// </summary>
public class MusicOnHoldStopEvent : ManagerEvent
{
/// <summary>
/// Creates a new <see cref="MusicOnHoldStopEvent" />.
/// </summary>
/// <param name="source"><see cref="ManagerConnection"/></param>
public MusicOnHoldStopEvent ( ManagerConnection source ) : base ( source )
{
}
2018-09-07 01:59:58 +00:00
/// <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 ; }
2018-09-07 01:59:58 +00:00
/// <summary>
/// Gets or sets the channel state description.
/// </summary>
2018-09-06 23:58:20 +00:00
public string ChannelStateDesc { get ; set ; }
2018-09-07 01:59:58 +00:00
/// <summary>
/// Gets or sets the Caller*ID number.
/// </summary>
2018-09-06 23:58:20 +00:00
public string CallerIDNum { get ; set ; }
2018-09-07 01:59:58 +00:00
/// <summary>
/// Gets or sets the Caller*ID name.
/// </summary>
2018-09-06 23:58:20 +00:00
public string CallerIDName { get ; set ; }
2018-09-07 01:59:58 +00:00
/// <summary>
/// Gets or sets the connected line number.
/// </summary>
2018-09-06 23:58:20 +00:00
public string ConnectedLineNum { get ; set ; }
2018-09-07 01:59:58 +00:00
/// <summary>
/// Gets or sets the connected line name.
/// </summary>
2018-09-06 23:58:20 +00:00
public string ConnectedLineName { get ; set ; }
2018-09-07 01:59:58 +00:00
/// <summary>
/// Gets or sets the language.
/// </summary>
2018-09-06 23:58:20 +00:00
public string Language { get ; set ; }
2018-09-07 01:59:58 +00:00
/// <summary>
/// Gets or sets the account code.
/// </summary>
2018-09-06 23:58:20 +00:00
public string AccountCode { get ; set ; }
2018-09-07 01:59:58 +00:00
/// <summary>
/// Gets or sets the context.
/// </summary>
2018-09-06 23:58:20 +00:00
public string Context { get ; set ; }
2018-09-07 01:59:58 +00:00
/// <summary>
/// Gets or sets the exten.
/// </summary>
2018-09-06 23:58:20 +00:00
public string Exten { get ; set ; }
2018-09-07 01:59:58 +00:00
/// <summary>
/// Gets or sets the priority.
/// </summary>
2018-09-06 23:58:20 +00:00
public string Priority { get ; set ; }
2018-09-07 01:59:58 +00:00
/// <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
}
}