Commit Graph

1186 Commits (2016f5ba100fcadeef8f557d51f8e9db0228f9bf)

Author SHA1 Message Date
Russell Bryant d0cd120d47 - update documentation for some of the goto functions to note that they
19 years ago
Olle Johansson 0c3ec937ce If we get a codec offer using a well-known payload type, but using it for another
19 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.
19 years ago
Tilghman Lesher 095108273b We previously attempted to use the ESCAPE clause to set the escape delimiter to
19 years ago
Kevin P. Fleming a90e90384c re-doxygen some comments
19 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
19 years ago
Russell Bryant 12d60508f3 Temporarily revert revision 89325, which added md5 magic for keeping track of
19 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.
19 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
Russell Bryant aa3b7e22f5 Fix an issue that can occur when you do an attended transfer to parking. If
19 years ago
Tilghman Lesher f0cf18cc75 Solaris x86 compatibility fix
19 years ago
Russell Bryant c95389856a Remove the typedefs on ao2_container and ao2_iterator. This is simply because
19 years ago
Mark Michelson e0b90d3b06 Making match_by_addr into ao2_match_by_addr and making it available
19 years ago
Russell Bryant abc5bbdc36 Remove references to a debugging parameter that does not exist
19 years ago
Russell Bryant ed6d4ec72c When executing a dynamic feature, don't look it up a second time by digit pattern
19 years ago
Russell Bryant b2c65cf51d This is a hack to maintain old behavior of chan_iax2. This ensures that if
19 years ago
Russell Bryant e8c2f715b5 Add some more documentation on iterating ao2 containers. The documentation
19 years ago
Russell Bryant 566371bd50 Merge changes from team/russell/iax_refcount.
19 years ago
Steve Murphy b84f9590a0 ugh. removing the diffs from ulaw.h and alaw.h for now; accidentally added them in 80166
19 years ago
Steve Murphy 4b5a9ae533 This patch solves problem 1 in 8126; it should not slow down the alaw codec, but should prevent signal degradation via multiple trips thru the codec. Fossil estimates the twice thru this codec will prevent fax from working. 4-6 times thru would result hearable, noticeable, voice degradation.
19 years ago
Jason Parker f1cb3f70b7 Don't send a semicolon over the wire in sip notify messages.
19 years ago
Joshua Colp 924c88d3d0 Instead of accepting a single DTMF character accept a full string.
19 years ago
Joshua Colp 4f8857d608 Add an API call to allow the engine to know that DTMF was received.
19 years ago
Steve Murphy 241769b53c From a user complaint on #asterisk, I have forced pbx_spool to explain what reason codes mean, when they are logged
19 years ago
Russell Bryant d21e1596f8 The last set of changes that I made to "core show locks" made it not able to
19 years ago
Russell Bryant ad13307328 Fix the return value of AST_LIST_REMOVE(). This shouldn't be causing any
19 years ago
Russell Bryant 38a51a53db Fix compilation failure when MALLOC_DEBUG is enabled, but DEBUG_THREADS is not
19 years ago
Mark Michelson 05ba4d90d4 Changed the behavior of sip's realtime_peer function to match the corresponding way of matching for non-realtime peers.
19 years ago
Russell Bryant 2f41cceb1f Add some improvements to lock debugging. These changes take effect
19 years ago
Joshua Colp 68c221f69a Add some fixes for building on Solaris.
19 years ago
Joshua Colp bc7150c380 Extend autoconf logic to determine which version of gethostbyname_r is on the system.
19 years ago
Joshua Colp 35ceaca691 Add a flag to the speech API that allows an engine to set whether it received results or not.
19 years ago
Tilghman Lesher e5c3ef3388 Merged revisions 76934 via svnmerge from
19 years ago
Joshua Colp 5f37fa26d2 Instead of figuring out kernel versions that have compiler.h and not... let's just use autoconf to check for it's presence. (issue #10174 reported by francesco_r)
19 years ago
Jason Parker d4a7eb584f Merged revisions 74373 via svnmerge from
19 years ago
Russell Bryant ef2ae2f856 regenerate the configure script for rizzo
19 years ago
Russell Bryant cbdc6b5b2d To prevent 92138749238754 more reports of "I have unixodbc installed, but
19 years ago
Kevin P. Fleming ae82d97c6d use ast_localtime() in every place localtime_r() was being used
19 years ago
Jason Parker 0f45225441 Solaris 10 sometimes (?) needs this include in order to have NULL defined.
19 years ago
Olle Johansson ff2943dd59 Issue #9738 - Make sure we can unload res_jabber. Patch by phsultan - thanks!
19 years ago
Russell Bryant e7dd69eea8 Merged revisions 67715 via svnmerge from
19 years ago
Russell Bryant fe9a3bef4e This bug has been hanging over my head ever since I wrote this SLA code.
19 years ago
Russell Bryant d5fd0cff73 When shutting down "gracefully", go through and run the unload() callbacks for
19 years ago
Russell Bryant 35e7f6e86e Fix some compiler warnings in C++ modules.
19 years ago
Russell Bryant 19a2be29f3 Change a couple of header files to not use "new", which is a reserved keyword
19 years ago
Russell Bryant c061b86966 Checking for the strip application needs to be done with AC_PATH_TOOL
19 years ago
Jason Parker b4ea07a7eb Fix handling of zero-length frames when a codec is capable of native PLC.
19 years ago
Steve Murphy dfee354cfa Merged revisions 65172 via svnmerge from
19 years ago
Tilghman Lesher 002214d84f Merged revisions 64819 via svnmerge from
19 years ago
Joshua Colp 99cdfb2542 Merged revisions 63285 via svnmerge from
19 years ago
Russell Bryant 63a37f4755 When serving dynamic content, include a Cache-Control header to instruct the
19 years ago
Joshua Colp 1d4adc0174 Merged revisions 61804 via svnmerge from
19 years ago
Russell Bryant 456cad8a47 Improve DTMF handling in ast_read() even more in response to a discussion on
19 years ago
Russell Bryant 70eb19121e Fix the UpdateConfig manager action to properly treat "variables" and "objects"
19 years ago
Steve Murphy 7d5a79a0b9 This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered.
19 years ago
Tilghman Lesher a5872f439b Merged revisions 60849 via svnmerge from
19 years ago
Russell Bryant 06ff84b549 To be able to achieve the things that we would like to achieve with the
19 years ago
Joshua Colp f996b1cbc8 Add support for returning different types of results (ie: NBest).
19 years ago
Steve Murphy 798039b4d8 several changes via kpflemings review
19 years ago
Steve Murphy 9c69e34f62 These mods fix CDR issues from 8221, 8593, 8680, 8743, and perhaps others. Mainly with CDRs generated from transfer situations.
19 years ago
Russell Bryant fa97f6c381 The AUDIORTPQOS and VIDEORTPQOS variables are not fully functional in some
19 years ago
Nadi Sarrar 980b0bc785 * mISDN >= 1.2 provides a dsp pipeline for i.e. echo cancellation modules, make chan_misdn use it.
19 years ago
Steve Murphy 6e869d135c The fix for the AEL <<security hole>> (bug 9316) is here...
19 years ago
Russell Bryant fed69df9cd Add configure script checking for GTK2 and some additional Makefile targets
19 years ago
Russell Bryant 31cf37519f Merge changes from svn/asterisk/team/russell/sla_updates
19 years ago
Russell Bryant 71275050ab Increase the maximum number of manager headers to 128, at the request of Pari.
19 years ago
Russell Bryant 137835c878 If the pg_config application is found, but there is probably executing it,
19 years ago