MixMonitor()
Synopsis
Record a call and mix the audio during the recording. Use of StopMixMonitor is required to guarantee the audio file is available for processing during dialplan execution.
Description
Records the audio on the current channel to the specified file.
This application does not automatically answer and should be preceeded by an application such as Answer or Progress().
MIXMONITOR_FILENAME
- Will contain the filename used to record.
Syntax
MixMonitor(filename.extension,[options,[command]])
Arguments
file
filename
- If filename is an absolute path, uses that path, otherwise creates the file in the configured monitoring directory fromasterisk.conf.
extension
options
a
- Append to the file instead of overwriting it.b
- Only save audio to the file while the channel is bridged.v
- Adjust the heard volume by a factor of x (range-4
to4
)x
V
- Adjust the spoken volume by a factor of x (range-4
to4
)x
W
- Adjust both, heard and spoken volumes by a factor of x (range-4
to4
)x
command
- Will be executed when the recording is over.
Any strings matching^{X
} will be unescaped toX
.
All variables will be evaluated at the time MixMonitor is called.
See Also
- Application_Monitor
- Application_StopMixMonitor
- Application_PauseMonitor
- Application_UnpauseMonitor
- Function_AUDIOHOOK_INHERIT
Import Version
This documentation was imported from Asterisk Version SVN-branch-1.8-r418641
2 Comments
Scott Pabin
See Also
Josh Kitchens
Asterisk pays attention to the extension of the file and saves the audio in the appropriate container with the appropriate encoding. IE wav = Microsoft WAV format (8000hz Signed Linear), WAV = Microsoft WAV format (Proprietary GSM), ulaw = Flat, binary, ulaw PCM file format.
These are defined by the format modules.