Browse Source

defaults for nat ping timeout and timer interval

update-rsyslog-config
lazedo 7 years ago
parent
commit
42a1345022
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      kamailio/registrar-role.cfg

+ 3
- 2
kamailio/registrar-role.cfg View File

@ -2,7 +2,7 @@
## NEXT 2 SHOULD GO TOGETHER ## NEXT 2 SHOULD GO TOGETHER
## REGISTRAR_NAT_PING_TIMEOUT should be (REGISTRAR_NAT_PING_INTERVAL + 10) or 0 to disable ## 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_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_NAT_ONLY 1
#!trydef REGISTRAR_NAT_PING_WORKERS 5 #!trydef REGISTRAR_NAT_PING_WORKERS 5
@ -57,7 +57,7 @@ modparam("usrloc", "db_mode", 1)
modparam("usrloc", "handle_lost_tcp", 1) modparam("usrloc", "handle_lost_tcp", 1)
modparam("usrloc", "xavp_contact", "ulattrs") modparam("usrloc", "xavp_contact", "ulattrs")
modparam("usrloc", "db_check_update", 1) modparam("usrloc", "db_check_update", 1)
modparam("usrloc", "timer_interval", 30)
modparam("usrloc", "timer_interval", 5)
modparam("usrloc", "timer_procs", 1) modparam("usrloc", "timer_procs", 1)
modparam("usrloc", "db_timer_clean", 1) modparam("usrloc", "db_timer_clean", 1)
modparam("usrloc", "fetch_rows", 400) modparam("usrloc", "fetch_rows", 400)
@ -279,6 +279,7 @@ route[SAVE_LOCATION]
$var(save_result) = save("location", "0x04"); $var(save_result) = save("location", "0x04");
if($var(save_result) < 0) { 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; exit;
} else { } else {
if($var(save_result) == 1) { if($var(save_result) == 1) {


Loading…
Cancel
Save