Sat Jul 12 2014 17:20:13

Asterisk developer's documentation


ast_bridge_channel Struct Reference

Structure that contains information regarding a channel in a bridge. More...

#include <bridging.h>

Collaboration diagram for ast_bridge_channel:

Data Fields

unsigned int allow_impart_hangup:1
struct ast_bridgebridge
void * bridge_pvt
struct ast_callidcallid
struct ast_channelchan
ast_cond_t cond
char dtmf_stream_q [8]
struct {
   struct ast_bridge_channel *   next
entry
int fds [4]
struct ast_bridge_featuresfeatures
ast_mutex_t lock
enum ast_bridge_channel_state state
unsigned int suspended:1
struct ast_channelswap
struct
ast_bridge_tech_optimizations 
tech_args
pthread_t thread

Detailed Description

Structure that contains information regarding a channel in a bridge.

Definition at line 138 of file bridging.h.


Field Documentation

unsigned int allow_impart_hangup

Bit to indicate if a imparted channel is allowed to get hungup after leaving the bridge by the bridging core.

Definition at line 160 of file bridging.h.

Referenced by ast_bridge_impart(), and bridge_channel_thread().

void* bridge_pvt

Private information unique to the bridge technology

Definition at line 152 of file bridging.h.

Referenced by set_softmix_bridge_data(), softmix_bridge_join(), softmix_bridge_leave(), softmix_bridge_poke(), softmix_bridge_thread(), and softmix_bridge_write().

struct ast_callid* callid

Call ID associated with bridge channel

Definition at line 169 of file bridging.h.

Referenced by ast_bridge_impart(), bridge_channel_destroy(), and bridge_channel_thread().

char dtmf_stream_q[8]

Queue of DTMF digits used for DTMF streaming

Definition at line 167 of file bridging.h.

Referenced by ast_bridge_dtmf_stream(), and bridge_channel_dtmf_stream().

int fds[4]

Additional file descriptors to look at

Definition at line 156 of file bridging.h.

Referenced by bridge_channel_join_multithreaded().

Lock to protect this data structure

Definition at line 140 of file bridging.h.

Definition at line 171 of file bridging.h.

unsigned int suspended

Bit to indicate whether the channel is suspended from the bridge or not

Definition at line 158 of file bridging.h.

Referenced by bridge_channel_join_multithreaded(), bridge_channel_suspend(), bridge_channel_unsuspend(), softmix_bridge_thread(), softmix_pass_video_all(), and softmix_pass_video_top_priority().

struct ast_channel* swap

Asterisk channel we are swapping with (if swapping)

Definition at line 148 of file bridging.h.

Referenced by ast_bridge_impart(), ast_bridge_join(), bridge_channel_join(), and bridge_channel_thread().

Technology optimization parameters used by bridging technologies capable of optimizing based upon talk detection.

Definition at line 165 of file bridging.h.

Referenced by ast_bridge_join(), set_softmix_bridge_data(), and softmix_bridge_write().


The documentation for this struct was generated from the following file: