From 06627de2cf4ff45111195db833c58c8b9686c59d Mon Sep 17 00:00:00 2001 From: Luis Azedo Date: Thu, 30 Oct 2014 14:16:19 +0000 Subject: [PATCH] extra ^X- corrections --- kamailio/default.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kamailio/default.cfg b/kamailio/default.cfg index 95e6b8b..e5de052 100644 --- a/kamailio/default.cfg +++ b/kamailio/default.cfg @@ -471,7 +471,7 @@ route[EXTERNAL_TO_INTERNAL_RELAY] } #!endif - remove_hf_re("X-.*"); + remove_hf_re(“^X-.*"); append_hf("X-AUTH-IP: $si\r\n"); t_on_reply("INTERNAL_REPLY"); @@ -554,7 +554,7 @@ failure_route[INTERNAL_FAULT] $sht(redirects=>$avp(AVP_REDIRECT_KEY)) = $null; } - remove_hf_re("X-.*"); + remove_hf_re(“^X-.*"); # change 6xx to 4xx if (t_check_status("6[0-9][0-9]") && !t_check_status("600|603|604|606")) {