Commit Graph

173 Commits (99286417022f0bd43ff35ec5136c312a1fd94e0c)

Author SHA1 Message Date
Mark Michelson 9928641702 Fix misuses of asprintf throughout the code.
13 years ago
Kinsey Moore 3b4b40beb0 Fix coverity UNUSED_VALUE findings in core support level files
13 years ago
Richard Mudgett a9c6f566ab Coverity Report: Fix issues for error type REVERSE_INULL (core modules)
13 years ago
Kinsey Moore d8a55736c5 Fix many issues from the NULL_RETURNS Coverity report
13 years ago
Joshua Colp 912a4062e5 Only allow one 'dialplan reload' to execute at a time as otherwise they would share the same common local context list.
13 years ago
Richard Mudgett e4d579711d Improved documentation of CLI "dialplan add extension" command.
13 years ago
Walter Doekes 09e9df32eb Fix crash when dialplan remove include is called with too few arguments.
14 years ago
Leif Madsen 7caa2349af Merged revisions 328209 via svnmerge from
14 years ago
Richard Mudgett 6209a4b1f9 Merged revisions 324849 via svnmerge from
14 years ago
Russell Bryant 37aa52fd78 Merged revisions 316265 via svnmerge from
14 years ago
Paul Belanger 92358b078c Merged revisions 315394 via svnmerge from
14 years ago
Jonathan Rose 3c02c09162 In handle_cli_dialplan_add_extension, const char pointer *into_context is used instead of a->argv[5] to improve readability.
14 years ago
Jonathan Rose 7fa7d9c36b Makes 'dialplan add extension' create the specified context if it does not already exist.
14 years ago
Tilghman Lesher 90bf5c0549 Merged revisions 285367 via svnmerge from
15 years ago
Jason Parker 377c3bf88e Merged revisions 282131 via svnmerge from
15 years ago
David Vossel 3f00e3ff03 fixes issue with 'dialplan remove extension blah' segfaulting with tab completion
15 years ago
Paul Belanger 663a368a87 Improve logging by displaying line number
15 years ago
Matthias Nick 89b02b583a Parse global variables or expressions in hint extensions
16 years ago
Russell Bryant b0778107c7 Resolve a warning from gcc 4.4.1.
16 years ago
Tilghman Lesher 642bec4d6f AST-2009-005
16 years ago
Kevin P. Fleming ed2a3cedd1 Merged revisions 209759 via svnmerge from
16 years ago
David Vossel dcfe69ec64 fixes some memory leaks and redundant conditions
16 years ago
Kevin P. Fleming e6b2e9a750 Const-ify the world (or at least a good part of it)
16 years ago
David Brooks 0ea83eab48 Removing crufty code that is no longer necessary. Code cleanup.
16 years ago
Jeff Peeler 58cf8b69da Fix malloc debug macros to work properly with h323.
16 years ago
Tilghman Lesher f90021fdd0 Ensure that commas placed in the middle of extension character classes do not
16 years ago
Tilghman Lesher 53ddd52fc4 Merged revisions 170158 via svnmerge from
16 years ago
Joshua Colp 601176cb6e Be more detailed about why the include did not get included.
17 years ago
Eliel C. Sardanons 1e8e12efcf Janitor, use ARRAY_LEN() when possible.
17 years ago
Kevin P. Fleming 210df649a2 correct logic error noticed by rmudgett (thanks!)
17 years ago
Kevin P. Fleming 9153827d56 coding style/guidelines cleanup, plus use new side-effect safe S_OR
17 years ago
Kevin P. Fleming bd4eb070f3 bring over all the fixes for the warnings found by gcc 4.3.x from the 1.4 branch, and add the ones needed for all the new code here too
17 years ago
BJ Weschke 9aefadd7c1 Do NOT attempt to do anything with the ast_config struct when it's been returned as INVALID by the config file interpreter.
17 years ago
Tilghman Lesher 038b588ee8 Reset continuation items at the beginning of each context (suggested by
17 years ago
Tilghman Lesher 5c32f80a61 Add keyword "same", which allows you to create multiple steps in a dialplan,
17 years ago
Sean Bright b7a4db0ced Start moving in changes from my resolve-shadow-warnings branch. Going to do
17 years ago
Kevin P. Fleming 6291cd19bf remove remaining Zaptel references in various places
17 years ago
Tilghman Lesher 12e5c68622 Merged revisions 127973 via svnmerge from
17 years ago
Tilghman Lesher 122486b263 Allow alternative extensions to be specified for a user.
17 years ago
Jeff Peeler ef3b214728 Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
17 years ago
Joshua Colp 270bad99c8 We like tabs.
17 years ago
Joshua Colp db9d25d32e Merged revisions 120282 via svnmerge from
17 years ago
Tilghman Lesher bdad3c9889 (closes issue #6019)
17 years ago
Steve Murphy 377e51c4d4 (closes issue #6002)
17 years ago
Jason Parker eea428cf76 Use defined return values in load_module in more places.
18 years ago
Steve Murphy 1f792f1745 closes issue #11294; missed the conditional unlock of the contexts when the hash table is used instead; also, used the ast_free_ptr as advised.
18 years ago
Joshua Colp 9910b7d9a7 Merged revisions 89592 via svnmerge from
18 years ago
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
Luigi Rizzo 51391e6b09 shuffle a little bit the content of header files to reduce dependencies.
18 years ago
Luigi Rizzo 7e8835e0d7 remove another set of redundant #include "asterisk/options.h"
18 years ago