Structure that contains information regarding a channel in a bridge. More...
#include <bridging.h>

Data Fields | |
| struct ast_bridge * | bridge |
| void * | bridge_pvt |
| struct ast_channel * | chan |
| ast_cond_t | cond |
| char | dtmf_stream_q [8] |
| struct { | |
| struct ast_bridge_channel * next | |
| } | entry |
| int | fds [4] |
| struct ast_bridge_features * | features |
| ast_mutex_t | lock |
| enum ast_bridge_channel_state | state |
| unsigned int | suspended:1 |
| struct ast_channel * | swap |
| pthread_t | thread |
Structure that contains information regarding a channel in a bridge.
Definition at line 117 of file bridging.h.
| struct ast_bridge* bridge |
Bridge this channel is participating in
Definition at line 129 of file bridging.h.
Referenced by ast_bridge_impart(), ast_bridge_join(), ast_bridge_merge(), bridge_channel_join(), bridge_channel_join_multithreaded(), bridge_channel_join_singlethreaded(), and bridge_channel_thread().
| void* bridge_pvt |
Private information unique to the bridge technology
Definition at line 131 of file bridging.h.
Referenced by softmix_bridge_join(), softmix_bridge_leave(), softmix_bridge_poke(), softmix_bridge_thread(), and softmix_bridge_write().
| struct ast_channel* chan |
Asterisk channel participating in the bridge
Definition at line 125 of file bridging.h.
Referenced by ast_bridge_dtmf_stream(), ast_bridge_impart(), ast_bridge_join(), ast_bridge_merge(), bridge_channel_dtmf_stream(), bridge_channel_feature(), bridge_channel_join(), bridge_channel_join_multithreaded(), bridge_channel_suspend(), bridge_channel_thread(), bridge_channel_unsuspend(), bridge_make_compatible(), feature_attended_transfer(), feature_blind_transfer(), find_bridge_channel(), menu_callback(), multiplexed_bridge_join(), multiplexed_bridge_leave(), multiplexed_bridge_suspend(), multiplexed_bridge_unsuspend(), multiplexed_bridge_write(), simple_bridge_write(), softmix_bridge_poke(), and softmix_bridge_write().
Condition, used if we want to wake up a thread waiting on the bridged channel
Definition at line 121 of file bridging.h.
Referenced by ast_bridge_change_state(), ast_bridge_impart(), ast_bridge_join(), ast_bridge_merge(), bridge_channel_join_multithreaded(), bridge_channel_join_singlethreaded(), bridge_channel_thread(), and smart_bridge_operation().
| char dtmf_stream_q[8] |
Queue of DTMF digits used for DTMF streaming
Definition at line 141 of file bridging.h.
Referenced by ast_bridge_dtmf_stream(), and bridge_channel_dtmf_stream().
| struct { ... } entry |
Linked list information
Referenced by ast_bridge_destroy(), ast_bridge_dtmf_stream(), ast_bridge_merge(), bridge_channel_join(), bridge_check_dissolve(), find_bridge_channel(), smart_bridge_operation(), and softmix_bridge_thread().
| int fds[4] |
Additional file descriptors to look at
Definition at line 135 of file bridging.h.
Referenced by bridge_channel_join_multithreaded().
| struct ast_bridge_features* features |
Features structure for features that are specific to this channel
Definition at line 139 of file bridging.h.
Referenced by ast_bridge_handle_trip(), ast_bridge_impart(), ast_bridge_join(), bridge_channel_feature(), bridge_check_dissolve(), and bridge_handle_dtmf().
Lock to protect this data structure
Definition at line 119 of file bridging.h.
Referenced by ast_bridge_change_state(), ast_bridge_impart(), ast_bridge_join(), ast_bridge_merge(), bridge_channel_join_multithreaded(), bridge_channel_join_singlethreaded(), bridge_channel_thread(), and smart_bridge_operation().
| struct ast_bridge_channel* next |
Definition at line 143 of file bridging.h.
Current bridged channel state
Definition at line 123 of file bridging.h.
Referenced by ast_bridge_change_state(), bridge_channel_join(), bridge_channel_join_multithreaded(), bridge_channel_join_singlethreaded(), bridge_check_dissolve(), menu_callback(), multiplexed_bridge_write(), and simple_bridge_write().
| unsigned int suspended |
Bit to indicate whether the channel is suspended from the bridge or not
Definition at line 137 of file bridging.h.
Referenced by bridge_channel_join_multithreaded(), bridge_channel_suspend(), and bridge_channel_unsuspend().
| struct ast_channel* swap |
Asterisk channel we are swapping with (if swapping)
Definition at line 127 of file bridging.h.
Referenced by ast_bridge_impart(), ast_bridge_join(), and bridge_channel_join().
| pthread_t thread |
Thread handling the bridged channel
Definition at line 133 of file bridging.h.
Referenced by ast_bridge_change_state(), ast_bridge_depart(), ast_bridge_impart(), ast_bridge_merge(), bridge_channel_join(), smart_bridge_operation(), and softmix_bridge_thread().