Asterisk - The Open Source Telephony Project
18.5.0
|
A subscription for extension state. More...
Data Fields | |
char | context [AST_MAX_CONTEXT] |
char | exten [AST_MAX_EXTENSION] |
int | id |
enum ast_extension_states | last_exten_state |
enum ast_presence_state | last_presence_state |
struct ast_taskprocessor * | serializer |
struct ast_sip_subscription * | sip_sub |
char * | user_agent |
A subscription for extension state.
This structure acts as the owner for the underlying SIP subscription. It also keeps a pointer to an associated "provider" so when a state changes a notify data creator is quickly accessible.
Definition at line 69 of file res_pjsip_exten_state.c.
char context[AST_MAX_CONTEXT] |
Context in which subscription looks for updates
Definition at line 77 of file res_pjsip_exten_state.c.
Referenced by exten_state_data_alloc(), new_subscribe(), publisher_start(), and subscription_established().
char exten[AST_MAX_EXTENSION] |
Extension within the context to receive updates from
Definition at line 79 of file res_pjsip_exten_state.c.
Referenced by alloc_notify_task_data(), exten_state_data_alloc(), publisher_start(), subscription_established(), and to_ami().
int id |
Watcher id when registering for extension state changes
Definition at line 71 of file res_pjsip_exten_state.c.
Referenced by Model::load(), subscription_established(), and subscription_shutdown().
enum ast_extension_states last_exten_state |
The last known extension state
Definition at line 83 of file res_pjsip_exten_state.c.
Referenced by alloc_notify_task_data(), exten_state_subscription_alloc(), and to_ami().
enum ast_presence_state last_presence_state |
The last known presence state
Definition at line 85 of file res_pjsip_exten_state.c.
Referenced by alloc_notify_task_data(), and exten_state_subscription_alloc().
struct ast_taskprocessor* serializer |
The serializer to use for notifications
Definition at line 75 of file res_pjsip_exten_state.c.
Referenced by exten_state_subscription_alloc(), exten_state_subscription_destructor(), and state_changed().
struct ast_sip_subscription* sip_sub |
The SIP subscription
Definition at line 73 of file res_pjsip_exten_state.c.
Referenced by add_datastore(), alloc_notify_task_data(), exten_state_data_alloc(), exten_state_subscription_alloc(), exten_state_subscription_destructor(), and subscription_shutdown().
char* user_agent |
The subscription's user agent
Definition at line 81 of file res_pjsip_exten_state.c.
Referenced by alloc_notify_task_data(), exten_state_data_alloc(), exten_state_subscription_alloc(), exten_state_subscription_destructor(), and get_user_agent().