[OpenSIPS-Devel] [OpenSIPS/opensips] 4e662f: dialog: match legs by transaction branch

Răzvan Crainea noreply at github.com
Thu Aug 13 11:31:19 UTC 2026


  Branch: refs/heads/4.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4e662fa87fe313757c04f6755caeaf8818d05ab0
      https://github.com/OpenSIPS/opensips/commit/4e662fa87fe313757c04f6755caeaf8818d05ab0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2026-08-13 (Thu, 13 Aug 2026)

  Changed paths:
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_hash.h

  Log Message:
  -----------
  dialog: match legs by transaction branch

When one outgoing branch receives multiple distinct To-tags, dialog
creates multiple legs for that branch. A subsequent failover branch
could then collide with an existing leg index and trigger the wrongfully
increasing callee_leg warning reported in #3954.

(cherry picked from commit 2b30715cf7310797f2df193761fce134232206de)


  Commit: 698eb6e1f057a00894a0a07de1d1cb73742cbca6
      https://github.com/OpenSIPS/opensips/commit/698eb6e1f057a00894a0a07de1d1cb73742cbca6
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2026-08-13 (Thu, 13 Aug 2026)

  Changed paths:
    M modules/config/config.c

  Log Message:
  -----------
  config: close database connection after table check

Thanks to @ewadii for reporting this issue.

Closes #4172

(cherry picked from commit 1d5c9cfc8edbda3c0ff388d48ad8cd138f6aeb4b)


Compare: https://github.com/OpenSIPS/opensips/compare/25b965ba867b...698eb6e1f057

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



More information about the Devel mailing list