From 261e4b80f4fcebf3bb3544dcef6f779868b668ce 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 75f2c86..44fd457 100644 --- a/kamailio/default.cfg +++ b/kamailio/default.cfg @@ -818,6 +818,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);