Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0345faa496d0bfae6051c2bab7c725c689057532
      
https://github.com/OpenSIPS/opensips/commit/0345faa496d0bfae6051c2bab7c725c689057532
  Author: Vlad Patrascu <vl...@opensips.org>
  Date:   2018-04-13 (Fri, 13 Apr 2018)

  Changed paths:
    M modules/acc/acc_logic.c
    M modules/cgrates/cgrates_acc.c
    M modules/dialog/dlg_cb.h
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_replication.c
    M modules/siprec/siprec_logic.c
    M modules/siprec/siprec_sess.c
    M modules/siprec/siprec_sess.h

  Log Message:
  -----------
  dialog: call values/profiles write callbacks before replicating dialogs

Rename DLGCB_DB_WRITE_VP to DLGCB_WRITE_VP since it should also be
triggered when replicating a created dialog. This allow modules
to properly save context information in the dialog which can then be
visibile on all instances where the dialog is replicated.

This fixes issues with received replicated dialogs in acc, cgrates and
siprec modules.

(cherry picked from commit bcc3d8c0fb69073f49980c64aa80fba41d7b7961)


  Commit: 943c9e07e79ad7fe5078887053d9beea16cd539b
      
https://github.com/OpenSIPS/opensips/commit/943c9e07e79ad7fe5078887053d9beea16cd539b
  Author: Vlad Patrascu <vl...@opensips.org>
  Date:   2018-04-13 (Fri, 13 Apr 2018)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_req_within.c

  Log Message:
  -----------
  dialog: fix DB operations to be performed by all nodes in the cluster

In the context of dialog replication and with the new feature of
synchronization at startup, there is no longer the need for the DB backend
to be shared between the nodes in the cluster. Each node can still have a
local dialog table but only for restart persistency as a failsafe for the
binary replication.

(cherry picked from commit d11aa92bb9aff955487988d6ae564501586a5473)


  Commit: 14871a0562ab14f2403c72e79ac57e9dfe80b221
      
https://github.com/OpenSIPS/opensips/commit/14871a0562ab14f2403c72e79ac57e9dfe80b221
  Author: Vlad Patrascu <vl...@opensips.org>
  Date:   2018-04-13 (Fri, 13 Apr 2018)

  Changed paths:
    M modules/clusterer/api.h
    M modules/clusterer/sync.c
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_hash.h
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: drop inactive DB loaded dialogs when syncing from cluster is done

Dialogs loaded from the database at startup are dropped and also deleted from
the DB once the sync from cluster is complete. This is valid for dialogs that
are not reconfirmed as being active in the meantime (SIP updates, received
in sync data).

(cherry picked from commit 0784c38b15a9e96cc498b54bd50afb5d5dc8a803)


Compare: 
https://github.com/OpenSIPS/opensips/compare/f1414ba26923...14871a0562ab
_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to