namespace AsterNET.Manager.Event
{
///
/// A MusicOnHoldEvent is triggered when music on hold starts or stops on a channel.
/// It is implemented in res/res_musiconhold.c.
/// Available since Asterisk 1.6
///
public class MusicOnHoldEvent : ManagerEvent
{
///
/// Creates a new .
///
///
public MusicOnHoldEvent(ManagerConnection source) : base(source)
{
}
///
/// Gets or sets the state.
///
public string State { get; set; }
///
/// Gets or sets the class.
/// The class of music being played on the channel.
///
public string Class { get; set; }
///
/// Gets or sets the account code.
///
public string AccountCode { get; set; }
///
/// Gets or sets the language.
///
public string Language { get; set; }
///
/// Gets or sets the Linked Id
/// UniqueId of the oldest channel associated with this channel.
///
public string LinkedId { get; set; }
}
}