[OpenSIPS-Devel] [OpenSIPS/opensips] 596c39: dialog: fix behavior of backup node when replicati...

Vlad Patrascu vladp at opensips.org
Fri Nov 2 07:27:04 EDT 2018

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 596c39d905dec66c87cf04ac43cac63921c1b7b8
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-11-02 (Fri, 02 Nov 2018)

  Changed paths:
    M modules/acc/acc_logic.c
    M modules/cgrates/cgrates_acc.c
    M modules/dialog/dialog.c
    M modules/dialog/dlg_cb.c
    M modules/dialog/dlg_cb.h
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_req_within.c

  Log Message:
  dialog: fix behavior of backup node when replicating dialogs

The node that has a backup state for the sharing tag of a dialog
was incorrectly:
* skipping the replication of all dialog events
* bypassing all registered DLGCB_TERMINATED and DLGCB_EXPIRED callbacks

This behavior was causing issues when replies and sequential requests did
arrive on the backup node. Eg. unable to match and fix the BYE for an
existing topology hiding dialog.

After this fix, only the acc and cgrates modules will skip all actions in the
above mentioned callbacks if the sharing tag is backup.

      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

More information about the Devel mailing list