[asterisk-dev] [Code Review] Mute / Unmute manager commands for MixMonitor

Russell Bryant russell at digium.com
Fri Mar 19 16:09:33 CDT 2010


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



trunk/include/asterisk/frame.h
<https://reviewboard.asterisk.org/r/487/#comment3793>

    Document that this only works for frames that are of type VOICE and that the payload is SLINEAR



trunk/include/asterisk/frame.h
<https://reviewboard.asterisk.org/r/487/#comment3791>

    remove the inline keyword



trunk/main/audiohook.c
<https://reviewboard.asterisk.org/r/487/#comment3792>

    How about just get rid of the muteme var and do ast_frame_clear() within the first if block?


- Russell


On 2010-03-19 13:30:59, Julian Lyndon-Smith wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/487/
> -----------------------------------------------------------
> 
> (Updated 2010-03-19 13:30:59)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> For PCI-DSS compliance we are not allowed to record a credit card number in a MixMonitor file. However, we must record all conversations ....
> 
> I have added a new feature to audiohooks so that you can mute either read / write or both types of frames - this allows for MixMonitor to mute either side of the conversation without affecting the conversation itself.
> 
> MixMonitor now has two manager commands
> 
> 1) manager show command MuteMixMonitor
> Action: MuteMixMonitor
> Synopsis: Mute a channel in MixMonitor
> Privilege: <none>
> Description: Mutes a Mixmonitor Channel.
> Variables:
>   Channel: Channel to mute.
>   Direction: Which part to mute. read|write|both (from channel|to channel|both channels).
> 
> 2) manager show command unMuteMixMonitor
> Action: unMuteMixMonitor
> Synopsis: unMute a channel in MixMonitor
> Privilege: <none>
> Description: unMutes a Mixmonitor Channel.
> Variables:
>   Channel: Channel to unmute.
>   Direction: Which part to unmute. read|write|both (from channel|to channel|both channels).
> 
> 
> This addresses bug 16740.
>     https://issues.asterisk.org/view.php?id=16740
> 
> 
> Diffs
> -----
> 
>   trunk/apps/app_mixmonitor.c 253533 
>   trunk/include/asterisk/audiohook.h 253533 
>   trunk/include/asterisk/frame.h 253533 
>   trunk/main/audiohook.c 253533 
>   trunk/main/frame.c 253533 
>   trunk/res/res_mutestream.c 253533 
> 
> Diff: https://reviewboard.asterisk.org/r/487/diff
> 
> 
> Testing
> -------
> 
> Tested on 1.4 : Tested muting each direction, and both directions, and unmuting, and then listening to the mixmonitor file. The mutes and unmutes all seemed to be in the right place at the right time
> Tested on trunk : Tested muting each direction, and both directions, and unmuting, and then listening to the mixmonitor file. The mutes and unmutes all seemed to be in the right place at the right time
> 
> 
> Thanks,
> 
> Julian
> 
>




More information about the asterisk-dev mailing list