[OpenSIPS-Devel] [OpenSIPS/opensips] 42b27e: [mid-]registrar: Improve the auto-fixing of min/de...

Liviu Chircu noreply at github.com
Tue Feb 22 16:37:09 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 42b27e9e936fe241d5c4b0f18cb9ad1d7fbc058a
      https://github.com/OpenSIPS/opensips/commit/42b27e9e936fe241d5c4b0f18cb9ad1d7fbc058a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2022-02-22 (Tue, 22 Feb 2022)

  Changed paths:
    M lib/reg/common.c

  Log Message:
  -----------
  [mid-]registrar: Improve the auto-fixing of min/default/max expires

Instead of auto-correcting the min_expires / max_expires in order to
preserve the following inequality:
    min_expires <= default_expires <= max_expires

... we adjust the "default_expires" instead, only when needed.  Doing
so should lead to fewer behavioral surprises, in case the ERROR logs on
startup are missed by the script developer(s).





More information about the Devel mailing list