Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
ConfBridge announcer channel driver. More...
#include "asterisk.h"
#include "asterisk/channel.h"
#include "asterisk/bridge.h"
#include "asterisk/core_unreal.h"
#include "include/confbridge.h"
Go to the source code of this file.
Data Structures | |
struct | announce_pvt |
Functions | |
static int | announce_call (struct ast_channel *chan, const char *addr, int timeout) |
static int | announce_hangup (struct ast_channel *ast) |
static void | announce_pvt_destructor (void *vdoomed) |
static struct ast_channel * | announce_request (const char *type, struct ast_format_cap *cap, const struct ast_assigned_ids *assignedids, const struct ast_channel *requestor, const char *data, int *cause) |
int | conf_announce_channel_push (struct ast_channel *ast) |
Push the announcer channel into the conference. More... | |
struct ast_channel_tech * | conf_announce_get_tech (void) |
Get ConfBridge announce channel technology struct. More... | |
Variables | |
static struct ast_channel_tech | announce_tech |
|
static |
Definition at line 47 of file conf_chan_announce.c.
|
static |
Definition at line 53 of file conf_chan_announce.c.
References ao2_ref, ast_channel_tech_pvt(), ast_unreal_hangup(), and announce_pvt::base.
|
static |
Definition at line 70 of file conf_chan_announce.c.
References ao2_cleanup, ast_unreal_destructor(), announce_pvt::base, announce_pvt::bridge, and NULL.
Referenced by announce_request().
|
static |
Definition at line 79 of file conf_chan_announce.c.
References announce_pvt_destructor(), ao2_cleanup, ao2_find, ao2_ref, ast_answer(), ast_assert, ast_channel_add_bridge_role(), ast_copy_string(), ast_hangup(), ast_set_flag, AST_STATE_UP, ast_unreal_alloc(), ast_unreal_new_channels(), AST_UNREAL_NO_OPTIMIZATION, conf_announce_get_tech(), conference_bridges, ast_channel::data, NULL, OBJ_KEY, and RAII_VAR.
int conf_announce_channel_push | ( | struct ast_channel * | ast | ) |
Push the announcer channel into the conference.
ast | Either channel in the announcer channel pair. |
0 | on success. |
-1 | on error. |
Definition at line 144 of file conf_chan_announce.c.
References ao2_cleanup, ao2_lock, ao2_ref, ao2_unlock, AST_BRIDGE_CHANNEL_FLAG_IMMOVABLE, ast_bridge_features_new(), ast_bridge_impart(), AST_BRIDGE_IMPART_CHAN_INDEPENDENT, ast_channel_tech_pvt(), ast_set_flag, AST_UNREAL_CARETAKER_THREAD, ast_bridge_features::feature_flags, lock, NULL, RAII_VAR, and SCOPED_CHANNELLOCK.
Referenced by push_announcer().
struct ast_channel_tech * conf_announce_get_tech | ( | void | ) |
Get ConfBridge announce channel technology struct.
Definition at line 139 of file conf_chan_announce.c.
References announce_tech.
Referenced by announce_request(), load_module(), and unload_module().
|
static |
Definition at line 117 of file conf_chan_announce.c.
Referenced by conf_announce_get_tech().