Commit Graph

1144 Commits (b8c8dee621b0cbd0bd52a4f445a28acd15c0aa72)

Author SHA1 Message Date
Tilghman Lesher b8c8dee621 Solaris requires the inclusion of sys/loadavg.h for getloadavg().
18 years ago
Mark Michelson 7b052b78e1 A big one...
18 years ago
Joshua Colp b18d1bdd1a Preserve the indication currently playing on a channel when a masquerade operation happens. (issue #BE-88)
18 years ago
Russell Bryant 1f8caa100d Change the behavior of ao2_link(). Previously, in inherited a reference.
18 years ago
Russell Bryant 82757dfaa1 Add some notes on the behavior of ao2_unlink() after a discussion with Tilghman
18 years ago
Tilghman Lesher 2c11f7d18e Use of "private" as a field name in a header file messes with C++ projects
18 years ago
Russell Bryant 2fc83c3db1 This set of changes is to make some callerID handling thread-safe.
18 years ago
Russell Bryant 1380790b60 Merge a change from team/russell/chan_refcount ...
18 years ago
Russell Bryant d0cd120d47 - update documentation for some of the goto functions to note that they
18 years ago
Olle Johansson 0c3ec937ce If we get a codec offer using a well-known payload type, but using it for another
18 years ago
Steve Murphy 1975b6e753 closes issue #11379; OK, this is an attempt to make both sides happy. To the cdr.conf file, I added the option 'unanswered', which defaults to 'no'. In this mode, you will see a cdr for a call, whether it was answered or not. The disposition will be NO ANSWER or ANSWERED, as appropriate. The src is as you'd expect, the destination channel will be one of the channels from the Dial() call, usually the last in the list if more than one chan was specified. With unanswered set to 'yes', you will still see this cdr entry in both cases. But in the case where the dial timed out, you will also see a cdr for each line attempted, marked NO ANSWER, with no destination channel name. The new option defaults to 'no', so you don't see the pesky extra cdr's by default, and you will not see the irritating 'not posted' messages.
18 years ago
Tilghman Lesher 095108273b We previously attempted to use the ESCAPE clause to set the escape delimiter to
18 years ago
Kevin P. Fleming a90e90384c re-doxygen some comments
18 years ago
Kevin P. Fleming 337fb0c37f bring back compile-option checking when loading modules, only this time use a string-based storage and comparison mechanism because it is easier to support on other platforms
18 years ago
Russell Bryant 12d60508f3 Temporarily revert revision 89325, which added md5 magic for keeping track of
18 years ago
Kevin P. Fleming 22b119d188 To help combat problems where people build external modules (asterisk-addons or others) and then change the build options of the Asterisk build in a way that makes the incompatible without warning, this commit introduces an MD5 signature of the important build-time options and includes that signature into modules when they are built. When the loader loads one of these modules and notices the problem, it will emit a warning to console and refuse to initialize the module, as doing so could cause the system to be unstable or even crash.
18 years ago
Tilghman Lesher f75916e7be We went to the trouble of creating a method of tracking failed trylocks, then never turned it on (oops).
19 years ago
Russell Bryant c60344fd8e Remove some checks to see if locks are initialized from the non-DEBUG_THREADS
19 years ago
Kevin P. Fleming 2c76da2828 update comment to match the state of the code
19 years ago
Russell Bryant 34002d567b After seeing crashes related to channel variables, I went looking around at the
19 years ago
Russell Bryant 5d140cb9c2 Merge changes from asterisk/team/kpfleming/SRV-priority-handling
19 years ago
Luigi Rizzo a0edff2477 Rename ast_string_field_free_pool to ast_string_field_free_memory,
19 years ago
Tilghman Lesher 014b83fad6 Fix build on Solaris
19 years ago
Tilghman Lesher 1d34377a9c Fix for uninitialized mutexes on *BSD
19 years ago
Russell Bryant b2382349dc Add some more details to the output of "core show locks". When a thread
19 years ago
Steve Murphy 4c7393a6a4 closes issue #11086 where a user complains that references to following contexts report a problem; The problem was REALLy that he was referring to empty contexts, which were being ignored. Reporter stated that empty contexts should be OK. I checked it out against extensions.conf, and sure enough, empty contexts ARE ok. So, I removed the restriction from AEL. This, though, highlighted a problem with multiple contexts of the same name. This should be OK, also. So, I added the extend keyword to AEL, and it can preceed the 'context' keyword (mixed with 'abstract', if nec.). This will turn off the warnings in AEL if the same context name is used 2 or more times. Also, I now call ast_context_find_or_create for contexts now, instead of just ast_context_create; I did this because pbx_config does this. The 'extend' keyword thus becomes a statement of intent. AEL can now duplicate the behavior of pbx_config,
19 years ago
Kevin P. Fleming 214a5ca25e appending one list to another should leave the first list empty, and not require the user to do that
19 years ago
Russell Bryant d18ac4dcca If lock tracking is not enabled, then we can not attempt to log any mutex
19 years ago
Russell Bryant 6f9f535896 Update the static mutex initializer to include the initialization of
19 years ago
Russell Bryant 9df6ebe9b9 The channel needs to stay locked while running timer callbacks, as they access
19 years ago
Russell Bryant 6f38c9d211 really picky formatting tweak ...
19 years ago
Russell Bryant 7cd8afd1ea Some locking errors exposed the fact that the lock debugging code itself was
19 years ago
Russell Bryant 6b9addb181 Make a few changes so that characters in the upper half of the ISO-8859-1
19 years ago
Russell Bryant bad30446a6 Fix an issue with console verbosity when running asterisk -rx to execute a command
19 years ago
Russell Bryant 6c18b111b9 Properly handle the case where read() may return the text for more than one
19 years ago
Russell Bryant 863ae211da I introduced a new member to the ast_filestream struct in 1.4.12, but put it
19 years ago
Kevin P. Fleming 9cdda4fc78 use a macro instead of an inline function, so that backtraces will report the caller of ast_frame_free() properly
19 years ago
Tilghman Lesher 96d11d3e02 This commit fixes the following issues:
19 years ago
Russell Bryant 5fdc354155 Fulfull a feature request from Qwell on the "core show locks" output. It will
19 years ago
Russell Bryant 2cc21a3e83 Show rwlocks in the "core show locks" output. Before, it only showed mutexes.
19 years ago
Russell Bryant 2ef9410363 Fix the AST_MODULE_INFO macro for C++ modules. The load and reload parameters
19 years ago
Dwayne M. Hubbard 7c4e477fde if an Agent is redirected, the base channel should actually be redirected. This was causing multiple issues, especially issue 7706 and BE-160
19 years ago
Russell Bryant d6b8fb4dc0 gcc 4.2 has a new set of warnings dealing with cosnt pointers. This set of
19 years ago
Russell Bryant 0f23b76a39 Add a new patch to handle interrupting the fgets() call when using FastAGI.
19 years ago
Russell Bryant 5213f548f5 Add checking for libusb here, so nobody has to deal with conflicts in the
19 years ago
Russell Bryant c8dd4e7430 Only compile in tracking astobj2 statistics if dev-mode is enabled. Also, when
19 years ago
Tilghman Lesher e28d1357de Working on issue #10531 exposed a rather nasty 64-bit issue on ast_mktime, so we
19 years ago
Tilghman Lesher 2fc5a853d4 Fix inline compiles on really old compilers (who uses gcc 2.7 anymore, really?)
19 years ago
Jason Parker 82c701b0eb This should fix a build issue that people building against uClibc were seeing with the addition of astobj2
19 years ago
Philippe Sultan 8e10babcbd Various string length fixes. Removed an unused variable in aji_client structure (context)
19 years ago