Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ast_bridge Struct Reference

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

#include <bridge.h>

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
struct {
   struct ast_frame *   first
 
   struct ast_frame *   last
 
action_queue
 
uint32_t allowed_capabilities
 
ast_callid callid
 
int cause
 
struct ast_bridge_channels_list channels
 
unsigned int construction_completed:1
 
struct timeval creationtime
 
const ast_string_field creator
 
struct ast_bridge_snapshotcurrent_snapshot
 
unsigned int dissolved:1
 
struct ast_flags feature_flags
 
unsigned int inhibit_merge
 Count of the active temporary requests to inhibit bridge merges. Zero if merges are allowed. More...
 
struct ast_vector_int media_types
 
const ast_string_field name
 
unsigned int num_active
 
unsigned int num_channels
 
unsigned int num_lonely
 
void * personality
 
unsigned int reconfigured:1
 
struct ast_bridge_softmix softmix
 
void * tech_pvt
 
struct ast_bridge_technologytechnology
 
struct stasis_topictopic
 
const ast_string_field uniqueid
 
const struct ast_bridge_methodsv_table
 

Detailed Description

Structure that contains information about a bridge.

Definition at line 349 of file bridge.h.

Field Documentation

struct { ... } action_queue

Queue of actions to perform on the bridge.

uint32_t allowed_capabilities

Allowed bridge technology capabilities when AST_BRIDGE_FLAG_SMART enabled.

Definition at line 371 of file bridge.h.

ast_callid callid

Call ID associated with the bridge

Definition at line 361 of file bridge.h.

Referenced by ast_unreal_channel_push_to_bridge(), and handle_showchan().

int cause

Cause code of the dissolved bridge.

Definition at line 386 of file bridge.h.

struct ast_bridge_channels_list channels
unsigned int construction_completed

TRUE if the bridge construction was completed.

Definition at line 392 of file bridge.h.

Referenced by bridge_register().

struct timeval creationtime

The time of bridge creation

Definition at line 408 of file bridge.h.

Referenced by ast_bridge_snapshot_create().

const ast_string_field creator

Immutable name of the creator for the bridge

Definition at line 401 of file bridge.h.

Referenced by ast_bridge_snapshot_create().

struct ast_bridge_snapshot* current_snapshot

Current bridge snapshot

Definition at line 406 of file bridge.h.

Referenced by ast_bridge_get_snapshot(), ast_bridge_get_snapshot_by_uniqueid(), and ast_bridge_publish_state().

unsigned int dissolved

TRUE if the bridge has been dissolved. Any channel that now tries to join is immediately ejected.

Definition at line 390 of file bridge.h.

struct ast_flags feature_flags
unsigned int inhibit_merge

Count of the active temporary requests to inhibit bridge merges. Zero if merges are allowed.

Note
Temporary as in try again in a moment.

Definition at line 384 of file bridge.h.

Referenced by feature_attended_transfer().

struct ast_vector_int media_types

Type mapping used for media routing

Definition at line 404 of file bridge.h.

Referenced by ast_bridge_channel_stream_map().

const ast_string_field name
unsigned int num_active

Number of active channels in the bridge.

Definition at line 375 of file bridge.h.

Referenced by ast_bridge_snapshot_create(), and softmix_mixing_loop().

unsigned int num_channels

Number of channels participating in the bridge

Definition at line 373 of file bridge.h.

Referenced by ast_bridge_channel_peer(), ast_bridge_peer_nolock(), ast_bridge_snapshot_create(), get_transfer_party_non_transferer_bridge(), and softmix_mixing_loop().

unsigned int num_lonely

Number of channels with AST_BRIDGE_CHANNEL_FLAG_LONELY in the bridge.

Definition at line 377 of file bridge.h.

void* personality

"Personality" currently exhibited by bridge subclass

Definition at line 353 of file bridge.h.

Referenced by ast_bridge_basic_set_flags(), and bridge_basic_change_personality().

unsigned int reconfigured

TRUE if the bridge was reconfigured.

Definition at line 388 of file bridge.h.

struct ast_bridge_softmix softmix
void* tech_pvt
struct ast_bridge_technology* technology

Bridge technology that is handling the bridge

Definition at line 355 of file bridge.h.

Referenced by ast_bridge_peer_nolock(), and ast_bridge_snapshot_create().

struct stasis_topic* topic

Per-bridge topics

Definition at line 359 of file bridge.h.

Referenced by ast_bridge_topic().

const ast_string_field uniqueid
const struct ast_bridge_methods* v_table

Bridge virtual method table.

Definition at line 351 of file bridge.h.

Referenced by ast_bridge_join(), ast_bridge_notify_masquerade(), ast_bridge_snapshot_create(), and feature_attended_transfer().


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