Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
ast_endpoint Struct Reference
Collaboration diagram for ast_endpoint:
Collaboration graph
[legend]

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
struct ao2_containerchannel_ids
 
const ast_string_field id
 
int max_channels
 Max channels for this endpoint. -1 means unlimited or unknown. More...
 
const ast_string_field resource
 
struct stasis_message_routerrouter
 
enum ast_endpoint_state state
 
const ast_string_field tech
 
struct stasis_forwardtech_forward
 
struct stasis_cp_singletopics
 

Detailed Description

Definition at line 54 of file main/endpoints.c.

Field Documentation

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 59 of file main/endpoints.c.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

< Technology (SIP, IAX2, etc.).

< Name, unique to the tech.

< tech/resource id

Definition at line 59 of file main/endpoints.c.

◆ channel_ids

struct ao2_container* channel_ids

ast_str_container of channels associated with this endpoint

Definition at line 74 of file main/endpoints.c.

Referenced by ast_endpoint_add_channel(), ast_endpoint_snapshot_create(), endpoint_cache_clear(), and endpoint_dtor().

◆ id

const ast_string_field id

◆ max_channels

int max_channels

Max channels for this endpoint. -1 means unlimited or unknown.

Note that this simply documents the limits of an endpoint, and does nothing to try to enforce the limit.

Definition at line 68 of file main/endpoints.c.

Referenced by ast_endpoint_set_max_channels(), and ast_endpoint_snapshot_create().

◆ resource

const ast_string_field resource

◆ router

struct stasis_message_router* router

Router for handling this endpoint's messages

Definition at line 72 of file main/endpoints.c.

Referenced by ast_endpoint_shutdown(), and endpoint_dtor().

◆ state

Endpoint's current state

Definition at line 61 of file main/endpoints.c.

Referenced by ast_endpoint_get_state(), ast_endpoint_set_state(), and ast_endpoint_snapshot_create().

◆ tech

const ast_string_field tech

◆ tech_forward

struct stasis_forward* tech_forward

Forwarding subscription from an endpoint to its tech endpoint

Definition at line 76 of file main/endpoints.c.

Referenced by ast_endpoint_shutdown().

◆ topics

struct stasis_cp_single* topics

Topic for this endpoint's messages

Definition at line 70 of file main/endpoints.c.

Referenced by ast_endpoint_topic(), ast_endpoint_topic_cached(), endpoint_dtor(), and endpoint_publish_snapshot().


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