mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
ARI: Bridge Playback, Bridge Record
Adds a new channel driver for creating channels for specific purposes in bridges, primarily to act as either recorders or announcers. Adds ARI commands for playing announcements to ever participant in a bridge as well as for recording a bridge. This patch also includes some documentation/reponse fixes to related ARI models such as playback controls. (closes issue ASTERISK-21592) Reported by: Matt Jordan (closes issue ASTERISK-21593) Reported by: Matt Jordan Review: https://reviewboard.asterisk.org/r/2670/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -281,7 +281,16 @@ struct ast_callid *ast_read_threadstorage_callid(void);
|
||||
*
|
||||
* \retval NULL always
|
||||
*/
|
||||
#define ast_callid_unref(c) ({ ao2_ref(c, -1); (NULL); })
|
||||
#define ast_callid_unref(c) ({ ao2_ref(c, -1); (struct ast_callid *) (NULL); })
|
||||
|
||||
/*!
|
||||
* \brief Cleanup a callid reference (NULL safe ao2 unreference)
|
||||
*
|
||||
* \param c the ast_callid
|
||||
*
|
||||
* \retval NULL always
|
||||
*/
|
||||
#define ast_callid_cleanup(c) ({ ao2_cleanup(c); (struct ast_callid *) (NULL); })
|
||||
|
||||
/*!
|
||||
* \brief Sets what is stored in the thread storage to the given
|
||||
|
Reference in New Issue
Block a user