namespace AsterNET.Manager.Event
{
///
/// A MessageWaitingEvent is triggered when someone leaves voicemail.
/// It is implemented in apps/app_voicemail.c
///
public class MessageWaitingEvent : ManagerEvent
{
public MessageWaitingEvent(ManagerConnection source)
: base(source)
{
}
///
/// Get/Set the name of the mailbox that has waiting messages.
/// The name of the mailbox is of the form numberOfMailbox@context, e.g. 1234@default.
///
public string Mailbox { get; set; }
///
/// Get/Set the number of new messages in the mailbox.
///
public int Waiting { get; set; }
///
/// Get/Set the number of new messages in this mailbox.
///
public int New { get; set; }
///
/// Get/Set the number of old messages in this mailbox.
///
public int Old { get; set; }
}
}