sip_subscription_tree Struct Reference

A tree of SIP subscriptions. More...

Collaboration diagram for sip_subscription_tree:

Collaboration graph

Data Fields

pjsip_dialog * dlg
struct ast_sip_endpointendpoint
pjsip_evsub * evsub
int is_list
struct {
   struct sip_subscription_tree *   next
unsigned int notification_batch_interval
int notify_sched_id
struct subscription_persistencepersistence
enum ast_sip_subscription_role role
struct ast_sip_subscriptionroot
unsigned int send_scheduled_notify
struct ast_taskprocessorserializer

Detailed Description

A tree of SIP subscriptions.

Because of the ability to subscribe to resource lists, a SIP subscription can result in a tree of subscriptions being created. This structure represents the information relevant to the subscription as a whole, to include the underlying PJSIP structure for the subscription.

Definition at line 386 of file res_pjsip_pubsub.c.

Field Documentation

pjsip_dialog* dlg

struct ast_sip_endpoint* endpoint [read]

pjsip_evsub* evsub

int is_list

Is this subscription to a list?

Definition at line 408 of file res_pjsip_pubsub.c.

Referenced by create_subscription_tree(), pubsub_on_rx_refresh(), send_notify(), and sip_subscription_accept().

struct { ... } next

Next item in the list

struct sip_subscription_tree* next [read]

Definition at line 410 of file res_pjsip_pubsub.c.

Interval to use for batching notifications

Definition at line 400 of file res_pjsip_pubsub.c.

Referenced by apply_list_configuration(), ast_sip_subscription_notify(), create_subscription_tree(), and schedule_notification().

Scheduler ID for batched notification

Definition at line 402 of file res_pjsip_pubsub.c.

Referenced by allocate_subscription_tree(), schedule_notification(), and serialized_send_notify().

struct ast_sip_subscription* root [read]

unsigned int send_scheduled_notify

Indicator if scheduled batched notification should be sent

Definition at line 404 of file res_pjsip_pubsub.c.

Referenced by schedule_notification(), send_notify(), and serialized_send_notify().

struct ast_taskprocessor* serializer [read]

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

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