Name
Monitor — Monitors a channel
Records the audio on a channel to the specified file.
Parameters
Channel[required] Specifes the channel to be recorded.
File[optional] The name of the file in which to record the channel. The path defaults to the Asterisk monitor spool directory, which is usually /var/spool/asterisk/monitor. If no filename is specified, the filename will be the name of the channel, with slashes replaced with dashes.
Format[optional] The audio format in which to record the channel. Defaults to
wav.Mix[optional] A Boolean flag specifying whether or not Asterisk should mix the inbound and outbound audio from the channel in to a single file.
ActionID[optional] An identifier that can be used to identify the response to this action.
Privilege
call, all
Example
Action: MonitorChannel: SIP/linksys2-10216e38Filename: test-recordingFormat: gsmMix: trueResponse: SuccessMessage: Started monitoring channel