Commit Graph

2679 Commits (1a38b870cd3c61c74c2a8fe83c765e27542d87bb)

Author SHA1 Message Date
Luigi Rizzo cda3df64d8 more header removal
18 years ago
Luigi Rizzo 51391e6b09 shuffle a little bit the content of header files to reduce dependencies.
18 years ago
Luigi Rizzo 200f9c633b remove some useless includes
18 years ago
Luigi Rizzo ea2c54859d more removal of redundant headers
18 years ago
Luigi Rizzo b1fe2d85d3 remove redundant headers
18 years ago
Luigi Rizzo 3fc2646808 remove a number of #include <fcntl.h> which are either
18 years ago
Steve Murphy 86476c607f closes issue #11285, where an unload of a module that creates a dialplan context, causes a crash when you do a 'dialplan show' of that context. This is because the registrar string is defined in the module, and the stale pointer is traversed. The reporter offered a patch that would always strdup the registrar string, which is practical, but I preferred to destroy the created contexts in each module where one is created. That seemed more symmetric. There were only 6 place in asterisk where this is done: chan_sip, chan_iax2, chan_skinny, res_features, app_dial, and app_queue. The two apps destroyed the context, but left the contexts. All is fixed now and unloads should be dialplan friendly.
18 years ago
Luigi Rizzo 7e8835e0d7 remove another set of redundant #include "asterisk/options.h"
18 years ago
Mark Michelson ffa8035212 Merged revisions 89495 via svnmerge from
18 years ago
Mark Michelson 9c275b0e51 Merged revisions 89493 via svnmerge from
18 years ago
Tilghman Lesher 1c295be7a0 Change Read to set READSTATUS as an indication of the result
18 years ago
Russell Bryant 6335b4b30d Merge changes from team/russell/sla_trunk_moh ...
18 years ago
Tilghman Lesher cbfc6dcbea Make trunk build again
18 years ago
Luigi Rizzo a23c055c3d move asterisk/paths.h outside asterisk.h and into those files
18 years ago
Luigi Rizzo 6938f4b2b0 Fix building of modules under cygwin.
18 years ago
Luigi Rizzo ffd86fc964 more errno.h removal
18 years ago
Luigi Rizzo 0595b5e2aa include "logger.h" and errno.h from asterisk.h - usage shows that they
18 years ago
Joshua Colp 23cfef1cc9 Change warning messages (which are really debug messages) into debug messages.
18 years ago
Luigi Rizzo 24c2e47e0d another cygwin compatibility fix.
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
Mark Michelson 68a805b70b Adding confirmation playback when forwarding voicemail messages. This will attempt
18 years ago
Mark Michelson 2f7440932c Merged revisions 89323 via svnmerge from
18 years ago
Tilghman Lesher 8044dce3c0 Fix trunk breakage due to chan->lock being renamed.
18 years ago
Russell Bryant 1bf63d1c5b Merged revisions 89296 via svnmerge from
18 years ago
Luigi Rizzo 09d9cce1d8 access channel locks through ast_channel_lock/unlock/trylock and not
18 years ago
Luigi Rizzo 7f8ecd2cd3 make the 'name' and 'value' fields in ast_variable const char *
18 years ago
Russell Bryant 0df5e50e97 Use BEGIN_OPTIONS / END_OPTIONS to make the syntax highlighting in my editor happy
18 years ago
Russell Bryant 31512895ae Instead of reserving 800 bytes for periodic announcements, use an array of
18 years ago
Russell Bryant 76696ac65f Convert most of the strings in the call_queue struct to use stringfields.
18 years ago
Mark Michelson e4bb565530 Merged revisions 89241 via svnmerge from
18 years ago
Mark Michelson 13c49f6cce There is the potential to copy uninitialized memory into the mixmonitor->post_process
18 years ago
Mark Michelson 1d4c579422 Merged revisions 89205 via svnmerge from
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
Mark Michelson 35d7946cda app_voicemail failed to build when compiling with IMAP_STORAGE
18 years ago
Tilghman Lesher 3a70afbc3e Add the FILE() dialplan function and deprecate ReadFile.
18 years ago
Luigi Rizzo 01a1cfd262 use %f instead of %lf (the 'l' is ignored anyways).
18 years ago
Kevin P. Fleming edc78d6023 improve linked-list macros in two ways:
18 years ago
Tilghman Lesher 97744f54e7 Merged revisions 89093 via svnmerge from
18 years ago
Mark Michelson 4f34bc609b If imapfolder has been specified in voicemail.conf, we should not connect to INBOX...
18 years ago
Tilghman Lesher 6f3f010ca0 Suppress erroneous warnings on load.
18 years ago
Russell Bryant e309393920 Added the ability to do "meetme concise" with the "meetme" CLI command.
18 years ago
Mark Michelson 0cd3118a62 Adding the queue strategy wrandom
18 years ago
Russell Bryant a06218ee6d Added the S() and L() options to the MeetMe application. These are pretty
18 years ago
Mark Michelson 01e1f6cc94 Added CLI and manager commands for changing a queue member's penalty
18 years ago
Mark Michelson 5a4867543d "show application <foo>" changes for clarity.
18 years ago
Luigi Rizzo 08b10da53b Simplify the implementation and the API for stringfields;
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
Joshua Colp e3f3a640c0 Merged revisions 88026 via svnmerge from
18 years ago