[OpenSIPS-Devel] [OpenSIPS/opensips] 2aa0c6: dialog: avoid creating dialog multiple times if de...

Răzvan Crainea noreply at github.com
Fri Sep 5 13:17:50 UTC 2025


  Branch: refs/heads/3.6
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2aa0c6ebaad3e947ec75fe5ee9d28e92f599c3ae
      https://github.com/OpenSIPS/opensips/commit/2aa0c6ebaad3e947ec75fe5ee9d28e92f599c3ae
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: avoid creating dialog multiple times if deleted

When an update command is received, the dialog is searched: before this
commit, if the dialog was not found, `dlg` was returned as `null`, and a
new dialog, **with the same coordinates** was created.
This commit makes sure that the dialog is no longer created if already
in deleted state, thus avoiding creating the dialog multiple times with
the same coordinates.



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



More information about the Devel mailing list