From ab5c9c69a2a636d6a587592a184a973399a2a052 Mon Sep 17 00:00:00 2001 From: lazedo Date: Fri, 18 Jan 2019 14:09:17 +0000 Subject: [PATCH] fix log message for min-expires in registrar --- kamailio/registrar-role.cfg | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kamailio/registrar-role.cfg b/kamailio/registrar-role.cfg index c5ef230..be5780c 100644 --- a/kamailio/registrar-role.cfg +++ b/kamailio/registrar-role.cfg @@ -408,9 +408,8 @@ route[REGISTRAR_BOUNDS] if($var(expires) != 0) { if($sel(cfg_get.kazoo.registrar_error_min_expires) == 1) { if($var(expires) < REGISTRAR_MIN_EXPIRES) { - $var(expires) = REGISTRAR_MIN_EXPIRES; - xlog("L_WARNING", "$ci|end|expires $var(expires) too brief registering $Au from IP $si:$sp\n"); - append_to_reply("Min-Expires: $var(expires)\r\n"); + xlog("L_WARNING", "$ci|end|expires $var(expires) too brief (configured $def(REGISTRAR_MIN_EXPIRES)) registering $Au from IP $si:$sp\n"); + append_to_reply("Min-Expires: $def(REGISTRAR_MIN_EXPIRES)\r\n"); send_reply("423", "Interval Too Brief"); exit; }