[OpenSIPS-Devel] [OpenSIPS/opensips] cbdd79: dialplan: Fix a rule tie-breaking bug

Liviu Chircu liviu at opensips.org
Thu May 26 12:31:45 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cbdd79ab3f6d772c6ef1fb7afc44990e9cad294e
      https://github.com/OpenSIPS/opensips/commit/cbdd79ab3f6d772c6ef1fb7afc44990e9cad294e
  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




More information about the Devel mailing list