MinivmRecord(mailbox[,options])
Full arguments reference
mailboxrequiredusernamerequired - Voicemail usernamedomainrequired - Voicemail domain
options0- Jump to theoextension in the current dialplan context.*- Jump to theaextension in the current dialplan 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 extension. The application will exit if any of the following DTMF digits are received and the requested extension exist in the current context.
- MVM_RECORD_STATUS - This is the status of the record operation
SUCCESSUSEREXITFAILED
mailboxrequiredusernamerequired - Voicemail usernamedomainrequired - Voicemail domain
options0- Jump to theoextension in the current dialplan context.*- Jump to theaextension in the current dialplan 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.