[OpenSIPS-Devel] [OpenSIPS/opensips] 82475b: [dialog] added support for delayed dialog deletion

Bogdan Andrei IANCU noreply at github.com
Wed Oct 26 12:42:00 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 82475b9864e9d9808e6052f7f4b672ac600dcf23
      https://github.com/OpenSIPS/opensips/commit/82475b9864e9d9808e6052f7f4b672ac600dcf23
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2022-10-26 (Wed, 26 Oct 2022)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_handlers.h
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_hash.h
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_timer.c
    M modules/dialog/dlg_timer.h
    M modules/dialog/doc/dialog_admin.xml

  Log Message:
  -----------
  [dialog] added support for delayed dialog deletion

Once terminated, instead of deleting / destroying the in-memory dialog right away, by setting the 'delete_delay' parameter, the dialog may be kept for a while in memory, in a read-only state (no action, no changes, nothing).
This delaying may be used to help with the routing of late in-dialog request that may be received after the dialog terminated (like late BYE's due to retransmissions, cross BYE requests, auth'ed BYE request, slow ACK on re-INVITEs, etc).

This work was sponsored by 46Labs, a true OpenSIPS supporter!





More information about the Devel mailing list