VoiceMail(mailboxs[,options])
Full arguments reference
mailboxsrequiredmailbox1requiredmailboxrequiredcontext
mailbox2(multiple)mailboxrequiredcontext
optionsb- Play thebusygreeting to the calling party.d- Accept digits for a new extension in context c, if played during the greeting. Context defaults to the current context.c
e- Play greetings as early media -- only answer the channel just before accepting the voice message.g- Use the specified amount of gain when recording the voicemail message. The units are whole-number decibels (dB). Only works on supported technologies, which is DAHDI only.#required
s- Skip the playback of instructions for leaving a message to the calling party.S- Skip the playback of instructions for leaving a message to the calling party, but only if a greeting has been recorded by the mailbox user.t- Play a custom beep tone to the caller instead of the default one. If this option is used but no file is specified, the beep is suppressed.x
u- Play theunavailablegreeting.U- Mark message asURGENT.P- Mark message asPRIORITY.
This application allows the calling party to leave a message for the specified list of mailboxes. When multiple mailboxes are specified, the greeting will be taken from the first mailbox specified. DialplanThe core call-routing configuration of Asterisk, written mostly in extensions.conf as contexts, extensions, and priorities that decide how every call is handled. Full definition → execution will stop if the specified mailbox does not exist.
The Voicemail application will exit if any of the following DTMFDual-Tone Multi-Frequency, the touch-tone signals phones send for digit input during a call, used by IVRs and feature codes. digits are received:
0- Jump to theoextensionA dialplan entry that matches a dialed number or pattern within a context and triggers a sequence of prioritized steps. in the current dialplanThe core call-routing configuration of Asterisk, written mostly in extensions.conf as contexts, extensions, and priorities that decide how every call is handled. Full definition → contextA named section of the dialplan that groups extensions. Calls enter a specific context and can only reach extensions visible from it, making contexts the basic unit of call routing and security..*- Jump to theaextension in the current dialplan context.
This application will set the following channelA single call leg passing through Asterisk. Channels represent connections to endpoints and are what dialplan applications act on. variable upon completion:
- VMSTATUS - This indicates the status of the execution of the VoiceMail application.
SUCCESSUSEREXITFAILED
mailboxsrequiredmailbox1requiredmailboxrequiredcontext
mailbox2(multiple)mailboxrequiredcontext
optionsb- Play thebusygreeting to the calling party.d- Accept digits for a new extension in context c, if played during the greeting. Context defaults to the current context.c
e- Play greetings as early media -- only answer the channel just before accepting the voice message.g- Use the specified amount of gain when recording the voicemail message. The units are whole-number decibels (dB). Only works on supported technologies, which is DAHDI only.#required
s- Skip the playback of instructions for leaving a message to the calling party.S- Skip the playback of instructions for leaving a message to the calling party, but only if a greeting has been recorded by the mailbox user.t- Play a custom beep tone to the caller instead of the default one. If this option is used but no file is specified, the beep is suppressed.x
u- Play theunavailablegreeting.U- Mark message asURGENT.P- Mark message asPRIORITY.
User Notes
Know a tip or gotcha for this topic? Share it below and help others.
Contribute a note
Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.