Asterisk - The Open Source Telephony Project
18.5.0
|
A resource tree. More...
Data Fields | |
unsigned int | notification_batch_interval |
struct tree_node * | root |
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 1095 of file res_pjsip_pubsub.c.
unsigned int notification_batch_interval |
Definition at line 1097 of file res_pjsip_pubsub.c.
Referenced by build_resource_tree(), and create_subscription_tree().
struct tree_node* root |
Definition at line 1096 of file res_pjsip_pubsub.c.
Referenced by build_resource_tree(), create_subscription_tree(), and resource_tree_destroy().