|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.asteriskjava.manager.event.ManagerEvent
org.asteriskjava.manager.event.ResponseEvent
org.asteriskjava.manager.event.VoicemailUserEntryEvent
public class VoicemailUserEntryEvent
A VoicemailUserEntryCompleteEvent is triggered in response to a VoicemailUsersListAction and contains the details about a voicemail user.
It is implemented in apps/app_voicemail.c
VoicemailUserEntryCompleteEvent
,
VoicemailUsersListAction
,
Serialized FormField Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
VoicemailUserEntryEvent(java.lang.Object source)
Creates a new instance. |
Method Summary | |
---|---|
java.lang.String |
getAttachmentFormat()
|
java.lang.Boolean |
getAttachMessage()
Returns whether Asterisk copies a voicemail message to an audio file and sends it to the user as an attachment in an eemail voicemail notification message. |
java.lang.String |
getCallback()
Returns the dialplan context used by the "return phone call" feature in the advanced voicemail features menu. |
java.lang.Boolean |
getCallOperator()
|
java.lang.Boolean |
getCanReview()
|
java.lang.Boolean |
getDeleteMessage()
Returns whether messages will be deleted from the voicemailbox (after having been emailed). |
java.lang.String |
getDialout()
Returns the dialplan context used by the "place an outgoing call" feature in the advanced voicemail features menu. |
java.lang.String |
getEmail()
Returns the email address of the voicemail user. |
java.lang.String |
getExitContext()
Returns the dialplan context the user is dropped into after he has pressed * or 0 to exit voicemail. |
java.lang.String |
getFullname()
Returns the full name of the voicemail user that is used for the directory application. |
java.lang.String |
getImapUser()
Returns the username of the IMAP account associated with this mailbox. |
java.lang.String |
getLanguage()
|
java.lang.String |
getMailCommand()
Returns the custom mail command used to send notifications to the voicemail user. |
java.lang.Integer |
getMaxMessageCount()
Returns the maximum number of messages per folder. |
java.lang.Integer |
getMaxMessageLength()
Returns the maximum duration per message for voicemails in this mailbox. |
java.lang.Integer |
getNewMessageCount()
|
java.lang.Integer |
getOldMessageCount()
Returns the number of old ("read" or listened to) messages for this voicemail user. |
java.lang.String |
getPager()
Returns the email adress of pager of the voicemail user. |
java.lang.Boolean |
getSayCid()
|
java.lang.Integer |
getSayDurationMinimum()
|
java.lang.Boolean |
getSayEnvelope()
|
java.lang.String |
getServerEmail()
Returns the email address used for the "from" header when sending notification emails. |
java.lang.String |
getTimezone()
|
java.lang.String |
getUniqueId()
|
java.lang.String |
getVmContext()
Returns the voicemail context. |
java.lang.String |
getVoicemailbox()
Returns the mailbox id. |
java.lang.Double |
getVolumeGain()
Returns the volume gain used for voicemails sent via email. |
void |
setAttachmentFormat(java.lang.String attachmentFormat)
|
void |
setAttachMessage(java.lang.Boolean attachMessage)
Sets whether Asterisk copies a voicemail message to an audio file and sends it to the user as an attachment in an eemail voicemail notification message. |
void |
setCallback(java.lang.String callback)
Sets the dialplan context used by the "return phone call" feature in the advanced voicemail features menu. |
void |
setCallOperator(java.lang.Boolean callOperator)
|
void |
setCanReview(java.lang.Boolean canReview)
|
void |
setDeleteMessage(java.lang.Boolean deleteMessage)
Sets whether messages will be deleted from the voicemailbox (after having been emailed). |
void |
setDialout(java.lang.String dialout)
Sets the dialplan context used by the "place an outgoing call" feature in the advanced voicemail features menu. |
void |
setEmail(java.lang.String email)
Sets the email address of the voicemail user. |
void |
setExitContext(java.lang.String exitContext)
Sets the dialplan context the user is dropped into after he has pressed * or 0 to exit voicemail. |
void |
setFullname(java.lang.String fullname)
Sets the full name of the voicemail user. |
void |
setImapUser(java.lang.String imapUser)
Sets the username of the IMAP account associated with this mailbox. |
void |
setLanguage(java.lang.String language)
|
void |
setMailCommand(java.lang.String mailCommand)
Sets the custom mail command used to send notifications to the voicemail user. |
void |
setMaxMessageCount(java.lang.Integer maxMessageCount)
Sets the maximum number of messages per folder. |
void |
setMaxMessageLength(java.lang.Integer maxMessageLength)
Returns the maximum duration per message for voicemails in this mailbox. |
void |
setNewMessageCount(java.lang.Integer newMessageCount)
|
void |
setOldMessageCount(java.lang.Integer oldMessageCount)
Sets the number of old messages for this voicemail user. |
void |
setPager(java.lang.String pager)
Sets the email adress of pager of the voicemail user. |
void |
setSayCid(java.lang.Boolean sayCid)
|
void |
setSayDurationMinimum(java.lang.Integer sayDurationMinimum)
|
void |
setSayEnvelope(java.lang.Boolean sayEnvelope)
|
void |
setServerEmail(java.lang.String serverEmail)
Sets the email address used for the "from" header when sending notification emails. |
void |
setTimezone(java.lang.String timezone)
|
void |
setUniqueId(java.lang.String uniqueId)
|
void |
setVmContext(java.lang.String vmContext)
Sets the voicemail context. |
void |
setVoicemailbox(java.lang.String voicemailbox)
Sets the mailbox id. |
void |
setVolumeGain(java.lang.Double volumeGain)
Sets the volume gain used for voicemails sent via email. |
Methods inherited from class org.asteriskjava.manager.event.ResponseEvent |
---|
getActionId, getInternalActionId, setActionId, setInternalActionId |
Methods inherited from class org.asteriskjava.manager.event.ManagerEvent |
---|
appendPropertyIfNotNull, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, setTimestamp, toString |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VoicemailUserEntryEvent(java.lang.Object source)
source
- Method Detail |
---|
public java.lang.String getVmContext()
public void setVmContext(java.lang.String vmContext)
vmContext
- the voicemail context.public java.lang.String getVoicemailbox()
public void setVoicemailbox(java.lang.String voicemailbox)
voicemailbox
- the mailbox id.public java.lang.String getFullname()
public void setFullname(java.lang.String fullname)
fullname
- the full name of the voicemail user.public java.lang.String getEmail()
public void setEmail(java.lang.String email)
email
- the email address of the voicemail user.public java.lang.String getPager()
public void setPager(java.lang.String pager)
pager
- the email adress of pager of the voicemail user.public java.lang.String getServerEmail()
public void setServerEmail(java.lang.String serverEmail)
serverEmail
- the email address used for the "from" header when sending notification emails.public java.lang.String getMailCommand()
public void setMailCommand(java.lang.String mailCommand)
mailCommand
- the custom mail command used to send notifications to the voicemail user.public java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
public java.lang.String getTimezone()
public void setTimezone(java.lang.String timezone)
public java.lang.String getCallback()
public void setCallback(java.lang.String callback)
callback
- the dialplan context used by the "return phone call" feature in the advanced
voicemail features menu.public java.lang.String getDialout()
public void setDialout(java.lang.String dialout)
dialout
- the dialplan context used by the "place an outgoing call" feature in the advanced
voicemail features menu.public java.lang.String getUniqueId()
public void setUniqueId(java.lang.String uniqueId)
public java.lang.String getExitContext()
public void setExitContext(java.lang.String exitContext)
exitContext
- the dialplan context the user is dropped into after he has pressed * or 0 to exit voicemail.public java.lang.Integer getSayDurationMinimum()
public void setSayDurationMinimum(java.lang.Integer sayDurationMinimum)
public java.lang.Boolean getSayEnvelope()
public void setSayEnvelope(java.lang.Boolean sayEnvelope)
public java.lang.Boolean getSayCid()
public void setSayCid(java.lang.Boolean sayCid)
public java.lang.Boolean getAttachMessage()
null
if unset.public void setAttachMessage(java.lang.Boolean attachMessage)
attachMessage
- Booelan.TRUE if message will be attached, Boolean.FALSE if not, null
if unset.public java.lang.String getAttachmentFormat()
public void setAttachmentFormat(java.lang.String attachmentFormat)
public java.lang.Boolean getDeleteMessage()
null
if unset.public void setDeleteMessage(java.lang.Boolean deleteMessage)
deleteMessage
- Booelan.TRUE if messages will be deleted from the voicemailbox, Boolean.FALSE if not.public java.lang.Double getVolumeGain()
public void setVolumeGain(java.lang.Double volumeGain)
volumeGain
- the volume gain used for voicemails sent via email.public java.lang.Boolean getCanReview()
public void setCanReview(java.lang.Boolean canReview)
public java.lang.Boolean getCallOperator()
public void setCallOperator(java.lang.Boolean callOperator)
public java.lang.Integer getMaxMessageCount()
public void setMaxMessageCount(java.lang.Integer maxMessageCount)
maxMessageCount
- the maximum number of messages per folder.public java.lang.Integer getMaxMessageLength()
public void setMaxMessageLength(java.lang.Integer maxMessageLength)
maxMessageLength
- the maximum duration in seconds.public java.lang.Integer getNewMessageCount()
public void setNewMessageCount(java.lang.Integer newMessageCount)
public java.lang.Integer getOldMessageCount()
This property is only available if the IMAP storage backend is used.
public void setOldMessageCount(java.lang.Integer oldMessageCount)
oldMessageCount
- the number of old messages for this voicemail user.public java.lang.String getImapUser()
This property is only available if the IMAP storage backend is used.
public void setImapUser(java.lang.String imapUser)
imapUser
- the username of the IMAP account associated with this mailbox.
|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |