Merge "res_pjsip_exten_state: Fix race condition between sending NOTIFY and termination" into 13

This commit is contained in:
Joshua Colp
2015-05-07 15:10:23 -05:00
committed by Gerrit Code Review
4 changed files with 42 additions and 7 deletions

View File

@@ -405,6 +405,16 @@ void ast_sip_subscription_get_remote_uri(struct ast_sip_subscription *sub, char
*/
const char *ast_sip_subscription_get_resource_name(struct ast_sip_subscription *sub);
/*!
* \brief Get whether the subscription has been terminated or not.
*
* \param sub The subscription.
* \retval 0 not terminated.
* \retval 1 terminated.
* \since 13.4.0
*/
int ast_sip_subscription_is_terminated(const struct ast_sip_subscription *sub);
/*!
* \brief Get a header value for a subscription.
*