[OpenSIPS-Devel] [OpenSIPS/opensips] 22404a: dialplan: Fix a rule tie-breaking bug
Liviu Chircu
liviu at opensips.org
Thu May 26 13:02:23 CEST 2016
Branch: refs/heads/1.11
Home: https://github.com/OpenSIPS/opensips
Commit: 22404a1c2d5bc14ddadff5f34a7b58e9cf418f1a
https://github.com/OpenSIPS/opensips/commit/22404a1c2d5bc14ddadff5f34a7b58e9cf418f1a
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