diff options
author | Corey Farrell <git@cfware.com> | 2017-10-04 11:46:44 -0400 |
---|---|---|
committer | dtryba <daniel@tryba.nl> | 2017-10-05 07:42:29 -0500 |
commit | 9293d85f7030707b914cc40f4ef903d3332b0655 (patch) | |
tree | eb0b4df21feb26583ac250121b28e48886bef5c3 /include/asterisk/res_pjsip_session.h | |
parent | 88e8c22b028ebd18fdf870f52e1e2e673d7b5180 (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() |