Commit Graph

173 Commits (10)

Author SHA1 Message Date
Luigi Rizzo a23c055c3d move asterisk/paths.h outside asterisk.h and into those files
18 years ago
Luigi Rizzo ffd86fc964 more errno.h removal
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Steve Murphy 63f2f04cf4 This commits the performance mods that give the priority processing engine in the pbx, a 25-30% speed boost. The two updates used, are, first, to merge the ast_exists_extension() and the ast_spawn_extension() where they are called sequentially in a loop in the code, into a slightly upgraded version of ast_spawn_extension(), with a few extra args; and, second, I modified the substitute_variables_helper_full, so it zeroes out the byte after the evaluated string instead of demanding you pre-zero the buffer; I also went thru the code and removed the code that zeroed this buffer before every call to the substitute_variables_helper_full. The first fix provides about a 9% speedup, and the second the rest. These figures come from the 'PIPS' benchmark I describe in blogs, conf. reports, etc.
18 years ago
Jason Parker ebe4050128 Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
18 years ago
Jason Parker b0f3e6097e Convert NEW_CLI to AST_CLI.
18 years ago
Russell Bryant ac46e63a41 Merged revisions 85540 via svnmerge from
18 years ago
Russell Bryant e97a723cf1 Merge a ton of NEW_CLI conversions. Thanks to everyone that helped out! :)
18 years ago
Russell Bryant 9388173f85 Make the MALLOC_DEBUG output for free() useful again. After changing calls to
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Tilghman Lesher 8f1c914c89 'dialplan save' shouldn't be converting '|' back to ',' anymore.
18 years ago
Tilghman Lesher 55b1ee298e Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
18 years ago
Joshua Colp d61056132a Merged revisions 73930 via svnmerge from
18 years ago
Russell Bryant 8d89f741a5 Merged revisions 72272 via svnmerge from
18 years ago
Russell Bryant 9e0458e9f1 Completely remove all of the code related to jumping to priority n + 101. yay!
18 years ago
Tilghman Lesher 7e52b8620b Merged revisions 68595 via svnmerge from
18 years ago
Joshua Colp e7b03a991e Convert the PBX core to use read/write locks. This yields a nifty performance improvement when it comes to simultaneous calls going through the dialplan. Using murf's test the old mutex based core took an average of 57.3 seconds while the rwlock based core took 31.1 seconds. That's a nifty 26.2 seconds performance improvement. The other good part is that if we do need to switch back then we just have to change the lock/unlock API calls. I converted everywhere that used to touch the mutex locks directly to use them.
18 years ago
Joshua Colp e83cff1c23 Merged revisions 56856 via svnmerge from
18 years ago
Russell Bryant 84718d10c4 Merged revisions 54898 via svnmerge from
18 years ago
Tilghman Lesher a3ce6f5f8c Merged revisions 52679 via svnmerge from
19 years ago
Jason Parker 5abda34cd9 Merged revisions 49742 via svnmerge from
19 years ago
Joshua Colp 858796affa Merged revisions 49073 via svnmerge from
19 years ago
Steve Murphy f92697c5fc This small update will generate WARNINGS if there is garbage in your extensions.conf file (liken extem => instead of exten => !)
19 years ago
Paul Cadach b4ef9599de Merged revisions 44186 via svnmerge from
19 years ago
Tilghman Lesher 6ae8741518 Lots more removal of deprecated things
19 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Kevin P. Fleming c2c4f86c72 merge markster's usersconf branch with some slight changes
19 years ago
Matt O'Gorman 05a695af72 everything that loads a config that needs a config file to run
19 years ago
Russell Bryant f7cac071d9 Merged revisions 41269 via svnmerge from
19 years ago
Steve Murphy 8efd121371 Bugfix for 7813 applied to trunk as per patch supplied by stevens
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Russell Bryant 92bd7f19f7 Merge team/russell/ast_verbose_threadstorage
19 years ago
Kevin P. Fleming acfa035afe Merged revisions 37417 via svnmerge from
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Kevin P. Fleming dd6de5ee4e it's time... only enable global priority jumping if the config file says to do so
19 years ago
Kevin P. Fleming ed3ffb4b46 various doxygen fixes
19 years ago
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
19 years ago
Kevin P. Fleming f515078c53 Merged revisions 19345 via svnmerge from
19 years ago
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
19 years ago
Luigi Rizzo 08dfc15553 whitespace and formatting fix postponed from last commit:
19 years ago
Luigi Rizzo 25a61b9e08 split pbx_load_module so we can reduce the indentation depth.
19 years ago
Luigi Rizzo 38f14cbca7 use FREE instead of free as pointer to the destructor function.
19 years ago
Olle Johansson 16728da6a7 Whitespace fix forgotten by someone who added a note about needing to fix this...
19 years ago
Luigi Rizzo 4ca73f8ae4 as reported in mantis #6066, fix a bunch of cli bugs and
19 years ago
Olle Johansson acfc219733 Reverting revision 10998 that was accidentaly committed to trunk. My apologies.
19 years ago
Olle Johansson dd5222fd30 Update to trunk
19 years ago
Russell Bryant 6f71e1178e constify arguments in more places where strings should not be modified (issue #6286)
20 years ago
Tilghman Lesher a84633ba26 Merged revisions 7831 via svnmerge from
20 years ago
Russell Bryant ec05153ac4 convert most of the option_*'s to a single ast_flags structure. Also, fix some
20 years ago
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
20 years ago
Russell Bryant d8dfa4434d finish merging doxygen updates from issue #5605
20 years ago
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
20 years ago
Kevin P. Fleming 053326ac85 ensure that priorityjumping option returns to its default during reload if it is no longer specified in extensions.conf
20 years ago
Russell Bryant 779d033f21 move process_quotes_and_slashes to utils.c since it is used by both pbx_ael and pbx_config
20 years ago
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
20 years ago
Kevin P. Fleming 5cc0413c54 add a global option to disable priority jumping in applications (when they get updated), settable in extensions.conf
20 years ago
Kevin P. Fleming 2b8338cb52 more file version tags
20 years ago
Kevin P. Fleming 4f299de252 major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116)
20 years ago
Kevin P. Fleming ce89d985f2 allow global variables to be reset on reload (defaults to off) (bug #4385)
20 years ago
Russell Bryant 3c98814bb5 add 'dontwarn' option to asterisk.conf to appease the whining masses :p (bug #4320)
20 years ago
Russell Bryant 364e179b78 check to see if a comma or an open paren came first when splitting the application
20 years ago
Russell Bryant 7d3f5785e9 fix some more typos and clarity issues
20 years ago
Russell Bryant e82344f7e0 fix a little typo
20 years ago
Kevin P. Fleming 8634ef9e4a don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110)
20 years ago
Kevin P. Fleming a9831e75ee perform global variable substitution before splitting extension and cidmatch when reading in dialplan (bug #4035)
20 years ago
Kevin P. Fleming 1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
20 years ago
Mark Spencer fdff1f69b5 Add warning for _. match (bug #4032)
20 years ago
Russell Bryant f0c880d6f6 silly typo
20 years ago
Mark Spencer 5f726ad8c7 Merge config updates (bug #3406)
21 years ago
Russell Bryant 0c30452423 update copyright headers for 2005
21 years ago
Mark Spencer 278a0a0891 Implement eswitch for evalulating variables at runtime (bug #3168)
21 years ago
Mark Spencer 82cbf28993 Add "Loopback" switch
21 years ago
Mark Spencer 996c8e7126 Add autofallthrough mode
21 years ago
Mark Spencer b4142e0cd2 Allow you to use labels with + to be nice to Tilghman.
21 years ago
Mark Spencer 027f79d840 Add '+foo' option, update sample config
21 years ago
Mark Spencer fce17976e9 Major PBX revamps (including labels, update examples)
21 years ago
Mark Spencer 34988d1ce9 Allow "n" or "next" and "s" or "same" in dialplan logic priorities
21 years ago
Mark Spencer 64b9a563f2 Make menu interruptible (bug #2377), Also fix PBX "add extension" CLI (bug #2289)
21 years ago
Mark Spencer de3528f0be Save CID and switches in "save dialplan" command (bug #2279)
21 years ago
Mark Spencer 8c4cacbd58 Use ' instead of " for quoting in extensions.conf (bug #1872)
21 years ago
James Golovich d88a461764 Cleanup formatting
21 years ago
James Golovich db8da85266 Cleanup formatting
21 years ago
James Golovich bc80b3130d Cleanup formatting
21 years ago
Mark Spencer c53e76528d Allow escaping of commas as well as ability to use quotes (bug #1826)
21 years ago
Mark Spencer 727abcdec7 Merge FreeBSD locking fixes (bug #1411)
21 years ago
Mark Spencer f2ccbc81d9 Internationalize say_date_time, fix small pbx_config seglet (bug #1537)
21 years ago
James Golovich 0122a3ea08 Fix 'remove extension' completion
21 years ago
James Golovich a23c89dd75 Fix some comments in pbx.c and pbx_config.c
21 years ago
Mark Spencer 83344af1c2 Fix add include (bug #966) and small update to bug 890
22 years ago
Mark Spencer 1c838758c3 Save global variables across "save dialplan" (bug #426)
22 years ago
Jeremy McNamara 171865492f revert half fixed bug (426)
22 years ago
Mark Spencer ee342cc3b8 Add ww's improved syslog support (bug #587)
22 years ago
Mark Spencer 3171dea6ef scanf != sscanf
22 years ago
Mark Spencer 250e28aaf4 Ignore leading spaces before application
22 years ago
Mark Spencer 143b3de606 Be less picky about spaces, and recognize invalid priorities
22 years ago
Martin Pycko 69bef6678a Fix a typo
22 years ago
Mark Spencer 4d0e046a06 Verify includes, and give warnings if invalid (bug #429)
22 years ago
Mark Spencer ac19ba51bd Fix small logic errors (bug #242)
22 years ago
Mark Spencer 1bb58646de Totally revamp thread debugging to support locating and removing deadlocks
22 years ago