Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
exten_state_subscription Struct Reference

A subscription for extension state. More...

Collaboration diagram for exten_state_subscription:
Collaboration graph
[legend]

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_taskprocessorserializer
 
struct ast_sip_subscriptionsip_sub
 
char * user_agent
 

Detailed Description

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.

Field Documentation

◆ context

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(), and subscription_established().

◆ exten

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(), state_changed(), subscription_established(), and to_ami().

◆ id

int id

◆ last_exten_state

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 exten_state_subscription_alloc(), and to_ami().

◆ last_presence_state

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 exten_state_subscription_alloc().

◆ serializer

The serializer to use for notifications

Definition at line 75 of file res_pjsip_exten_state.c.

Referenced by exten_state_subscription_alloc().

◆ sip_sub

struct ast_sip_subscription* sip_sub

◆ user_agent

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(), and get_user_agent().


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