Skip to content
Snippets Groups Projects
Commit 449ee66a authored by Corey Farrell's avatar Corey Farrell
Browse files

res_pjsip_refer: Prevent unload except during shutdown.

Prevent unload of the module as certain pjsip initialization functions
cannot be reversed.

ASTERISK-24483

Change-Id: I94597ec8b8491f5af9c57bf66dbc3b078fe2d49d
parent 95b45d1c
No related branches found
No related tags found
No related merge requests found
......@@ -1211,6 +1211,8 @@ static int load_module(void)
ast_sip_register_service(&refer_progress_module);
ast_sip_session_register_supplement(&refer_supplement);
ast_module_shutdown_ref(ast_module_info->self);
return AST_MODULE_LOAD_SUCCESS;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment