Adds the ability to stop specific mixmonitors by using unique IDs set at monitor launch.

MixMonitor receives a new option i(channel_variable) which stores the unique id at said
variable. StopMixMonitor now accepts ID as an optional argument, which if included will
make StopMixMonitor specifically target the mixmonitor on that particular channel. CLI
commands and AMI actions have been ammended to work with the IDs as well. In addition,
monitors across a channel can now be listed be listed via CLI command "mixmonitor list
<channel>" which will display all of the mixmonitors active on that channel along with
the files they each have open. Created by Sergio González Martín.

(closes issue ASTERISK-19096)
Reported by: Sergio González Martín
Review: https://reviewboard.asterisk.org/r/1643/
Review: https://reviewboard.asterisk.org/r/1682/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@352093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jonathan Rose
2012-01-23 18:16:20 +00:00
parent 74508e3bca
commit a1bef6041d
2 changed files with 146 additions and 36 deletions

14
CHANGES
View File

@@ -17,6 +17,11 @@ Core
* The expression parser now recognizes the ABS() absolute value function,
which will convert negative floating point values to positive values.
CLI Changes
-------------------
* mixmonitor list <channel> command will now show MixMonitor ID, and the filenames
of all running mixmonitors on a channel.
ConfBridge
-------------------
* Added menu action admin_toggle_mute_participants. This will mute / unmute
@@ -82,6 +87,11 @@ Parking
* Channel variable PARKER is now set when comebacktoorigin is disabled in
a parking lot.
* MixMonitor hooks now have IDs associated with them which can be used to assign
a target to StopMixMonitor. Use of MixMonitor's i(variable) option will allow
storage of the MixMontior ID in a channel variable. StopMixmonitor now accepts
that ID as an argument.
CDR postgresql driver changes
-----------------------------
* Added command "cdr show pgsql status" to check connection status
@@ -91,6 +101,10 @@ AMI (Asterisk Manager Interface) changes
* Originate now generates an error response if the extension given
is not found in the dialplan
* MixMonitor will now show IDs associated with the mixmonitor upon creating them
if the i(variable) option is used. StopMixMonitor will accept MixMonitorID as
on option to close specific MixMonitors.
FAX changes
-----------
* FAXOPT(faxdetect) will enable a generic fax detect framehook for dialplan