[OpenSIPS-Devel] [OpenSIPS/opensips] 7f7d26: dialog: load from DB	call looping dialogs
    Răzvan Crainea 
    noreply at github.com
       
    Wed Jan  6 16:15:08 EST 2021
    
    
  
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7f7d262bed007f921eefa7754db44eaa1ad120b7
      https://github.com/OpenSIPS/opensips/commit/7f7d262bed007f921eefa7754db44eaa1ad120b7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2021-01-06 (Wed, 06 Jan 2021)
  Changed paths:
    M modules/dialog/dlg_db_handler.c
  Log Message:
  -----------
  dialog: load from DB call looping dialogs
When loading a dialog from DB that has the same coordinates (same
callid+to-tag+from-tag pair) with a different dialog in memory, we
should not ignore it if it comes with a different `hash_id`, as it might
be a completely different dialog, resulted from a call looping scenario
(call that passes through the same OpenSIPS instance twice), which
legitimately creates a new dialog with a new `hash_id`.
Thanks go to @perwx3 (GitHub) for reporting it in ticket #2311.
Complements commit b26d59e3.
Fix #2311.
(cherry picked from commit b1ce111bccea8f584076312119e703c42116479b)
    
    
More information about the Devel
mailing list