From 268d77876847c431b4968fa3e520ca687dcd47f1 Mon Sep 17 00:00:00 2001 From: George Yang <g.yang@genexis.eu> Date: Mon, 27 Jan 2025 16:40:58 +0100 Subject: [PATCH] Re-init the SIP resolver when reloading module res_pjsip, REF #16158 The available transports were not updated, which caused error when resolving for new enabled transport. --- res/res_pjsip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/res/res_pjsip.c b/res/res_pjsip.c index 673bc01ab7..251cfac2bd 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -3051,6 +3051,7 @@ static int reload_configuration_task(void *obj) { ast_res_pjsip_reload_configuration(); ast_res_pjsip_init_options_handling(1); + ast_sip_initialize_resolver(); ast_sip_initialize_dns(); return 0; } -- GitLab