Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
stasis_app_control Struct Reference
Collaboration diagram for stasis_app_control:
Collaboration graph
[legend]

Data Fields

struct app_control_rules add_rules
 
struct stasis_appapp
 
struct ast_bridgebridge
 
struct ast_bridge_featuresbridge_features
 
struct ast_channelchannel
 
struct ao2_containercommand_queue
 
char * next_app
 
struct ast_pbxpbx
 
struct app_control_rules remove_rules
 
struct ast_silence_generatorsilgen
 
ast_cond_t wait_cond
 

Detailed Description

Definition at line 51 of file control.c.

Field Documentation

◆ add_rules

struct app_control_rules add_rules

A list of rules to check before adding a channel to a bridge.

Definition at line 76 of file control.c.

Referenced by app_control_can_add_channel_to_bridge(), control_create(), control_dtor(), stasis_app_control_register_add_rule(), and stasis_app_control_unregister_add_rule().

◆ app

struct stasis_app* app

The app for which this control is currently controlling. This can change through the use of the /channels/{channelId}/move command.

Definition at line 90 of file control.c.

Referenced by control_app(), control_create(), control_dtor(), control_set_app(), control_swap_channel_in_bridge(), and internal_bridge_after_cb().

◆ bridge

struct ast_bridge* bridge

When a channel is in a bridge, the bridge that it is in.

Definition at line 64 of file control.c.

Referenced by add_to_dial_bridge(), app_control_remove_channel_from_bridge(), control_swap_channel_in_bridge(), dial_bridge_after_cb(), internal_bridge_after_cb(), and stasis_app_get_bridge().

◆ bridge_features

struct ast_bridge_features* bridge_features

Bridge features which should be applied to the channel when it enters the next bridge. These only apply to the next bridge and will be emptied thereafter.

Definition at line 68 of file control.c.

Referenced by control_dtor(), control_swap_channel_in_bridge(), stasis_app_control_absorb_dtmf_in_bridge(), stasis_app_control_bridge_features_init(), stasis_app_control_inhibit_colp_in_bridge(), and stasis_app_control_mute_in_bridge().

◆ channel

◆ command_queue

struct ao2_container* command_queue

◆ next_app

char* next_app

The name of the next Stasis application to move to.

Definition at line 94 of file control.c.

Referenced by app_control_move(), control_create(), control_move_cleanup(), and control_next_app().

◆ pbx

struct ast_pbx* pbx

Holding place for channel's PBX while imparted to a bridge.

Definition at line 72 of file control.c.

Referenced by control_swap_channel_in_bridge(), and internal_bridge_after_cb().

◆ remove_rules

struct app_control_rules remove_rules

A list of rules to check before removing a channel from a bridge.

Definition at line 80 of file control.c.

Referenced by app_control_can_remove_channel_from_bridge(), control_create(), control_dtor(), stasis_app_control_register_remove_rule(), and stasis_app_control_unregister_remove_rule().

◆ silgen

struct ast_silence_generator* silgen

Silence generator, when silence is being generated.

Definition at line 84 of file control.c.

Referenced by app_control_silence_start(), and control_silence_stop_now().

◆ wait_cond

ast_cond_t wait_cond

Definition at line 52 of file control.c.

Referenced by control_create(), control_dtor(), control_wait(), and exec_command_on_condition().


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