Asterisk - The Open Source Telephony Project
21.4.1
|
A subscription for MWI. More...
Data Fields | |
char * | aors |
char | id [1] |
unsigned int | is_solicited |
struct ast_sip_subscription * | sip_sub |
struct ao2_container * | stasis_subs |
unsigned int | terminate |
A subscription for MWI.
This subscription is the basis for MWI for an endpoint. Each endpoint that uses MWI will have a corresponding mwi_subscription.
This structure acts as the owner for the underlying SIP subscription. When the mwi_subscription is destroyed, the SIP subscription dies, too. The mwi_subscription's lifetime is governed by its underlying stasis subscriptions. When all stasis subscriptions are destroyed, the mwi_subscription is destroyed as well.
Definition at line 116 of file res_pjsip_mwi.c.
char* aors |
AORs we should react to for unsolicited MWI NOTIFY
Definition at line 125 of file res_pjsip_mwi.c.
char id[1] |
Identifier for the subscription. The identifier is the same as the corresponding endpoint's stasis ID. Used as a hash key
Definition at line 134 of file res_pjsip_mwi.c.
unsigned int is_solicited |
Is the MWI solicited (i.e. Initiated with an external SUBSCRIBE) ?
Definition at line 127 of file res_pjsip_mwi.c.
struct ast_sip_subscription* sip_sub |
The SIP subscription. Unsolicited MWI does not use this
Definition at line 123 of file res_pjsip_mwi.c.
struct ao2_container* stasis_subs |
Container of mwi_stasis_subscription structures. A single MWI subscription may be for multiple mailboxes, thus requiring multiple stasis subscriptions
Definition at line 121 of file res_pjsip_mwi.c.
unsigned int terminate |
True if this subscription is to be terminated
Definition at line 129 of file res_pjsip_mwi.c.