Asterisk - The Open Source Telephony Project
21.4.1
|
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 |
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.
Definition at line 48 of file stasis_endpoints.h.
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().
enum ast_endpoint_state state |
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 |
Channel technology
Definition at line 53 of file stasis_endpoints.h.
Referenced by ast_ari_endpoints_list_by_tech(), ast_ari_endpoints_refer_to_endpoint(), ast_ari_endpoints_send_message_to_endpoint(), and ast_endpoint_snapshot_to_json().