[OpenSIPS-Devel] [OpenSIPS/opensips] 4dd88e: dialplan: Fix a rule tie-breaking bug
Liviu Chircu
liviu at opensips.org
Thu May 26 12:35:00 CEST 2016
Branch: refs/heads/2.2
Home: https://github.com/OpenSIPS/opensips
Commit: 4dd88e8df8b8302fccf6cb94bdd1eac5a589b47a
https://github.com/OpenSIPS/opensips/commit/4dd88e8df8b8302fccf6cb94bdd1eac5a589b47a
Author: Liviu Chircu <liviu at opensips.org>
Date: 2016-05-26 (Thu, 26 May 2016)
Changed paths:
M modules/dialplan/dp_repl.c
Log Message:
-----------
dialplan: Fix a rule tie-breaking bug
When an input string would match both a "string" rule and a "regex"
rule, the priority based tie-breaking was incorrect (now favouring
the bigger priority instead - opposite to default module behavior).
Thanks to @paolodepa for suggesting this fix
Fixes issue #696
(cherry picked from commit cbdd79ab3f6d772c6ef1fb7afc44990e9cad294e)
More information about the Devel
mailing list