Commit Graph

319 Commits (05dd9b7ef003e0d9a69cd80e815dd1d7ed457dfc)

Author SHA1 Message Date
Russell Bryant 53a5f22849 Merged revisions 90145 via svnmerge from
18 years ago
Tilghman Lesher fd06a58800 Merged revisions 89631 via svnmerge from
18 years ago
Luigi Rizzo 200f9c633b remove some useless includes
18 years ago
Luigi Rizzo 7e8835e0d7 remove another set of redundant #include "asterisk/options.h"
18 years ago
Russell Bryant 501915f0a9 Make the SYSINFO documentation reflect which options were compiled in
18 years ago
Luigi Rizzo 086630d121 remove unnecessary headers
18 years ago
Luigi Rizzo 9c2aaeb701 remove some unnecessary includes.
18 years ago
Luigi Rizzo 9335ace850 another bunch of include removals (errno.h and asterisk/logger.h)
18 years ago
Mark Michelson 67f044d42a Adding SYSINFO() dialplan function for retrieval of system information
18 years ago
Luigi Rizzo d82a631f9c more removal of duplicate #include lines
18 years ago
Luigi Rizzo 5490960453 remove a bunch of duplicate includes
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Steve Murphy 98429d37b2 Based on a note in asterisk-dev by Brian Capouch, I determined I too agressive in not initializing arrays passed to pbx_substitute_variables_xxxx; I reviewed the code (again) and hopefully found every possible spot where substitute_variables is called conditionally, and made sure the char array involved was set to a null string.
18 years ago
Joshua Colp e4187a7a26 Make func_env build again.
18 years ago
Tilghman Lesher 3a70afbc3e Add the FILE() dialplan function and deprecate ReadFile.
18 years ago
Kevin P. Fleming edc78d6023 improve linked-list macros in two ways:
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
Tilghman Lesher f5b9b79397 Add a simple dialgroup function. By taking one of the simpler uses of Queue
18 years ago
Tilghman Lesher 64a0a9aa2c Merged revisions 87262 via svnmerge from
18 years ago
Russell Bryant 024bd67277 Make sure a channel exists before attempting to start or stop channel
18 years ago
Tilghman Lesher 7d43ac7004 Merged revisions 87120 via svnmerge from
18 years ago
Tilghman Lesher 446a6cdc94 Use the same delimited character as the FILTER function in FIELDQTY and CUT.
18 years ago
Steve Murphy 4e20c42a13 Merged revisions 86902 via svnmerge from
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
Joshua Colp ff9eaa301d Merged revisions 85850 via svnmerge from
18 years ago
Tilghman Lesher 1acdae4f12 Document my changes from Friday
18 years ago
Tilghman Lesher 3d8d4b25ee Enable ranges, hexadecimal, octal, and special backslashed characters for the FILTER function
18 years ago
Matthew Fredrickson f2f66caae1 See if I can fix this borked ANI2 code I added
18 years ago
Matthew Fredrickson 4c5dd299bc Add ANI2 support to func_callerid
18 years ago
Russell Bryant 9d43f99be1 * The documentation for the LOCK() function says that it will block for up to
18 years ago
Russell Bryant 2897a41de8 put the channel in autoservice when executing func_shell
18 years ago
Russell Bryant 3f26b8e8cf Merged revisions 83177 via svnmerge from
18 years ago
Tilghman Lesher 82cf384e03 Merged revisions 82285 via svnmerge from
18 years ago
Russell Bryant b068a17e60 Add EXTENSION_STATE() function that can retrieve the state of an extension that
18 years ago
Russell Bryant fa0536aab9 Rename the DEVSTATE() function to DEVICE_STATE() to better conform to how other
18 years ago
Russell Bryant 65b4a88c60 Merge HINT() dialplan function from my sandbox branch into trunk. This function
18 years ago
Tilghman Lesher 314d4e6048 Merged revisions 81415 via svnmerge from
18 years ago
Russell Bryant 2f4a2811b6 Add proper channel locking around the uses of datastore_add and _find. There
18 years ago
Russell Bryant 040a5f20f9 * Constify the uid field of channel datastores
18 years ago
Russell Bryant 0ebb5c8777 Merged revisions 80547 via svnmerge from
18 years ago
Russell Bryant 558d533388 Merged revisions 80539 via svnmerge from
18 years ago
Russell Bryant 5eb7cbef42 use ast_atomic_fetchadd_int for incrementing resultcount
18 years ago
Tilghman Lesher 646234bd10 store and destroy implementations for realtime pgsql (closes issue #10372)
18 years ago
Tilghman Lesher d6eb859bc2 Revise dialplan locks to permit multiple locks per channel, but with deadlock avoidance
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Russell Bryant 047dbef446 Store custom device states in astdb so that they will persist a restart. As a
18 years ago
Russell Bryant e113d36aa4 Merge a set of device state improvements from team/russell/events.
18 years ago
Joshua Colp 602198c402 Merge audiohooks branch into trunk. This is a new API for developers to listen and manipulate the audio going through a channel.
18 years ago
Tilghman Lesher 3257acb922 Add some documentation detailing an aspect of dialplan functions, as requested by Russell
18 years ago