namespace AsterNET.Manager.Event { /// /// The MusicOnHoldEvent event triggers when the music starts or ends playing the hold music. /// public class MusicOnHoldEvent : ManagerEvent { /// /// Creates a new instance of the class . /// public MusicOnHoldEvent(ManagerConnection source) : base(source) { } /// /// States /// public enum MusicOnHoldStates { /// /// Unknown /// Unknown, /// /// Music on hold is started. /// Start, /// /// Music on hold is stoped. /// Stop } /// /// Get or set state /// public MusicOnHoldStates State { get; set; } } }