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

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


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 22b5a6b4158a92441aee33707f4b0ca8977a5a51
      https://github.com/OpenSIPS/opensips/commit/22b5a6b4158a92441aee33707f4b0ca8977a5a51
  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