mirror of
https://github.com/asterisk/asterisk.git
synced 2025-12-02 11:11:55 +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:
@@ -31,6 +31,7 @@
|
||||
|
||||
#include "asterisk/astobj2.h"
|
||||
#include "asterisk/channel.h"
|
||||
#include "asterisk/bridging.h"
|
||||
#include "asterisk/abstract_jb.h"
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
@@ -208,6 +209,20 @@ struct ast_channel *ast_unreal_new_channels(struct ast_unreal_pvt *p,
|
||||
*/
|
||||
void ast_unreal_call_setup(struct ast_channel *semi1, struct ast_channel *semi2);
|
||||
|
||||
/*!
|
||||
* \brief Push the semi2 unreal channel into a bridge from either member of the unreal pair
|
||||
* \since 12.0.0
|
||||
*
|
||||
* \param ast A member of the unreal channel being pushed
|
||||
* \param bridge Which bridge we want to push the channel to
|
||||
*
|
||||
* \retval 0 if the channel is successfully imparted onto the bridge
|
||||
* \retval -1 on failure
|
||||
*
|
||||
* \note This is equivalent to ast_call() on unreal based channel drivers that are designed to use it instead.
|
||||
*/
|
||||
int ast_unreal_channel_push_to_bridge(struct ast_channel *ast, struct ast_bridge *bridge);
|
||||
|
||||
/* ------------------------------------------------------------------- */
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
|
||||
Reference in New Issue
Block a user