diff options
author | Matthew Jordan <mjordan@digium.com> | 2014-12-22 02:35:05 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2014-12-22 02:35:05 +0000 |
commit | b79a4a464f90e172d56a0dcccb19ca89bd6bb446 (patch) | |
tree | 42ae80af6a2cbefd009e3583003bfac44c6f1407 /configs | |
parent | b137a92aef5f08359f11bc7ea686cd361814f3b7 (diff) |
app_confbridge: Add the ability to pass options/command to MixMonitor
This patch adds the ability to pass options and a command to MixMontor when
recording a conference using ConfBridge.
New options are -
* record_options: Options to MixMontor, eg: m(), W() etc.
* record_command: The command to execute when recording is over.
* record_file_timestamp: Append the start time to the file name.
These options can also be used with the CONFBRIDGE function, e.g.,
Set(CONFBRIDGE(bridge,record_command)=/path/to/command ^{MIXMONITOR_FILENAME}))
Review: https://reviewboard.asterisk.org/r/4023
ASTERISK-24351 #close
Reported by: Gareth Palmer
patches:
record_command-428838.patch uploaded by Gareth Palmer (License 5169)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@429934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r-- | configs/samples/confbridge.conf.sample | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/samples/confbridge.conf.sample b/configs/samples/confbridge.conf.sample index 860f1cb87..25ca33f8f 100644 --- a/configs/samples/confbridge.conf.sample +++ b/configs/samples/confbridge.conf.sample @@ -163,6 +163,12 @@ type=bridge ; By default, the record_file is stored in Asterisk's spool/monitor directory ; with a unique filename starting with the 'confbridge' prefix. +;record_file_append=yes ; Append record file when starting/stopping on same conference recording. +;record_file_timestamp=yes ; Append the start time to the record file name. + +;record_options= ; Pass additional options to MixMonitor. +;record_command=</path/to/command> ; Command to execute when recording finishes. + ;internal_sample_rate=auto ; Sets the internal native sample rate the ; conference is mixed at. This is set to automatically ; adjust the sample rate to the best quality by default. |