mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merge "res_pjsip: Patch for res_pjsip_* module load/reload crash" into 16
This commit is contained in:
@@ -580,9 +580,13 @@ void ast_sip_session_unregister_sdp_handler(struct ast_sip_session_sdp_handler *
|
||||
* set channel data based on headers in an incoming message. Similarly,
|
||||
* a module could reject an incoming request if desired.
|
||||
*
|
||||
* \param module Referenced module(NULL safe)
|
||||
* \param supplement The supplement to register
|
||||
*/
|
||||
void ast_sip_session_register_supplement(struct ast_sip_session_supplement *supplement);
|
||||
void ast_sip_session_register_supplement_with_module(struct ast_module *module, struct ast_sip_session_supplement *supplement);
|
||||
|
||||
#define ast_sip_session_register_supplement(supplement) \
|
||||
ast_sip_session_register_supplement_with_module(AST_MODULE_SELF, supplement)
|
||||
|
||||
/*!
|
||||
* \brief Unregister a an supplement to SIP session processing
|
||||
@@ -598,6 +602,13 @@ void ast_sip_session_unregister_supplement(struct ast_sip_session_supplement *su
|
||||
*/
|
||||
int ast_sip_session_add_supplements(struct ast_sip_session *session);
|
||||
|
||||
/*!
|
||||
* \brief Remove supplements from a SIP session
|
||||
*
|
||||
* \param session The session to remove
|
||||
*/
|
||||
void ast_sip_session_remove_supplements(struct ast_sip_session *session);
|
||||
|
||||
/*!
|
||||
* \brief Alternative for ast_datastore_alloc()
|
||||
*
|
||||
|
Reference in New Issue
Block a user