From 0a4bf7c9baeb18893f19f000817074b150afcc37 Mon Sep 17 00:00:00 2001 From: lazedo Date: Thu, 5 Dec 2019 13:52:41 +0000 Subject: [PATCH] manage branch in redirect * adds x-headers if the call is redirected to another media server --- kamailio/default.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/kamailio/default.cfg b/kamailio/default.cfg index edb4aa7..93dd861 100644 --- a/kamailio/default.cfg +++ b/kamailio/default.cfg @@ -854,6 +854,7 @@ route[INTERNAL_REDIRECT] xlog("L_INFO", "$ci|log|found redirect for $var(redirect) : $var(prefered_route)\n"); $du = $var(prefered_route); $avp(AVP_REDIRECT_KEY) = $var(redirect); + t_on_branch("MANAGE_BRANCH"); t_on_reply("INTERNAL_REPLY"); t_on_failure("INTERNAL_FAULT"); t_set_fr(0, 1000);