MinivmRecord(mailbox[,options])
Full arguments reference
mailboxrequiredusernamerequired - Voicemail usernamedomainrequired - Voicemail domain
options0- Jump to theoextension 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.*- 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.g- Use the specified amount of gain when recording the voicemail message. The units are whole-number decibels (dB).gain- Amount of gain to use
This application is part of the Mini-Voicemail system, configured in minivm.conf
MiniVM records audio file in configured format and forwards message to e-mail and pager.
If there's no user account for that address, a temporary account will be used with default options.
The recorded file name and path will be stored in MVM_FILENAME and the duration of the message will be stored in MVM_DURATION
Note
If the caller hangs up after the recording, the only way to send the message and clean up is to execute in the h extensionA dialplan entry that matches a dialed number or pattern within a context and triggers a sequence of prioritized steps.. The 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 and the requested extension exist in the current 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..
- MVM_RECORD_STATUS - This is the status of the record operation
SUCCESSUSEREXITFAILED
mailboxrequiredusernamerequired - Voicemail usernamedomainrequired - Voicemail domain
options0- Jump to theoextension 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.*- 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.g- Use the specified amount of gain when recording the voicemail message. The units are whole-number decibels (dB).gain- Amount of gain to use
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.