public class VoicemailUserEntryEvent extends ResponseEvent
It is implemented in apps/app_voicemail.c
Available since Asterisk 1.6
VoicemailUserEntryCompleteEvent
,
VoicemailUsersListAction
,
Serialized FormactionId
callerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, priority
source
Constructor and Description |
---|
VoicemailUserEntryEvent(Object source)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getAttachmentFormat() |
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.
|
String |
getCallback()
Returns the dialplan context used by the "return phone call" feature in the advanced
voicemail features menu.
|
Boolean |
getCallOperator() |
Boolean |
getCanReview() |
Boolean |
getDeleteMessage()
Returns whether messages will be deleted from the voicemailbox (after having been emailed).
|
String |
getDialout()
Returns the dialplan context used by the "place an outgoing call" feature in the advanced
voicemail features menu.
|
String |
getEmail()
Returns the email address of the voicemail user.
|
String |
getExitContext()
Returns the dialplan context the user is dropped into after he has pressed * or 0 to exit voicemail.
|
String |
getFullname()
Returns the full name of the voicemail user that is used for the directory application.
|
String |
getImapUser()
Returns the username of the IMAP account associated with this mailbox.
|
String |
getLanguage() |
String |
getMailCommand()
Returns the custom mail command used to send notifications to the voicemail user.
|
Integer |
getMaxMessageCount()
Returns the maximum number of messages per folder.
|
Integer |
getMaxMessageLength()
Returns the maximum duration per message for voicemails in this mailbox.
|
Integer |
getNewMessageCount() |
Integer |
getOldMessageCount()
Returns the number of old ("read" or listened to) messages for this voicemail user.
|
String |
getPager()
Returns the email adress of pager of the voicemail user.
|
Boolean |
getSayCid() |
Integer |
getSayDurationMinimum() |
Boolean |
getSayEnvelope() |
String |
getServerEmail()
Returns the email address used for the "from" header when sending notification emails.
|
String |
getTimezone() |
String |
getUniqueId() |
String |
getVmContext()
Returns the voicemail context.
|
String |
getVoicemailbox()
Returns the mailbox id.
|
Double |
getVolumeGain()
Returns the volume gain used for voicemails sent via email.
|
void |
setAttachmentFormat(String attachmentFormat) |
void |
setAttachMessage(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(String callback)
Sets the dialplan context used by the "return phone call" feature in the advanced
voicemail features menu.
|
void |
setCallOperator(Boolean callOperator) |
void |
setCanReview(Boolean canReview) |
void |
setDeleteMessage(Boolean deleteMessage)
Sets whether messages will be deleted from the voicemailbox (after having been emailed).
|
void |
setDialout(String dialout)
Sets the dialplan context used by the "place an outgoing call" feature in the advanced
voicemail features menu.
|
void |
setEmail(String email)
Sets the email address of the voicemail user.
|
void |
setExitContext(String exitContext)
Sets the dialplan context the user is dropped into after he has pressed * or 0 to exit voicemail.
|
void |
setFullname(String fullname)
Sets the full name of the voicemail user.
|
void |
setImapUser(String imapUser)
Sets the username of the IMAP account associated with this mailbox.
|
void |
setLanguage(String language) |
void |
setMailCommand(String mailCommand)
Sets the custom mail command used to send notifications to the voicemail user.
|
void |
setMaxMessageCount(Integer maxMessageCount)
Sets the maximum number of messages per folder.
|
void |
setMaxMessageLength(Integer maxMessageLength)
Returns the maximum duration per message for voicemails in this mailbox.
|
void |
setNewMessageCount(Integer newMessageCount) |
void |
setOldMessageCount(Integer oldMessageCount)
Sets the number of old messages for this voicemail user.
|
void |
setPager(String pager)
Sets the email adress of pager of the voicemail user.
|
void |
setSayCid(Boolean sayCid) |
void |
setSayDurationMinimum(Integer sayDurationMinimum) |
void |
setSayEnvelope(Boolean sayEnvelope) |
void |
setServerEmail(String serverEmail)
Sets the email address used for the "from" header when sending notification emails.
|
void |
setTimezone(String timezone) |
void |
setUniqueId(String uniqueId) |
void |
setVmContext(String vmContext)
Sets the voicemail context.
|
void |
setVoicemailbox(String voicemailbox)
Sets the mailbox id.
|
void |
setVolumeGain(Double volumeGain)
Sets the volume gain used for voicemails sent via email.
|
getActionId, getInternalActionId, setActionId, setInternalActionId
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 VoicemailUserEntryEvent(Object source)
source
- public String getVmContext()
public void setVmContext(String vmContext)
vmContext
- the voicemail context.public String getVoicemailbox()
public void setVoicemailbox(String voicemailbox)
voicemailbox
- the mailbox id.public String getFullname()
public void setFullname(String fullname)
fullname
- the full name of the voicemail user.public String getEmail()
public void setEmail(String email)
email
- the email address of the voicemail user.public String getPager()
public void setPager(String pager)
pager
- the email adress of pager of the voicemail user.public String getServerEmail()
public void setServerEmail(String serverEmail)
serverEmail
- the email address used for the "from" header when sending notification emails.public String getMailCommand()
public void setMailCommand(String mailCommand)
mailCommand
- the custom mail command used to send notifications to the voicemail user.public String getLanguage()
public void setLanguage(String language)
public String getTimezone()
public void setTimezone(String timezone)
public String getCallback()
public void setCallback(String callback)
callback
- the dialplan context used by the "return phone call" feature in the advanced
voicemail features menu.public String getDialout()
public void setDialout(String dialout)
dialout
- the dialplan context used by the "place an outgoing call" feature in the advanced
voicemail features menu.public String getUniqueId()
public void setUniqueId(String uniqueId)
public String getExitContext()
public void setExitContext(String exitContext)
exitContext
- the dialplan context the user is dropped into after he has pressed * or 0 to exit voicemail.public Integer getSayDurationMinimum()
public void setSayDurationMinimum(Integer sayDurationMinimum)
public Boolean getSayEnvelope()
public void setSayEnvelope(Boolean sayEnvelope)
public Boolean getSayCid()
public void setSayCid(Boolean sayCid)
public Boolean getAttachMessage()
null
if unset.public void setAttachMessage(Boolean attachMessage)
attachMessage
- Booelan.TRUE if message will be attached, Boolean.FALSE if not, null
if unset.public String getAttachmentFormat()
public void setAttachmentFormat(String attachmentFormat)
public Boolean getDeleteMessage()
null
if unset.public void setDeleteMessage(Boolean deleteMessage)
deleteMessage
- Booelan.TRUE if messages will be deleted from the voicemailbox, Boolean.FALSE if not.public Double getVolumeGain()
public void setVolumeGain(Double volumeGain)
volumeGain
- the volume gain used for voicemails sent via email.public Boolean getCanReview()
public void setCanReview(Boolean canReview)
public Boolean getCallOperator()
public void setCallOperator(Boolean callOperator)
public Integer getMaxMessageCount()
public void setMaxMessageCount(Integer maxMessageCount)
maxMessageCount
- the maximum number of messages per folder.public Integer getMaxMessageLength()
public void setMaxMessageLength(Integer maxMessageLength)
maxMessageLength
- the maximum duration in seconds.public Integer getNewMessageCount()
public void setNewMessageCount(Integer newMessageCount)
public Integer getOldMessageCount()
This property is only available if the IMAP storage backend is used.
public void setOldMessageCount(Integer oldMessageCount)
oldMessageCount
- the number of old messages for this voicemail user.public String getImapUser()
This property is only available if the IMAP storage backend is used.
public void setImapUser(String imapUser)
imapUser
- the username of the IMAP account associated with this mailbox.Copyright © 2004–2022. All rights reserved.