From e4b932558302d7e8f5e02006997219bd71650fe8 Mon Sep 17 00:00:00 2001 From: lazedo Date: Thu, 17 Jan 2019 17:48:34 +0000 Subject: [PATCH] restrict ack's that need tracing credits to sergey-safarov for noticing --- kamailio/default.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kamailio/default.cfg b/kamailio/default.cfg index 3a2b17d..41498c7 100644 --- a/kamailio/default.cfg +++ b/kamailio/default.cfg @@ -887,7 +887,7 @@ onsend_route { } #!ifdef SIP_TRACE_ROLE - if (is_method("ACK")) { + if (is_method("ACK") && isflagset(FLAG_SIP_TRACE)) { sip_trace(); } #!endif