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

A snapshot of an endpoint's state. More...

#include <stasis_endpoints.h>

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
char * channel_ids []
 
const ast_string_field id
 
int max_channels
 
int num_channels
 
const ast_string_field resource
 
enum ast_endpoint_state state
 
const ast_string_field tech
 

Detailed Description

A snapshot of an endpoint's state.

The id for an endpoint is tech/resource. The duplication is needed because there are several cases where any of the three values would be needed, and constantly splitting or reassembling would be a pain.

Since
12

Definition at line 48 of file stasis_endpoints.h.

Field Documentation

char* channel_ids[]

Channel ids

Definition at line 65 of file stasis_endpoints.h.

Referenced by ast_endpoint_snapshot_create(), and ast_endpoint_snapshot_to_json().

const ast_string_field id

unique id for this endpoint.

Definition at line 53 of file stasis_endpoints.h.

Referenced by endpoint_snapshot_get_id().

int max_channels

Maximum number of channels this endpoint supports. If the upper limit for an endpoint is unknown, this field is set to -1.

Definition at line 61 of file stasis_endpoints.h.

Referenced by ast_endpoint_snapshot_create(), and ast_endpoint_snapshot_to_json().

int num_channels

Number of channels currently active on this endpoint

Definition at line 63 of file stasis_endpoints.h.

Referenced by ast_endpoint_snapshot_create(), and ast_endpoint_snapshot_to_json().

const ast_string_field resource

Tech-unique name

Definition at line 53 of file stasis_endpoints.h.

Referenced by ast_endpoint_snapshot_to_json(), and cache_update().

Endpoint state

Definition at line 56 of file stasis_endpoints.h.

Referenced by ast_endpoint_snapshot_create(), and ast_endpoint_snapshot_to_json().

const ast_string_field tech

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