diff options
author | Corey Farrell <git@cfware.com> | 2017-10-04 11:46:44 -0400 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2017-10-04 12:00:31 -0400 |
commit | 7d04544986980aed9eca9e13d6b849ff3b372f35 (patch) | |
tree | 1650a39505f7760712b1fe7392827f0c80bd84d0 /include/asterisk/res_pjsip_session.h | |
parent | 7156477ba023f5a5a5b4a64c50b407eb220200de (diff) |
res_pjsip: Fix issues that prevented shutdown of modules.
res_pjsip and res_pjsip_session had circular references, preventing both
modules from shutting down.
* Move session supplement registration to res_pjsip.
* Use create internal functions for use by pjsip_message_filter.c.
ASTERISK-27306
Change-Id: Ifbd5c19ec848010111afeab2436f9699da06ba6b
Diffstat (limited to 'include/asterisk/res_pjsip_session.h')
-rw-r--r-- | include/asterisk/res_pjsip_session.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asterisk/res_pjsip_session.h b/include/asterisk/res_pjsip_session.h index fcb14b79d..70f94682e 100644 --- a/include/asterisk/res_pjsip_session.h +++ b/include/asterisk/res_pjsip_session.h @@ -588,6 +588,13 @@ int ast_sip_session_register_supplement(struct ast_sip_session_supplement *suppl void ast_sip_session_unregister_supplement(struct ast_sip_session_supplement *supplement); /*! + * \brief Add supplements to a SIP session + * + * \param session The session to initialize + */ +int ast_sip_session_add_supplements(struct ast_sip_session *session); + +/*! * \brief Alternative for ast_datastore_alloc() * * There are two major differences between this and ast_datastore_alloc() |