Asterisk - The Open Source Telephony Project
18.5.0
|
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 = "This paragraph is copyright (c) 2006 by Digium, Inc. \In order for your module to load, it must return this \key via a function called \"key\". Any code which \includes this paragraph must be licensed under the GNU \General Public License version 2 or later (at your \option). In addition to Digium's general reservations \of rights, Digium expressly reserves the right to \allow other parties to license this paragraph under \different terms. Any use of Digium, Inc. trademarks or \logos (including \"Asterisk\" or \"Digium\") without \express written permission of Digium, Inc. is prohibited.\n" , .buildopt_sum = "30ef0c93b36035ec78c9cfd712d36d9b" , .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 media_request_helper().
Referenced by media_hangup().
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 ao2_ref, ast_channel_tech::capabilities, and NULL.
Referenced by load_module(), and unload_module().
|
static |
Definition at line 183 of file chan_bridge_media.c.
References 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_MODFLAG_DEFAULT, AST_MODULE_INFO(), AST_MODULE_LOAD_DECLINE, AST_MODULE_LOAD_SUCCESS, AST_MODULE_SUPPORT_CORE, ASTERISK_GPL_KEY, ast_channel_tech::capabilities, cleanup_capabilities(), ast_channel_tech::description, LOG_ERROR, ast_channel_tech::type, and unload_module().
|
static |
Definition at line 42 of file chan_bridge_media.c.
|
static |
Definition at line 48 of file chan_bridge_media.c.
References announce_request(), ao2_ref, ast_channel_tech_pvt(), ast_unreal_hangup(), ast_channel::data, record_request(), and type.
|
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, NULL, and RAII_VAR.
Referenced by announce_request(), and record_request().
|
static |
Definition at line 156 of file chan_bridge_media.c.
References media_request_helper().
Referenced by media_hangup().
|
static |
Definition at line 175 of file chan_bridge_media.c.
References ast_channel_unregister(), and cleanup_capabilities().
Referenced by load_module().
|
static |
Definition at line 219 of file chan_bridge_media.c.
|
static |
Definition at line 71 of file chan_bridge_media.c.
|
static |
Definition at line 219 of file chan_bridge_media.c.
|
static |
Definition at line 93 of file chan_bridge_media.c.