|
|
|
@ -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; |
|
|
|
} |
|
|
|
|