39 #include <sys/types.h>
89 .
name =
"simple_bridge",
Main Channel structure associated with a channel.
#define AST_MODULE_INFO_STANDARD(keystr, desc)
Asterisk main include file. File version handling, generic pbx functions.
#define AST_LIST_FIRST(head)
Returns the first entry contained in a list.
static struct ast_bridge_technology simple_bridge
#define ast_bridge_technology_register(technology)
See __ast_bridge_technology_register()
General Asterisk PBX channel definitions.
Asterisk internal frame definitions.
#define AST_FORMAT_TEXT_MASK
int ast_bridge_technology_unregister(struct ast_bridge_technology *technology)
Unregister a bridge technology from use.
Structure that contains information about a bridge.
static enum ast_bridge_write_result simple_bridge_write(struct ast_bridge *bridge, struct ast_bridge_channel *bridge_channel, struct ast_frame *frame)
#define AST_LIST_LAST(head)
Returns the last entry contained in a list.
struct ast_bridge * bridge
#define AST_FORMAT_VIDEO_MASK
#define AST_FORMAT_AUDIO_MASK
int ast_write(struct ast_channel *chan, struct ast_frame *frame)
Write a frame to a channel This function writes the given frame to the indicated channel.
static int unload_module(void)
struct ast_channel * chan
Structure that contains information regarding a channel in a bridge.
int ast_channel_make_compatible(struct ast_channel *c0, struct ast_channel *c1)
Makes two channel formats compatible.
Structure that is the essence of a bridge technology.
static int load_module(void)
ast_bridge_write_result
Return values for bridge technology write function.
Data structure associated with a single frame of data.
#define ASTERISK_GPL_KEY
The text the key() function should return.
Asterisk module definitions.
enum ast_bridge_channel_state state
static int simple_bridge_join(struct ast_bridge *bridge, struct ast_bridge_channel *bridge_channel)
#define ASTERISK_FILE_VERSION(file, version)
Register/unregister a source code file with the core.