From 32cb19dea73d264dd7ef3b9cce723ac7d570fc4e Mon Sep 17 00:00:00 2001 From: karl anderson Date: Wed, 29 Oct 2014 10:06:55 -0700 Subject: [PATCH] the regex is case-insensitive and erronously matching the ma"x-"forward header --- kamailio/default.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kamailio/default.cfg b/kamailio/default.cfg index 76427a5..7a2edc1 100644 --- a/kamailio/default.cfg +++ b/kamailio/default.cfg @@ -423,7 +423,7 @@ route[INTERNAL_TO_EXTERNAL_RELAY] } #!endif - remove_hf_re("X-.*"); + remove_hf_re("^X-.*"); t_on_reply("EXTERNAL_REPLY");