Asterisk - The Open Source Telephony Project
21.4.1
|
A tree of SIP subscriptions. More...
Data Fields | |
pjsip_dialog * | dlg |
struct ast_sip_endpoint * | endpoint |
pjsip_evsub * | evsub |
struct ast_sip_sched_task * | expiration_task |
unsigned int | generate_initial_notify |
int | is_list |
struct { | |
struct sip_subscription_tree * next | |
} | next |
unsigned int | notification_batch_interval |
int | notify_sched_id |
struct subscription_persistence * | persistence |
enum ast_sip_subscription_role | role |
struct ast_sip_subscription * | root |
unsigned int | send_scheduled_notify |
struct ast_taskprocessor * | serializer |
enum sip_subscription_tree_state | state |
char | transport_key [IP6ADDR_COLON_PORT_BUFLEN] |
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 442 of file res_pjsip_pubsub.c.
pjsip_dialog* dlg |
The underlying PJSIP dialog
Definition at line 454 of file res_pjsip_pubsub.c.
struct ast_sip_endpoint* endpoint |
The endpoint with which the subscription is communicating
Definition at line 444 of file res_pjsip_pubsub.c.
pjsip_evsub* evsub |
The underlying PJSIP event subscription structure
Definition at line 452 of file res_pjsip_pubsub.c.
struct ast_sip_sched_task* expiration_task |
On asterisk restart, this is the task data used to restart the expiration timer if pjproject isn't capable of restarting the timer.
Definition at line 473 of file res_pjsip_pubsub.c.
unsigned int generate_initial_notify |
Indicator if initial notify should be generated. Used to refresh modified RLS.
Definition at line 481 of file res_pjsip_pubsub.c.
int is_list |
Is this subscription to a list?
Definition at line 464 of file res_pjsip_pubsub.c.
struct { ... } next |
Next item in the list
unsigned int notification_batch_interval |
Interval to use for batching notifications
Definition at line 456 of file res_pjsip_pubsub.c.
int notify_sched_id |
Scheduler ID for batched notification
Definition at line 458 of file res_pjsip_pubsub.c.
struct subscription_persistence* persistence |
Persistence information
Definition at line 450 of file res_pjsip_pubsub.c.
enum ast_sip_subscription_role role |
The role for this subscription
Definition at line 448 of file res_pjsip_pubsub.c.
struct ast_sip_subscription* root |
The root of the subscription tree
Definition at line 462 of file res_pjsip_pubsub.c.
unsigned int send_scheduled_notify |
Indicator if scheduled batched notification should be sent
Definition at line 460 of file res_pjsip_pubsub.c.
struct ast_taskprocessor* serializer |
Serializer on which to place operations for this subscription
Definition at line 446 of file res_pjsip_pubsub.c.
enum sip_subscription_tree_state state |
Subscription tree state
Definition at line 468 of file res_pjsip_pubsub.c.
char transport_key[IP6ADDR_COLON_PORT_BUFLEN] |
The transport the subscription was received on. Only used for reliable transports.
Definition at line 477 of file res_pjsip_pubsub.c.