mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -541,6 +541,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()
|
||||
*
|
||||
|
Reference in New Issue
Block a user