[asterisk-dev] [Code Review] Allow specifying which MixMonitor to stop

telecos82 reviewboard at asterisk.org
Thu Dec 22 12:03:37 CST 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1643/
-----------------------------------------------------------

(Updated Dec. 22, 2011, 12:03 p.m.)


Review request for Asterisk Developers.


Changes
-------

Use filename_read as datastore identifier in case that filename variable is not specified and filename_write in case that neither filename nor filename_read are specified.


Summary
-------

Currently, if there are several MixMonitor started on a channel, there is no way to specify which MixMonitor to stop with StopMixMonitor. With this patch we will allow this. One limitation of current implementation was that mixmonitor datastore was not identified with a uid so there was no way to identify a concrete MixMonitor. Furthermore, when retrieving audiohook to dettach from channel, there was no control on which audiohook to dettach, it always got first audiohook found of type mixmonitor_spy_type. With this patch we are identifying MixMonitor datastore by the filename asociated to it, and dettaching the concrete audiohook contained on datastore. Furthermore a new CLI command "mixmonitor list <channel_name>" to help querying active mixmonitors on a channel.


This addresses bug ASTERISK-19096.
    https://issues.asterisk.org/jira/browse/ASTERISK-19096


Diffs (updated)
-----

  http://svn.asterisk.org/svn/asterisk/trunk/apps/app_mixmonitor.c 348737 

Diff: https://reviewboard.asterisk.org/r/1643/diff


Testing
-------


Thanks,

telecos82

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20111222/d10a9797/attachment.htm>


More information about the asterisk-dev mailing list