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