VoiceMailMain(mailbox[,options])
Full arguments reference
mailboxrequiredmailboxcontext
optionsp- Consider the mailbox parameter as a prefix to the mailbox that is entered by the caller.g- Use the specified amount of gain when recording a voicemail message. The units are whole-number decibels (dB).#required
r- "Read only". Prevent user from deleting any messages. This applies only to specific executions of VoiceMailMain, NOT the mailbox itself.s- Skip checking the passcode for the mailbox.a- Skip folder prompt and go directly to folder specified. Defaults toINBOX(or0).folderrequired0- INBOX1- Old2- Work3- Family4- Friends5- Cust16- Cust27- Cust38- Cust49- Cust5
This application allows the calling party to check voicemail messages. A specific mailbox, and optional corresponding 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., may be specified. If a mailbox is not provided, the calling party will be prompted to enter one. If a context is not specified, the default context will be used.
The VoiceMailMain application will exit if the following DTMFDual-Tone Multi-Frequency, the touch-tone signals phones send for digit input during a call, used by IVRs and feature codes. digit is entered as Mailbox or Password, and the extensionA dialplan entry that matches a dialed number or pattern within a context and triggers a sequence of prioritized steps. exists:
*- Jump to theaextension 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 → context.
mailboxrequiredmailboxcontext
optionsp- Consider the mailbox parameter as a prefix to the mailbox that is entered by the caller.g- Use the specified amount of gain when recording a voicemail message. The units are whole-number decibels (dB).#required
r- "Read only". Prevent user from deleting any messages. This applies only to specific executions of VoiceMailMain, NOT the mailbox itself.s- Skip checking the passcode for the mailbox.a- Skip folder prompt and go directly to folder specified. Defaults toINBOX(or0).folderrequired0- INBOX1- Old2- Work3- Family4- Friends5- Cust16- Cust27- Cust38- Cust49- Cust5
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.