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

Public Member Functions | |
| AST_LIST_ENTRY (ast_bridge_channel) entry | |
Data Fields | |
| unsigned int | allow_impart_hangup:1 |
| struct ast_bridge * | bridge |
| void * | bridge_pvt |
| struct ast_callid * | callid |
| struct ast_channel * | chan |
| ast_cond_t | cond |
| char | dtmf_stream_q [8] |
| 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 |
| struct ast_bridge_tech_optimizations | tech_args |
| pthread_t | thread |
Structure that contains information regarding a channel in a bridge.
Definition at line 138 of file bridging.h.
Linked list information
| 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().
| struct ast_bridge* bridge |
Bridge this channel is participating in
Definition at line 150 of file bridging.h.
Referenced by ast_bridge_merge(), bridge_channel_alloc(), bridge_channel_destroy(), bridge_channel_join(), bridge_channel_join_multithreaded(), and bridge_channel_join_singlethreaded().
| 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().
| struct ast_channel* chan |
Asterisk channel participating in the bridge
Definition at line 146 of file bridging.h.
Referenced by action_dialplan_exec(), action_kick_last(), action_playback(), action_playback_and_continue(), 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(), conf_handle_talker_cb(), execute_menu_entry(), feature_attended_transfer(), feature_blind_transfer(), find_bridge_channel(), gather_softmix_stats(), multiplexed_bridge_join(), multiplexed_bridge_leave(), multiplexed_bridge_suspend(), multiplexed_bridge_unsuspend(), multiplexed_bridge_write(), set_softmix_bridge_data(), simple_bridge_write(), softmix_bridge_poke(), softmix_bridge_thread(), softmix_bridge_write(), softmix_pass_dtmf(), softmix_pass_video_all(), and softmix_pass_video_top_priority().
Condition, used if we want to wake up a thread waiting on the bridged channel
Definition at line 142 of file bridging.h.
Referenced by ast_bridge_change_state(), ast_bridge_merge(), bridge_channel_alloc(), bridge_channel_destroy(), bridge_channel_join_multithreaded(), bridge_channel_join_singlethreaded(), bridge_channel_unsuspend(), and smart_bridge_operation().
| 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().
| struct ast_bridge_features* features |
Features structure for features that are specific to this channel
Definition at line 162 of file bridging.h.
Referenced by ast_bridge_handle_trip(), ast_bridge_impart(), ast_bridge_join(), bridge_channel_feature(), bridge_channel_talking(), bridge_channel_thread(), bridge_check_dissolve(), and bridge_handle_dtmf().
Lock to protect this data structure
Definition at line 140 of file bridging.h.
Current bridged channel state
Definition at line 144 of file bridging.h.
Referenced by ast_bridge_change_state(), bridge_channel_feature(), bridge_channel_join(), bridge_channel_join_multithreaded(), bridge_channel_join_singlethreaded(), bridge_check_dissolve(), conf_handle_talker_cb(), 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 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().
| pthread_t thread |
Thread handling the bridged channel
Definition at line 154 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().