Commit Graph

1162 Commits (1156daa2e48a38488df9fc233a4010ee86f8abfa)

Author SHA1 Message Date
Joshua Colp a0c14dbda3 Add autoconf logic for speexdsp. Later versions use a separate library for some things so we need to use it if present in codec_speex.
18 years ago
Russell Bryant 7a007060bd Commit a fix for some memory access errors pointed out by the valgrind2.txt
18 years ago
Russell Bryant 45f3890926 Backport the ability to set the ToS bits on Linux when not running as root.
18 years ago
Jason Parker 00b8f86349 Fix a comment that is no longer true.
18 years ago
Russell Bryant 742fd8127c Remove pbx_kdeconsole from the tree. It hasn't worked in ages, and nobody has
18 years ago
Russell Bryant 67df6e008d Use the constant that I really meant to use here ...
18 years ago
Russell Bryant 5977f8d5be Convert the contexts lock to a read/write lock to resolve a deadlock. This
18 years ago
Russell Bryant 612d0b8f45 Check for the existence of the soxmix application on the target platform and have
18 years ago
Tilghman Lesher 8057fb41cb Today is tomorrow's yesterday, and yesterday's tomorrow is today, and
18 years ago
Kevin P. Fleming 627f595c58 In http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html,
18 years ago
Mark Michelson c9f389a45d When compiling with DETECT_DEADLOCKS, don't spam the CLI with messages
18 years ago
Tilghman Lesher b4b34f080d Test directly for the API that fixed AST-2007-026, to ensure that older
18 years ago
Russell Bryant 7be75dbbc9 Fix another bug in the DEBUG_THREADS code. The ast_mutex_init() function had
18 years ago
Russell Bryant 168a6bed5a I love fixing lock related errors in the lock debugging code. That's about as
18 years ago
Russell Bryant 0522e3d872 Add a new module flag to indicate that a build sum is present. Modules built
18 years ago
Olle Johansson 95dce3bbba Make sure logger is reloaded at general reload in the cli.
18 years ago
Russell Bryant eccfefae2c Fix some crashes in chan_iax2 that were reported as happening on Mac systems.
18 years ago
Russell Bryant fc232a9a27 Modify file.h to maintain API compatibility with earlier versions. If a recent
18 years ago
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