Page 472 - Asterisk™: The Future of Telephony
P. 472
If the caller presses 0 (zero) during the prompt, the call jumps to the o (lowercase letter
o) extension in the current context, if operator=yes was specified in voicemail.conf.
If the caller presses * during the prompt, the call jumps to extension a in the current
context. This is often used to send the caller to a personal assistant.
Upon completion, this application sets a channel variable named VMSTATUS. It will con-
tain one of the following values:
SUCCESS
The call was successfully sent to voicemail.
USEREXIT
The caller exited from the voicemail system.
FAILED
The system was not able to send the call to voicemail.
; send caller to unavailable voicemail for mailbox 123
exten => 123,1,VoiceMail(123@default,u)
See Also
VoiceMailMain(), voicemail.conf
VoiceMailMain() Enters the voicemail system
VoiceMailMain([mailbox][@context][,options)
Enters the main voicemail system for the checking of voicemail. Passing the mailbox
argument will stop the voicemail system from prompting the user for the mailbox
number. You should also specify a voicemail context.
The options string can contain zero or more of the following options:
s
Skip the password check.
p
This option tells Asterisk to interpret the mailbox as a number that should be pre-
pended to the mailbox entered by the caller. This is most often used when many
voicemail boxes for different companies are hosted on the same Asterisk server.
g(gain)
When recording voicemail messages, increase the volume by gain. This option
should be specified in an integer number of decibels.
a(folder)
Skip the folder prompt and go directly to the specified folder. This option defaults
to the INBOX.
; go to voicemail menu for mailbox 123 in the default voicemail context
exten => 123,1,VoiceMailMain(123@default)
444 | Appendix B: Application Reference