From 65af0b5c8ce237744c77a0105676448c15fd629f Mon Sep 17 00:00:00 2001 From: Bogdan-Andrei Iancu Date: Thu, 4 Apr 2019 09:34:34 +0300 Subject: [PATCH] Fix missing script "fixing" in processes (after reload) --- cfg_reload.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cfg_reload.c b/cfg_reload.c index 820817438aa..af405dcfeeb 100644 --- a/cfg_reload.c +++ b/cfg_reload.c @@ -237,6 +237,11 @@ static void routes_reload_per_proc(int sender, void *param) fclose(cfg); cfg_parse_only_routes = 0; + if (fix_rls()<0) { + LM_ERR("fixing routes failed, abording\n"); + goto error; + } + sroutes = sr_bk; /* keep the parsed routes, waiting for the confirmation to switch */