bridge_features: Support One touch Monitor/MixMonitor

In addition to porting those features, they now enjoy greater feature parity
with one another. Specifically, AutoMixMon now has a start and stop
message that can be specified with TOUCH_MIXMONITOR_MESSAGE_START and
TOUCH_MIXMONITOR_MESSAGE_STOP.

(closes issue ASTERISK-21553)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/2620/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jonathan Rose
2013-07-01 16:01:24 +00:00
parent 909ee4bfb9
commit f306dbd841
9 changed files with 585 additions and 2 deletions

View File

@@ -2596,6 +2596,17 @@ struct ast_group_info {
*/
#define ast_channel_unref(c) ({ ao2_ref(c, -1); (struct ast_channel *) (NULL); })
/*!
* \brief Cleanup a channel reference
*
* \param c the channel (NULL tolerant)
*
* \retval NULL always
*
* \since 12.0.0
*/
#define ast_channel_cleanup(c) ({ ao2_cleanup(c); (struct ast_channel *) (NULL); })
/*! Channel Iterating @{ */
/*!