[OpenSIPS-Devel] [OpenSIPS/opensips] e6412b: mid_registrar: Fix poorly handled lifetime reductions

Liviu Chircu noreply at github.com
Fri Mar 22 03:41:51 EDT 2019


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e6412b14981d5272cf5253da077afddbae840ed1
      https://github.com/OpenSIPS/opensips/commit/e6412b14981d5272cf5253da077afddbae840ed1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-03-22 (Fri, 22 Mar 2019)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix poorly handled lifetime reductions

If the downstream registrar reduces the lifetime of the contacts we
advertise to it, we (the mid-registrar) should properly adhere to the
change, and not utterly ignore it.

This bug was only present in modes 0 and 1.

Thanks to Jeff Pyle for the report!

(cherry picked from commit e5fd28efa238b5d25b5ebbce81d0a6421b04f1b8)





More information about the Devel mailing list