public class MessageWaitingEvent extends ManagerEvent
It is implemented in apps/app_voicemail.c
callerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, priority
source
Constructor and Description |
---|
MessageWaitingEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
String |
getMailbox()
Returns the name of the mailbox that has waiting messages.
|
Integer |
getNew()
Returns the number of new messages in this mailbox.
|
Integer |
getOld()
Returns the number of old messages in this mailbox.
|
Integer |
getWaiting()
Returns the number of new messages in the mailbox.
|
void |
setMailbox(String mailbox)
Sets the name of the mailbox that has waiting messages.
|
void |
setNew(Integer newMessages)
Sets the number of new messages in this mailbox.
|
void |
setOld(Integer oldMessages)
Sets the number of old messages in this mailbox.
|
void |
setWaiting(Integer waiting)
Sets the number of new messages in the mailbox.
|
appendPropertyIfNotNull, getCallerIdName, getCallerIdNum, getChannelState, getChannelStateDesc, getConnectedLineName, getConnectedLineNum, getContext, getDateReceived, getExten, getFile, getFunc, getLine, getPriority, getPrivilege, getSequenceNumber, getServer, getSystemName, getTimestamp, setCallerIdName, setCallerIdNum, setChannelState, setChannelStateDesc, setConnectedLineName, setConnectedLineNum, setContext, setDateReceived, setExten, setFile, setFunc, setLine, setPriority, setPrivilege, setSequenceNumber, setServer, setSystemName, setTimestamp, toString
getSource
public MessageWaitingEvent(Object source)
source
- public String getMailbox()
The name of the mailbox is of the form numberOfMailbox@context, e.g. 1234@default.
public void setMailbox(String mailbox)
mailbox
- the name of the mailbox that has waiting messagespublic Integer getWaiting()
public void setWaiting(Integer waiting)
waiting
- the number of new messages in the mailboxpublic Integer getNew()
public void setNew(Integer newMessages)
newMessages
- the number of new messages in this mailbox.public Integer getOld()
public void setOld(Integer oldMessages)
oldMessages
- the number of old messages in this mailbox.Copyright © 2004–2017. All rights reserved.