|
Asterisk - The Open Source Telephony Project GIT-master-9647a4f
|
Bridge Media Channels driver. More...
#include "asterisk.h"#include "asterisk/channel.h"#include "asterisk/bridge.h"#include "asterisk/core_unreal.h"#include "asterisk/module.h"
Go to the source code of this file.
Functions | |
| static void | __reg_module (void) |
| static void | __unreg_module (void) |
| 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) |
| struct ast_module * | AST_MODULE_SELF_SYM (void) |
| static void | cleanup_capabilities (void) |
| static int | load_module (void) |
| static int | media_call (struct ast_channel *chan, const char *addr, int timeout) |
| static int | media_hangup (struct ast_channel *ast) |
| static struct ast_channel * | media_request_helper (struct ast_format_cap *cap, const struct ast_assigned_ids *assignedids, const struct ast_channel *requestor, const char *data, struct ast_channel_tech *tech, const char *role) |
| static struct ast_channel * | record_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) |
| static int | unload_module (void) |
Variables | |
| static struct ast_module_info | __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_DEFAULT , .description = "Bridge Media Channel Driver" , .key = ASTERISK_GPL_KEY , .buildopt_sum = AST_BUILDOPT_SUM, .support_level = AST_MODULE_SUPPORT_CORE, .load = load_module, .unload = unload_module, } |
| static struct ast_channel_tech | announce_tech |
| static const struct ast_module_info * | ast_module_info = &__mod_info |
| static struct ast_channel_tech | record_tech |
|
static |
Definition at line 219 of file chan_bridge_media.c.
|
static |
Definition at line 219 of file chan_bridge_media.c.
|
static |
Definition at line 150 of file chan_bridge_media.c.
References announce_tech, ast_channel::data, and media_request_helper().
| struct ast_module * AST_MODULE_SELF_SYM | ( | void | ) |
Definition at line 219 of file chan_bridge_media.c.
|
static |
Definition at line 162 of file chan_bridge_media.c.
References announce_tech, ao2_ref, ast_channel_tech::capabilities, NULL, and record_tech.
Referenced by load_module(), and unload_module().
|
static |
Definition at line 183 of file chan_bridge_media.c.
References announce_tech, ast_channel_register(), ast_format_cap_alloc, ast_format_cap_append_by_type(), AST_FORMAT_CAP_FLAG_DEFAULT, ast_log, AST_MEDIA_TYPE_UNKNOWN, AST_MODULE_LOAD_DECLINE, AST_MODULE_LOAD_SUCCESS, ast_channel_tech::capabilities, cleanup_capabilities(), ast_channel_tech::description, LOG_ERROR, record_tech, and ast_channel_tech::type.
|
static |
Definition at line 42 of file chan_bridge_media.c.
|
static |
Definition at line 48 of file chan_bridge_media.c.
References ao2_ref, ast_channel_tech_pvt(), and ast_unreal_hangup().
|
static |
Definition at line 115 of file chan_bridge_media.c.
References ao2_cleanup, ast_answer(), ast_channel_add_bridge_role(), ast_copy_string(), ast_hangup(), ast_read_threadstorage_callid(), ast_set_flag, AST_STATE_UP, ast_unreal_alloc(), ast_unreal_destructor(), ast_unreal_new_channels(), AST_UNREAL_NO_OPTIMIZATION, ast_channel::callid, ast_channel::data, NULL, RAII_VAR, and ast_channel::tech.
Referenced by announce_request(), and record_request().
|
static |
Definition at line 156 of file chan_bridge_media.c.
References ast_channel::data, media_request_helper(), and record_tech.
|
static |
Definition at line 175 of file chan_bridge_media.c.
References announce_tech, ast_channel_unregister(), cleanup_capabilities(), and record_tech.
|
static |
Definition at line 219 of file chan_bridge_media.c.
|
static |
Definition at line 71 of file chan_bridge_media.c.
Referenced by announce_request(), cleanup_capabilities(), load_module(), and unload_module().
|
static |
Definition at line 219 of file chan_bridge_media.c.
|
static |
Definition at line 93 of file chan_bridge_media.c.
Referenced by cleanup_capabilities(), load_module(), record_request(), and unload_module().