72 static const char app[] =
"BridgeAdd";
94 ast_verb(4,
"Channel '%s' not found\n", data);
113 ast_verb(4,
"Channel '%s' is not in a bridge\n", c_name);
118 ast_verb(4,
"%s is joining %s in bridge %s\n",
124 ast_verb(4,
"%s failed to join %s in bridge %s\n",
#define ast_channel_lock(chan)
Main Channel structure associated with a channel.
void ast_bridge_features_cleanup(struct ast_bridge_features *features)
Clean up the contents of a bridge features structure.
#define AST_MODULE_INFO_STANDARD(keystr, desc)
Asterisk main include file. File version handling, generic pbx functions.
const ast_string_field uniqueid
Structure that contains features information.
#define ast_channel_unref(c)
Decrease channel reference count.
int ast_bridge_features_init(struct ast_bridge_features *features)
Initialize bridge features structure.
ast_channel_state
ast_channel states
Generic File Format Support. Should be included by clients of the file handling routines. File service providers should instead include mod_format.h.
int ast_unregister_application(const char *app)
Unregister an application.
#define ast_verb(level,...)
struct ast_channel * ast_channel_get_by_name_prefix(const char *name, size_t name_len)
Find a channel by a name prefix.
#define ast_strlen_zero(foo)
struct ast_bridge * ast_channel_get_bridge(const struct ast_channel *chan)
Get the bridge associated with a channel.
General Asterisk PBX channel definitions.
#define ast_strdupa(s)
duplicate a string in memory from the stack
Structure that contains information about a bridge.
static int unload_module(void)
static int bridgeadd_exec(struct ast_channel *chan, const char *data)
static int load_module(void)
#define ast_channel_unlock(chan)
int ast_bridge_join(struct ast_bridge *bridge, struct ast_channel *chan, struct ast_channel *swap, struct ast_bridge_features *features, struct ast_bridge_tech_optimizations *tech_args, enum ast_bridge_join_flags flags)
Join a channel to a bridge (blocking)
int pbx_builtin_setvar_helper(struct ast_channel *chan, const char *name, const char *value)
Add a variable to the channel variable stack, removing the most recently set value for the same name...
const char * ast_channel_name(const struct ast_channel *chan)
int ast_answer(struct ast_channel *chan)
Answer a channel.
Call Parking and Pickup API Includes code and algorithms from the Zapata library. ...
#define ASTERISK_GPL_KEY
The text the key() function should return.
Asterisk module definitions.
#define ast_register_application_xml(app, execute)
Register an application using XML documentation.