[OpenSIPS-Devel] [OpenSIPS/opensips] 810585: dialog: sync dialogs from another node at startup

Vlad Patrascu vladp at opensips.org
Fri Mar 23 06:50:15 EDT 2018


  Branch: refs/heads/feature/dialog-clustering
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8105850fa6f38a748ad29d1c78c1d8c815058617
      https://github.com/OpenSIPS/opensips/commit/8105850fa6f38a748ad29d1c78c1d8c815058617
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-02-23 (Fri, 23 Feb 2018)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_replication.h

  Log Message:
  -----------
  dialog: sync dialogs from another node at startup

The node to sync the dialogs from is chosen by the clusterer module.
Syncing is also possible at runtime through an MI command.


  Commit: cf533650cf1ba678b218c4bb960dad04b2d27e1f
      https://github.com/OpenSIPS/opensips/commit/cf533650cf1ba678b218c4bb960dad04b2d27e1f
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-03-08 (Thu, 08 Mar 2018)

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

  Log Message:
  -----------
  dialog: add mechanism that allows tagging dialogs when replicating

Dialogs can be labeled from the the script using the set_dlg_repl_tag()
function and each tag has a state(active/backup) which can be set via
the "set_repl_tag_active" MI cmd. The tags and their states are shared
in the cluster and nodes automatically go to the backup state when
another node is set to active.


  Commit: 1ce6005d1ea4775a43fe695d1a41222a5ffba701
      https://github.com/OpenSIPS/opensips/commit/1ce6005d1ea4775a43fe695d1a41222a5ffba701
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-03-08 (Thu, 08 Mar 2018)

  Changed paths:
    M modules/dialog/dlg_profile.c
    M modules/dialog/dlg_req_within.c
    M modules/dialog/dlg_req_within.h

  Log Message:
  -----------
  dialog: forbid terminating dialogs via MI when replication tag is backup


  Commit: 9446016e570896982eac54794386152d13715ed0
      https://github.com/OpenSIPS/opensips/commit/9446016e570896982eac54794386152d13715ed0
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-03-08 (Thu, 08 Mar 2018)

  Changed paths:
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_profile.c
    M modules/dialog/dlg_req_within.c
    M modules/dialog/dlg_req_within.h
    M modules/dialog/dlg_timer.c

  Log Message:
  -----------
  dialog: prevent BYEs on dialog expiration when replication tag is backup


  Commit: ae46e97a803a3b3e9857fe35a1c82378248ea502
      https://github.com/OpenSIPS/opensips/commit/ae46e97a803a3b3e9857fe35a1c82378248ea502
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-03-08 (Thu, 08 Mar 2018)

  Changed paths:
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_req_within.c
    M modules/dialog/dlg_vals.c

  Log Message:
  -----------
  dialog: don't report error if replication tag is not set


  Commit: f1530b38531fcdbc1012c842a79263aea83485f1
      https://github.com/OpenSIPS/opensips/commit/f1530b38531fcdbc1012c842a79263aea83485f1
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-03-09 (Fri, 09 Mar 2018)

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

  Log Message:
  -----------
  dialog: don't replicate dialog events when tag is backup

Don't send create/update/delete messages when replication tag is backup.


  Commit: afa4c77c6c37dfbf4d590aa43931e48c5208eaab
      https://github.com/OpenSIPS/opensips/commit/afa4c77c6c37dfbf4d590aa43931e48c5208eaab
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-03-09 (Fri, 09 Mar 2018)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: don't throw error if dialog from deleted replication packet is not found


  Commit: 71a11a123a54c475aa75b9546c0dd0a8034a8c10
      https://github.com/OpenSIPS/opensips/commit/71a11a123a54c475aa75b9546c0dd0a8034a8c10
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-03-13 (Tue, 13 Mar 2018)

  Changed paths:
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_req_within.c
    M modules/fraud_detection/fraud_detection.c
    M modules/fraud_detection/frd_events.c
    M modules/fraud_detection/frd_events.h
    M modules/sngtc/sngtc.c

  Log Message:
  -----------
  dialog: don't run TERMINATED and EXPIRED DLGCBs when replication tag is backup


  Commit: b1100cdd0b73f7788373e8db483081f4c8487389
      https://github.com/OpenSIPS/opensips/commit/b1100cdd0b73f7788373e8db483081f4c8487389
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-03-14 (Wed, 14 Mar 2018)

  Changed paths:
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_timer.c

  Log Message:
  -----------
  dialog: suppress in-dialog pinging when replication tag is backup


  Commit: ac9fad7106e2d89f6944f53298baf6d4ec3559e2
      https://github.com/OpenSIPS/opensips/commit/ac9fad7106e2d89f6944f53298baf6d4ec3559e2
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-03-16 (Fri, 16 Mar 2018)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_replication.h

  Log Message:
  -----------
  dialog: also set replication tag state through modparam


  Commit: 8d2fb6ece7b2eeb4b32a86d169ff48fb37416101
      https://github.com/OpenSIPS/opensips/commit/8d2fb6ece7b2eeb4b32a86d169ff48fb37416101
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-03-19 (Mon, 19 Mar 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_req_within.c

  Log Message:
  -----------
  dialog: don't update DB when replication tag is backup


  Commit: 5f4adebc40e6704fca29d250127b40d471922d45
      https://github.com/OpenSIPS/opensips/commit/5f4adebc40e6704fca29d250127b40d471922d45
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-03-19 (Mon, 19 Mar 2018)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_replication.h

  Log Message:
  -----------
  dialog: add MI command that lists replication tags


  Commit: 53a986585f9f991d2701ff342476a7fc09c90c45
      https://github.com/OpenSIPS/opensips/commit/53a986585f9f991d2701ff342476a7fc09c90c45
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M modules/clusterer/README
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/doc/clusterer_admin.xml

  Log Message:
  -----------
  clusterer: add MI command that lists capabilities


  Commit: f54061d9b40ee53fb37d93339c2c329da8113512
      https://github.com/OpenSIPS/opensips/commit/f54061d9b40ee53fb37d93339c2c329da8113512
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-03-20 (Tue, 20 Mar 2018)

  Changed paths:
    M modules/clusterer/README
    M modules/clusterer/api.h
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer.h
    M modules/clusterer/doc/clusterer_admin.xml
    M modules/dialog/dialog.c
    M modules/drouting/drouting.c
    M modules/load_balancer/load_balancer.c
    M modules/ratelimit/ratelimit_helper.c
    M modules/usrloc/ul_mod.c

  Log Message:
  -----------
  clusterer: add option for capabilities to be in OK state without data sync

Specify at registration time if data sync is required for a certain
capability in order to be in the OK state.


  Commit: ec7067c8f05761b3cc495bed2f67a94619a44012
      https://github.com/OpenSIPS/opensips/commit/ec7067c8f05761b3cc495bed2f67a94619a44012
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-03-21 (Wed, 21 Mar 2018)

  Changed paths:
    M modules/dialog/README
    M modules/dialog/doc/dialog_admin.xml

  Log Message:
  -----------
  dialog: document replication tag related param, MI cmd and script function


Compare: https://github.com/OpenSIPS/opensips/compare/8105850fa6f3^...ec7067c8f057


More information about the Devel mailing list