Thu Apr 16 06:48:26 2015

Asterisk developer's documentation


ast_bridge Struct Reference

Structure that contains information about a bridge. More...

#include <bridging.h>

Collaboration diagram for ast_bridge:

Collaboration graph
[legend]

Public Member Functions

 AST_LIST_HEAD_NOLOCK (, ast_bridge_channel) channels

Data Fields

struct ast_channel ** array
size_t array_num
size_t array_size
void * bridge_pvt
struct ast_flags feature_flags
struct ast_bridge_features features
int num
unsigned int refresh:1
unsigned int stop:1
struct ast_bridge_technologytechnology
pthread_t thread
unsigned int waiting:1

Detailed Description

Structure that contains information about a bridge.

Definition at line 149 of file bridging.h.


Member Function Documentation

AST_LIST_HEAD_NOLOCK ( ast_bridge_channel   ) 

Linked list of channels participating in the bridge


Field Documentation

struct ast_channel** array [read]

Array of channels that the bridge thread is currently handling

Definition at line 169 of file bridging.h.

Referenced by ast_bridge_new(), bridge_array_add(), bridge_array_remove(), destroy_bridge(), and generic_thread_loop().

size_t array_num

Number of channels in the above array

Definition at line 171 of file bridging.h.

Referenced by bridge_array_add(), bridge_array_remove(), bridge_thread(), generic_thread_loop(), and softmix_bridge_thread().

size_t array_size

Number of channels the array can handle

Definition at line 173 of file bridging.h.

Referenced by ast_bridge_new(), and bridge_array_add().

void* bridge_pvt

struct ast_flags feature_flags [read]

Bridge flags to tweak behavior

Definition at line 159 of file bridging.h.

Referenced by ast_bridge_merge(), ast_bridge_new(), bridge_channel_join(), and bridge_check_dissolve().

Enabled features information

Definition at line 167 of file bridging.h.

Referenced by ast_bridge_handle_trip(), ast_bridge_join(), bridge_channel_feature(), bridge_handle_dtmf(), and destroy_bridge().

int num

Number of channels participating in the bridge

Definition at line 151 of file bridging.h.

Referenced by ast_bridge_merge(), and bridge_channel_join().

unsigned int refresh

Bit to indicate the bridge thread should refresh itself

Definition at line 157 of file bridging.h.

Referenced by bridge_thread(), generic_thread_loop(), smart_bridge_operation(), and softmix_bridge_thread().

unsigned int stop

Bit to indicate the bridge thread should stop

Definition at line 155 of file bridging.h.

Referenced by ast_bridge_destroy(), bridge_channel_join(), bridge_thread(), generic_thread_loop(), smart_bridge_operation(), and softmix_bridge_thread().

pthread_t thread

unsigned int waiting

Bit to indicate that the bridge thread is waiting on channels in the bridge array

Definition at line 153 of file bridging.h.

Referenced by bridge_array_add(), bridge_array_remove(), and generic_thread_loop().


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

Generated on Thu Apr 16 06:48:27 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6