From 42a13450223b626b29b764a08ae84cb4c1b42e97 Mon Sep 17 00:00:00 2001 From: lazedo Date: Mon, 11 Mar 2019 10:29:54 +0000 Subject: [PATCH] defaults for nat ping timeout and timer interval --- kamailio/registrar-role.cfg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kamailio/registrar-role.cfg b/kamailio/registrar-role.cfg index 453077f..a8b9984 100644 --- a/kamailio/registrar-role.cfg +++ b/kamailio/registrar-role.cfg @@ -2,7 +2,7 @@ ## NEXT 2 SHOULD GO TOGETHER ## REGISTRAR_NAT_PING_TIMEOUT should be (REGISTRAR_NAT_PING_INTERVAL + 10) or 0 to disable #!trydef REGISTRAR_NAT_PING_INTERVAL 30 -#!trydef REGISTRAR_NAT_PING_TIMEOUT 40 +#!trydef REGISTRAR_NAT_PING_TIMEOUT 100 #!trydef REGISTRAR_NAT_PING_NAT_ONLY 1 #!trydef REGISTRAR_NAT_PING_WORKERS 5 @@ -57,7 +57,7 @@ modparam("usrloc", "db_mode", 1) modparam("usrloc", "handle_lost_tcp", 1) modparam("usrloc", "xavp_contact", "ulattrs") modparam("usrloc", "db_check_update", 1) -modparam("usrloc", "timer_interval", 30) +modparam("usrloc", "timer_interval", 5) modparam("usrloc", "timer_procs", 1) modparam("usrloc", "db_timer_clean", 1) modparam("usrloc", "fetch_rows", 400) @@ -279,6 +279,7 @@ route[SAVE_LOCATION] $var(save_result) = save("location", "0x04"); if($var(save_result) < 0) { + xlog("L_WARNING", "$ci|end|not expected result $var(save_result) when saving $Au registration from IP $si:$sp\n"); exit; } else { if($var(save_result) == 1) {