Action: Monitor
This action may be used to record the audio on a specified channel.
-
ActionID- ActionID for this transaction. Will be returned. -
Channel- Used to specify the channel to record. -
File- Is the name of the file created in the monitor spool directory. Defaults to the same name as the channel (with slashes replaced with dashes). -
Format- Is the audio recording format. Defaults to 'wav'. -
Mix- Boolean parameter as to whether to mix the input and output channels together after the recording is finished.
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.