[OpenSIPS-Devel] [OpenSIPS/opensips] 1a50d6: usrloc: Avoid firing DELETE and EXPIRE for same ct

Liviu Chircu noreply at github.com
Tue Apr 9 18:13:51 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1a50d66475310b8d1c73fd383b2a64733f24ea2f
      https://github.com/OpenSIPS/opensips/commit/1a50d66475310b8d1c73fd383b2a64733f24ea2f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2024-04-09 (Tue, 09 Apr 2024)

  Changed paths:
    M modules/usrloc/ucontact.h
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  usrloc: Avoid firing DELETE and EXPIRE for same ct

This patch fixes a usrloc callbacks API issue where both the
UL_CONTACT_DELETE and UL_CONTACT_EXPIRE events would often be fired for
the same contact, when the "write-back" SQL mode is in use.

The following modules should notice improved behavior:
    mid_registrar, pua_bla, pua_usrloc, snmpstats



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list