You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
asterisk/pbx
Steve Murphy a63f6be669
closes issue #11363; where the pattern _20x. buried in an included context, didn't match 2012; There were a small set of problems to fix: 1. I needed NOT to score patterns unless you are at the end of the data string. 2. Capital N,X,Z and small n,x,z are OK in patterns. I canonicalize the patterns in the trie to caps. 3. When a pattern ends with dot or exclamation, CANMATCH/MATCHMORE should always report this pattern, no matter the length. With this commit, I also supplied the wish of Luigi, where the user can select which pattern matching algorithm to use, the old (legacy) pattern matcher, or the new, trie based matcher. The OLD matcher is the default. A new [general] section variable, extenpatternmatchnew, is added to the extensions.conf, and the example config has it set to false. If true, the new matcher is used. In all other respects, the context/exten structs are the same; the tries and hashtabs are formed, but in the new mode the tries are not used. A new CLI command 'dialplan set extenpatternmatch true/false' is provided to allow switching at run time. I beg users that are forced to return to the old matcher to please report the reason in the bug tracker. Measured the speed benefit of the new matcher against an impossibly large context with 10,000 extensions: the new matcher is 374 times faster.
18 years ago
..
ael/ael-test Merged revisions 87168 via svnmerge from 18 years ago
Makefile Fix building of modules under cygwin. 18 years ago
dundi-parser.c remove a bunch of duplicate includes 18 years ago
dundi-parser.h make the 'name' and 'value' fields in ast_variable const char * 18 years ago
kdeconsole_main.cc rename this file so it doesn't appear to be a module by itself 19 years ago
pbx_ael.c more errno.h removal 18 years ago
pbx_config.c closes issue #11363; where the pattern _20x. buried in an included context, didn't match 2012; There were a small set of problems to fix: 1. I needed NOT to score patterns unless you are at the end of the data string. 2. Capital N,X,Z and small n,x,z are OK in patterns. I canonicalize the patterns in the trie to caps. 3. When a pattern ends with dot or exclamation, CANMATCH/MATCHMORE should always report this pattern, no matter the length. With this commit, I also supplied the wish of Luigi, where the user can select which pattern matching algorithm to use, the old (legacy) pattern matcher, or the new, trie based matcher. The OLD matcher is the default. A new [general] section variable, extenpatternmatchnew, is added to the extensions.conf, and the example config has it set to false. If true, the new matcher is used. In all other respects, the context/exten structs are the same; the tries and hashtabs are formed, but in the new mode the tries are not used. A new CLI command 'dialplan set extenpatternmatch true/false' is provided to allow switching at run time. I beg users that are forced to return to the old matcher to please report the reason in the bug tracker. Measured the speed benefit of the new matcher against an impossibly large context with 10,000 extensions: the new matcher is 374 times faster. 18 years ago
pbx_dundi.c remove another set of redundant #include "asterisk/options.h" 18 years ago
pbx_gtkconsole.c remove another set of redundant #include "asterisk/options.h" 18 years ago
pbx_kdeconsole.cc various minor fixes 19 years ago
pbx_kdeconsole.h remove extraneous svn:executable properties 20 years ago
pbx_loopback.c remove another set of redundant #include "asterisk/options.h" 18 years ago
pbx_lua.c remove another set of redundant #include "asterisk/options.h" 18 years ago
pbx_realtime.c remove another set of redundant #include "asterisk/options.h" 18 years ago
pbx_spool.c remove another set of redundant #include "asterisk/options.h" 18 years ago