[OpenSIPS-Devel] [OpenSIPS/opensips] db592f: dialog: sync dialogs from another node at startup
Vlad Patrascu
vladp at opensips.org
Tue Mar 27 09:23:11 EDT 2018
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: db592fd07da93dfdc574084d82f2f4ae7d6fc6db
https://github.com/OpenSIPS/opensips/commit/db592fd07da93dfdc574084d82f2f4ae7d6fc6db
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-03-27 (Tue, 27 Mar 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: 91b92591ef36cb121bbf9206c01264561bf7c4cb
https://github.com/OpenSIPS/opensips/commit/91b92591ef36cb121bbf9206c01264561bf7c4cb
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-03-27 (Tue, 27 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: 5fdbce418bc9bd00dddbe9250b3b41a66a25fd88
https://github.com/OpenSIPS/opensips/commit/5fdbce418bc9bd00dddbe9250b3b41a66a25fd88
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-03-27 (Tue, 27 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: c9e68f92bb0fbc819aeddae6eb25b94d48d74e58
https://github.com/OpenSIPS/opensips/commit/c9e68f92bb0fbc819aeddae6eb25b94d48d74e58
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-03-27 (Tue, 27 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: fc32d57f8d906611a8f00b590371e1889a54aed5
https://github.com/OpenSIPS/opensips/commit/fc32d57f8d906611a8f00b590371e1889a54aed5
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-03-27 (Tue, 27 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: 5319d592fa17759a177d78aa8eea2670850e250e
https://github.com/OpenSIPS/opensips/commit/5319d592fa17759a177d78aa8eea2670850e250e
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-03-27 (Tue, 27 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: 9b2e917af43fed7bf20b767747b1830caa561428
https://github.com/OpenSIPS/opensips/commit/9b2e917af43fed7bf20b767747b1830caa561428
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-03-27 (Tue, 27 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: ffb2e526b691f5d7452267d01f0475dc12f6a270
https://github.com/OpenSIPS/opensips/commit/ffb2e526b691f5d7452267d01f0475dc12f6a270
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-03-27 (Tue, 27 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: 7c84955152c3da705aeb9a59648cbed91c0dbcbd
https://github.com/OpenSIPS/opensips/commit/7c84955152c3da705aeb9a59648cbed91c0dbcbd
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-03-27 (Tue, 27 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: fab763321d9ce09a50da99ecb5633d1d9cddae84
https://github.com/OpenSIPS/opensips/commit/fab763321d9ce09a50da99ecb5633d1d9cddae84
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-03-27 (Tue, 27 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: 93724475a43f90d4774b84cf23add0ea3e08ac83
https://github.com/OpenSIPS/opensips/commit/93724475a43f90d4774b84cf23add0ea3e08ac83
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-03-27 (Tue, 27 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: 86626f64a87327bd90dce26a91c3b60351e94c45
https://github.com/OpenSIPS/opensips/commit/86626f64a87327bd90dce26a91c3b60351e94c45
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-03-27 (Tue, 27 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: c23a4ce8430d322658c571ce0be714c4d0e66abd
https://github.com/OpenSIPS/opensips/commit/c23a4ce8430d322658c571ce0be714c4d0e66abd
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-03-27 (Tue, 27 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: 879c4d4c676138e5adc03e57c7e035ebd0ed4f41
https://github.com/OpenSIPS/opensips/commit/879c4d4c676138e5adc03e57c7e035ebd0ed4f41
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-03-27 (Tue, 27 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: 10977d86f38e5fd47ef5761ee6d5e2ca71bc0162
https://github.com/OpenSIPS/opensips/commit/10977d86f38e5fd47ef5761ee6d5e2ca71bc0162
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-03-27 (Tue, 27 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
Commit: 5f6115875fb054d2cc1f75f47ceeddb8cc8b7728
https://github.com/OpenSIPS/opensips/commit/5f6115875fb054d2cc1f75f47ceeddb8cc8b7728
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2018-03-27 (Tue, 27 Mar 2018)
Changed paths:
M modules/dialog/README
M modules/dialog/dialog.c
M modules/dialog/dlg_db_handler.c
M modules/dialog/dlg_handlers.c
M modules/dialog/dlg_profile.c
M modules/dialog/dlg_replication.c
M modules/dialog/dlg_replication.h
M modules/dialog/dlg_req_within.c
M modules/dialog/dlg_timer.c
M modules/dialog/doc/dialog_admin.xml
Log Message:
-----------
dialog: rename "replication" tags to "sharing" tags
Compare: https://github.com/OpenSIPS/opensips/compare/edd206497868...5f6115875fb0
More information about the Devel
mailing list