mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Extract a repeated test into ast_channel_has_audio_frame_or_monitor().
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4335,6 +4335,16 @@ int ast_channel_forward_endpoint(struct ast_channel *chan, struct ast_endpoint *
|
||||
*/
|
||||
const char *ast_channel_oldest_linkedid(const char *a, const char *b);
|
||||
|
||||
/*!
|
||||
* \brief Check if the channel has active audiohooks, active framehooks, or a monitor.
|
||||
* \since 12.0.0
|
||||
*
|
||||
* \param chan The channel to check.
|
||||
*
|
||||
* \retval non-zero if channel has active audiohooks, framehooks, or monitor.
|
||||
*/
|
||||
int ast_channel_has_audio_frame_or_monitor(struct ast_channel *chan);
|
||||
|
||||
/*!
|
||||
* \brief Removes the trailing identifiers from a channel name string
|
||||
* \since 12.0.0
|
||||
|
Reference in New Issue
Block a user