Asterisk - The Open Source Telephony Project
21.4.1
|
Application to place the channel into a holding Bridge. More...
#include "asterisk.h"
#include "asterisk/file.h"
#include "asterisk/channel.h"
#include "asterisk/pbx.h"
#include "asterisk/module.h"
#include "asterisk/features.h"
#include "asterisk/say.h"
#include "asterisk/lock.h"
#include "asterisk/utils.h"
#include "asterisk/app.h"
#include "asterisk/bridge.h"
#include "asterisk/musiconhold.h"
#include "asterisk/astobj2.h"
#include "asterisk/causes.h"
Go to the source code of this file.
Data Structures | |
struct | wait_bridge_wrapper |
Macros | |
#define | APP_NAME "BridgeWait" |
#define | DEFAULT_BRIDGE_NAME "default" |
Functions | |
static void | __reg_module (void) |
static void | __unreg_module (void) |
static int | apply_option_entertainment (struct ast_channel *chan, const char *entertainment_arg) |
static int | apply_option_moh (struct ast_channel *chan, const char *class_arg) |
static int | apply_option_timeout (struct ast_bridge_features *features, char *duration_arg) |
struct ast_module * | AST_MODULE_SELF_SYM (void) |
static int | bridgewait_exec (struct ast_channel *chan, const char *data) |
static int | bridgewait_timeout_callback (struct ast_bridge_channel *bridge_channel, void *hook_pvt) |
static struct wait_bridge_wrapper * | get_wait_bridge_wrapper (const char *bridge_name) |
static int | load_module (void) |
static int | process_options (struct ast_channel *chan, struct ast_flags *flags, char **opts, struct ast_bridge_features *features, enum wait_bridge_roles role) |
static int | unload_module (void) |
static enum wait_bridge_roles | validate_role (const char *role) |
static int | wait_bridge_hash_fn (const void *obj, const int flags) |
static int | wait_bridge_sort_fn (const void *obj_left, const void *obj_right, const int flags) |
static struct wait_bridge_wrapper * | wait_bridge_wrapper_alloc (const char *bridge_name, struct ast_bridge *bridge) |
static void | wait_bridge_wrapper_destructor (void *obj) |
static struct wait_bridge_wrapper * | wait_bridge_wrapper_find_by_name (const char *bridge_name) |
static void | wait_wrapper_removal (struct wait_bridge_wrapper *wrapper) |
Variables | |
static struct ast_module_info | __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_LOAD_ORDER , .description = "Place the channel into a holding bridge application" , .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 = "da6642af068ee5e6490c5b1d2cc1d238" , .load = load_module, .unload = unload_module, .load_pri = AST_MODPRI_DEFAULT, .support_level = AST_MODULE_SUPPORT_CORE, } |
static const struct ast_module_info * | ast_module_info = &__mod_info |
static const struct ast_app_option | bridgewait_opts [128] = { [ 'e' ] = { .flag = MUXFLAG_ENTERTAINMENT , .arg_index = OPT_ARG_ENTERTAINMENT + 1 }, [ 'm' ] = { .flag = MUXFLAG_MOHCLASS , .arg_index = OPT_ARG_MOHCLASS + 1 }, [ 'S' ] = { .flag = MUXFLAG_TIMEOUT , .arg_index = OPT_ARG_TIMEOUT + 1 }, [ 'n' ] = { .flag = MUXFLAG_NOANSWER }, } |
static struct ao2_container * | wait_bridge_wrappers |
Application to place the channel into a holding Bridge.
Definition in file app_bridgewait.c.