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

Structure representing a snapshot of channel state. More...

#include <stasis_channels.h>

Data Fields

int amaflags
 
struct varsheadari_vars
 
struct ast_channel_snapshot_basebase
 
struct ast_channel_snapshot_bridgebridge
 
struct ast_channel_snapshot_callercaller
 
struct ast_channel_snapshot_connectedconnected
 
struct ast_channel_snapshot_dialplandialplan
 
struct ast_flags flags
 
struct ast_channel_snapshot_hanguphangup
 
struct varsheadmanager_vars
 
struct ast_channel_snapshot_peerpeer
 
struct ast_flags softhangup_flags
 
enum ast_channel_state state
 

Detailed Description

Structure representing a snapshot of channel state.

Since
12 While not enforced programmatically, this object is shared across multiple threads, and should be treated as an immutable object.

It is guaranteed that the segments of this snapshot will always exist when accessing the snapshot.

Definition at line 146 of file stasis_channels.h.

Field Documentation

int amaflags
struct varshead* ari_vars

Variables to be appended to ARI events

Definition at line 159 of file stasis_channels.h.

Referenced by ast_channel_snapshot_create(), and ast_channel_snapshot_to_json().

Information about the bridge

Definition at line 151 of file stasis_channels.h.

Referenced by action_coreshowchannels(), ast_channel_snapshot_create(), and coreshowchannelmap_add_connected_channels().

struct ast_channel_snapshot_connected* connected
struct ast_flags flags
struct varshead* manager_vars

Variables to be appended to manager events

Definition at line 158 of file stasis_channels.h.

Referenced by ast_channel_snapshot_create(), and ast_manager_build_channel_state_string_prefix().

struct ast_flags softhangup_flags

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