29 #ifndef _ASTERISK_CORE_LOCAL_H 30 #define _ASTERISK_CORE_LOCAL_H 32 #if defined(__cplusplus) || defined(c_plusplus) 166 #if defined(__cplusplus) || defined(c_plusplus) Main Channel structure associated with a channel.
struct ast_channel * masq
Structure that contains features information.
void ast_local_lock_all(struct ast_channel *chan, void **tech_pvt, struct ast_channel **base_chan, struct ast_channel **base_owner)
Add a reference to the local channel's private tech, lock the local channel's private base...
struct ast_channel * ast_local_get_peer(struct ast_channel *ast)
Get the other local channel in the pair.
struct stasis_message_type * ast_local_optimization_end_type(void)
Message type for when a local channel optimization completes.
Structure that contains information about a bridge.
struct stasis_message_type * ast_local_bridge_type(void)
Message type for when two local channel halves are bridged together.
struct stasis_message_type * ast_local_optimization_begin_type(void)
Message type for when a local channel optimization begins.
void ast_local_unlock_all(void *tech_pvt, struct ast_channel *base_chan, struct ast_channel *base_owner)
Remove a reference to the given local channel's private tech, unlock the given local channel's privat...
int ast_local_setup_masquerade(struct ast_channel *ast, struct ast_channel *masq)
Setup the outgoing local channel to masquerade into a channel on ast_call().
int ast_local_setup_bridge(struct ast_channel *ast, struct ast_bridge *bridge, struct ast_channel *swap, struct ast_bridge_features *features)
Setup the outgoing local channel to join a bridge on ast_call().