This page last changed on Sep 20, 2011 by wikibot.

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(filenameextension[,options[,command]])
Arguments
  • file
    • filename - If filename is an absolute path, uses that path, otherwise creates the file in the configured monitoring directory from asterisk.conf.
    • extension
  • options
    • a - Append to the file instead of overwriting it.
    • b - Only save audio to the file while the channel is bridged. Does not include conferences or sounds played to each bridged partyDoes not include conferences or sounds played to each bridged party If you utilize this option inside a Local channel, you must make sure the Local channel is not optimized away. To do this, be sure to call your Local channel with the If you utilize this option inside a Local channel, you must make sure the Local channel is not optimized away. To do this, be sure to call your Local channel with the /n option. For example: Dial(Local/start@mycontext/n)
    • v - Adjust the heard volume by a factor of x (range -4 to 4 )
      • x
    • V - Adjust the spoken volume by a factor of x (range -4 to 4 )
      • x
    • W - Adjust both, heard and spoken volumes by a factor of x (range -4 to 4 )
      • x
  • command - Will be executed when the recording is over. Any strings matching ^{X} will be unescaped to X. All variables will be evaluated at the time MixMonitor is called.

See Also

Application_Monitor
Application_StopMixMonitor
Application_PauseMonitor
Application_UnpauseMonitor

Import Version

This documentation was imported from Asterisk version SVN-branch-1.8-r336877.

Document generated by Confluence on Oct 04, 2011 12:42