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_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 51 of file res_pjsip_exten_state.c.


Field Documentation

char context[AST_MAX_CONTEXT]

Context in which subscription looks for updates

Definition at line 57 of file res_pjsip_exten_state.c.

Referenced by exten_state_data_alloc(), and subscription_established().

char exten[AST_MAX_EXTENSION]

Extension within the context to receive updates from

Definition at line 59 of file res_pjsip_exten_state.c.

Referenced by alloc_notify_task_data(), exten_state_data_alloc(), subscription_established(), and to_ami().

int id

Watcher id when registering for extension state changes

Definition at line 53 of file res_pjsip_exten_state.c.

Referenced by subscription_established(), and subscription_shutdown().

The last known extension state

Definition at line 63 of file res_pjsip_exten_state.c.

Referenced by alloc_notify_task_data(), exten_state_subscription_alloc(), and to_ami().

The last known presence state

Definition at line 65 of file res_pjsip_exten_state.c.

Referenced by alloc_notify_task_data(), and exten_state_subscription_alloc().

struct ast_sip_subscription* sip_sub [read]

char* user_agent


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

Generated on Thu Apr 16 06:36:24 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6