[OpenSIPS-Devel] [OpenSIPS/opensips] b1ce11: dialog: load from DB	call looping dialogs
    Răzvan Crainea 
    noreply at github.com
       
    Wed Jan  6 16:14:41 EST 2021
    
    
  
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b1ce111bccea8f584076312119e703c42116479b
      https://github.com/OpenSIPS/opensips/commit/b1ce111bccea8f584076312119e703c42116479b
  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.
    
    
More information about the Devel
mailing list