[OpenSIPS-Devel] [OpenSIPS/opensips] 6a2e08: usrloc: Add the E_UL_CONTACT_REFRESH event

Liviu Chircu noreply at github.com
Thu Apr 2 10:47:50 EST 2020

  Branch: refs/heads/feature/rfc-8599-sip-pn
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6a2e085ab91bc215e269f10182cf456359b6a2ec
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-04-02 (Thu, 02 Apr 2020)

  Changed paths:
    M lib/reg/ci.c
    M modules/usrloc/dlist.c
    M modules/usrloc/dlist.h
    M modules/usrloc/doc/usrloc_admin.xml
    M modules/usrloc/ucontact.c
    M modules/usrloc/ucontact.h
    M modules/usrloc/udomain.c
    M modules/usrloc/ul_evi.c
    M modules/usrloc/ul_evi.h
    M modules/usrloc/ul_mi.c
    M modules/usrloc/ul_mod.c
    M modules/usrloc/ul_mod.h
    A modules/usrloc/ul_timer.c
    A modules/usrloc/ul_timer.h
    M modules/usrloc/urecord.h

  Log Message:
  usrloc: Add the E_UL_CONTACT_REFRESH event

By enabling 'contact_refresh_timer', the usrloc module will periodically
scan for contacts which are near expiration and raise
E_UL_CONTACT_REFRESH before the binding is about to expire.

Currently, the triggering duration is given by registrar's
'pn_trigger_interval' module parameter (default: 120s before expiry).

More information about the Devel mailing list