[OpenSIPS-Devel] [OpenSIPS/opensips] bfac3e: dialog: Always match dialogs using dlg_match_mode
Liviu Chircu
liviu at opensips.org
Fri May 11 06:14:45 EDT 2018
Branch: refs/heads/2.4
Home: https://github.com/OpenSIPS/opensips
Commit: bfac3e8543a90c3cbda21683015355927ab2f0a9
https://github.com/OpenSIPS/opensips/commit/bfac3e8543a90c3cbda21683015355927ab2f0a9
Author: Liviu Chircu <liviu at opensips.org>
Date: 2018-05-11 (Fri, 11 May 2018)
Changed paths:
M modules/dialog/README
M modules/dialog/dialog.c
M modules/dialog/dlg_handlers.h
M modules/dialog/doc/dialog_admin.xml
M modules/script_helper/script_helper.c
M modules/topology_hiding/topology_hiding.c
Log Message:
-----------
dialog: Always match dialogs using dlg_match_mode
This patch changes the default behavior of match_dialog() and
topology_hiding_match(), where they would both forcibly use DID_FALLBACK
matching, regardless of the value of the "dlg_match_mode" modparam.
Starting with 2.4, we change this behavior such that they default
to simply playing along with "dlg_match_mode", which is a lot
more intuitive from a script writing perspective.
If need be, a specific dialog matching behavior may be enforced for
certain types of traffic using the newly added optional parameters of
match_dialog() and topology_hiding_match().
(cherry picked from commit 61829d66321e8c37dbfeff36a25bfb95fcead866)
**NOTE:** This service 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