summaryrefslogtreecommitdiff
path: root/res/res_pjsip.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_pjsip.c')
-rw-r--r--res/res_pjsip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_pjsip.c b/res/res_pjsip.c
index 2986e1a5c..4d5c5cb83 100644
--- a/res/res_pjsip.c
+++ b/res/res_pjsip.c
@@ -4622,7 +4622,7 @@ static int unload_pjsip(void *data)
*/
if (ast_pjsip_endpoint && serializer_pool[0]) {
ast_res_pjsip_cleanup_options_handling();
- ast_res_pjsip_cleanup_message_ip_updater();
+ ast_res_pjsip_cleanup_message_filter();
ast_sip_destroy_distributor();
ast_res_pjsip_destroy_configuration();
ast_sip_destroy_system();
@@ -4801,7 +4801,7 @@ static int load_module(void)
ast_res_pjsip_init_options_handling(0);
- if (ast_res_pjsip_init_message_ip_updater()) {
+ if (ast_res_pjsip_init_message_filter()) {
ast_log(LOG_ERROR, "Failed to initialize message IP updating. Aborting load\n");
goto error;
}