Added MixMonitorMute manager command

Added a new manager command to mute/unmute MixMonitor audio on a channel. 
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.

(closes issue #16740)
Reported by: jmls

Review: https://reviewboard.asterisk.org/r/487/



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@258190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Julian Lyndon-Smith
2010-04-21 11:27:27 +00:00
parent ea9186d4ea
commit d85650e4aa
6 changed files with 166 additions and 14 deletions

View File

@@ -728,6 +728,11 @@ static force_inline int ast_format_rate(format_t format)
}
}
/*!
* \brief Clear all audio samples from an ast_frame. The frame must be AST_FRAME_VOICE and AST_FORMAT_SLINEAR
*/
int ast_frame_clear(struct ast_frame *frame);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif