diff options
author | Jonathan Rose <jrose@digium.com> | 2013-07-01 16:01:24 +0000 |
---|---|---|
committer | Jonathan Rose <jrose@digium.com> | 2013-07-01 16:01:24 +0000 |
commit | f306dbd8412778ef31df791b658dc38e15629ae3 (patch) | |
tree | f8203232ba890acc8cfdd5bd0ce8004c9801433b /include/asterisk/channel.h | |
parent | 909ee4bfb9180a87e02504acb47f27b47cb5adea (diff) |
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
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r-- | include/asterisk/channel.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 1b36c14ae..fae43d423 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -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 @{ */ /*! |