[OpenSIPS-Devel] [OpenSIPS/opensips] 30fad6: dialog: load from DB	call looping dialogs
    Răzvan Crainea 
    noreply at github.com
       
    Wed Jan  6 16:14:53 EST 2021
    
    
  
  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 30fad6821df00bad7dca5c7495037685575a4029
      https://github.com/OpenSIPS/opensips/commit/30fad6821df00bad7dca5c7495037685575a4029
  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