Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
resource_tree Struct Reference

A resource tree. More...

Data Fields

unsigned int notification_batch_interval
 
struct tree_noderoot
 

Detailed Description

A resource tree.

When an inbound SUBSCRIBE arrives, the resource being subscribed to may be a resource list. If this is the case, the resource list may contain resources that are themselves lists. The structure needed to hold the resources is a tree.

Upon receipt of the SUBSCRIBE, the tree is built by determining if subscriptions to the individual resources in the tree would be successful or not. Any successful subscriptions result in a node in the tree being created. Any unsuccessful subscriptions result in no node being created.

This tree can be seen as a bare-bones analog of the tree of ast_sip_subscriptions that will end up being created to actually carry out the duties of a SIP SUBSCRIBE dialog.

Definition at line 1122 of file res_pjsip_pubsub.c.


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