Commit Graph

1215 Commits (b2f0add41cd6ed87d2e7e66ec785a2b49445164e)

Author SHA1 Message Date
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
Russell Bryant 3ed86f887e Fix the documentation on the return values from device state provider
19 years ago
Russell Bryant 913948066e Change ast_set_state_callback() to ast_dial_set_state_callback()
19 years ago
Russell Bryant 5bc6ee1714 - Add the ability to register a callback to monitor state changes in an
19 years ago
Russell Bryant 7ee02f585d Merge team/russell/sla_rewrite
19 years ago
Russell Bryant ff1ca74145 When we are checking for a system installed version of libgsm, we need to check
19 years ago
Russell Bryant 824bed6260 Clean up a few things in the last commit to the adaptive jitterbuffer code.
19 years ago
Jim Dixon 2132e4f865 Fixed problem with jitterbuf, whereas it would not complain about, and
19 years ago
Russell Bryant 6abcb7ae23 Fix the formatting of doxygen comments to properly indicate that the comment
19 years ago
Joshua Colp 8acccb9254 Merge in dialing API and the app_page that uses it. (issue #BE-118)
19 years ago
Russell Bryant 33235b40d6 Merge the changes from the /team/group/vldtmf_fixup branch.
19 years ago
Kevin P. Fleming dd357a71a7 use the ACX_PTHREAD macro from the Autoconf macro archive for setting up compiler pthreads support... should improve portability to platforms with unusual pthreads requirements
19 years ago
Joshua Colp 240ca25bea Add support to see whether NAT was detected (yay symmetric RTP) and also add a check in chan_sip so that if NAT has been detected and the reinvite behind nat option has been turned off, then just do partial bridge. (issue #8655 reported by mnicholson)
19 years ago
Kevin P. Fleming 444adcb477 reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases
19 years ago
Kevin P. Fleming 46d91e71c5 add support for tracking thread-local-storage objects that exist via 'threadstorage' CLI commands
19 years ago
Joshua Colp 345968e6fb Backport support for read/write locks.
19 years ago
Steve Murphy 4d6a91eef0 removed <err.h> as in trunk from the ael stuff. Also, threw in a minor fix to frame.c to avoid build-killing compiler warnings.
19 years ago
Kevin P. Fleming 3307ae060a move extern declaration for this option to a header file where it belongs
19 years ago
Kevin P. Fleming b2c8abbc6d allow 'show memory' and 'show memory summary' to distinguish memory allocations that were done for caching purposes, so they don't look like memory leaks
19 years ago
Joshua Colp 9cc04e026d Add an API call that initializes an RTP structure. We need this because chan_sip is cheeky and uses a temporary RTP structure for codec purposes, and the API calls that are used rely on the lock. (Pointed out on asterisk-dev by Andy Wang)
19 years ago
Luigi Rizzo f9e3c1ecb0 unbreak the macro used for incrementing the frame counters.
20 years ago
Kevin P. Fleming ee8ce744c3 use m4 quoting for AC_MSG_NOTICE calls, to keep these calls from thinking they have multiple arguments
20 years ago
Kevin P. Fleming be1b5dab06 since we really, really have to have autoconfig.h included before all other headers (especially system headers), the Makefile will now force it to happen (this will fix build problems with files like ast_expr2f.c, where we can't control the inclusion order in the file itself)
20 years ago
Joshua Colp 0995fb8aeb Payload values on the RTP structure can change AFTER a bridge has started. This comes from the packet handling of the SIP response when indication that it was answered has been sent. Therefore we need to protect this data with a lock when we read/write. (issue #8232 reported by tgrman)
20 years ago
Olle Johansson f89143bd13 - Disable RTP hold timers while T.38 fax transmission happens
20 years ago
Russell Bryant 1298cf0ea6 Backport the comment containing the warning regarding the limitations on the
20 years ago
Joshua Colp b2b70adede Do not do a partial bridge for Google Talk since we need to handle STUN. (issue #8448 reported by phsultan)
20 years ago
Joshua Colp 335630b10c Use a separate variable in the channel structure to store the context that the channel was dialed from. (issue #8382 reported by jiddings)
20 years ago
Matt O'Gorman 5b02ba2bf1 woohoo safe out put!
20 years ago
Steve Murphy 517978fd5f These mods are to solve the problem in bug 7506. It's a lot of rework to solve a fairly small problem... such is life.
20 years ago
Kevin P. Fleming f532d2f198 add an API so that translators can activate/deactivate themselves when needed
20 years ago
Kevin P. Fleming 160a0448c2 revert changes that were the wrong way to address this... proper fix coming
20 years ago
Kevin P. Fleming 59186bb2d2 don't re-do setup operations for translators that can dynamically register themselves
20 years ago
Olle Johansson d318976f4d Issue #8089 - Fix the ENUM support (picking one record by number). Thanks otmar!
20 years ago
Kevin P. Fleming c874ff482b ensure that items removed from a list are always unlinked from the list (next pointer set to NULL)
20 years ago
Olle Johansson 86c973f71f Issue #8246 - Doxygen fixes from kshumard.
20 years ago
Kevin P. Fleming 6c17f1e07e add passthrough and file format support for G.722 16KHz audio (issue #5084, original patch by andrew, updated by mithraen)
20 years ago
Kevin P. Fleming d2b10d5f4f add an API call to allow channel drivers to determine which media formats are compatible (passthrough or transcode) with the format an existing channel is already using
20 years ago
Kevin P. Fleming 227d415709 optimize the 'quick response' code a bit more... no more malloc() or memset() for each response
20 years ago
Kevin P. Fleming 1944a9a07c use a configure script test for PMTU discovery control instead of just assuming it's available on Linux
20 years ago
Kevin P. Fleming 09f6a6a167 Merged revisions 44955 via svnmerge from
20 years ago
Paul Cadach 53024e3508 CHANNEL() function sometime mix parameter and value
20 years ago
Kevin P. Fleming f804e2f153 ensure that mutex locks inside list heads are initialized properly on platforms that require constructor initialization (issue #8029, patch from timrobbins)
20 years ago
Kevin P. Fleming 5c4434d0e7 make LOW_MEMORY builds actually work
20 years ago
Kevin P. Fleming ff05bf15c8 update thread creation code a bit
20 years ago
Kevin P. Fleming fc72291807 ensure that local include files are always used
20 years ago
Matt O'Gorman 5058b9e13f updated res_jabber for even better component support, soon will be jep-0100 compliant.
20 years ago
Kevin P. Fleming 69528cec15 eliminate compiler warning when DEBUG_CHANNEL_LOCKS is enabled and users of this header file don't also include channel.h
20 years ago
Joshua Colp d2d4833b79 Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)
20 years ago
Paul Cadach bfaac1699c Put attribute tag at correct place
20 years ago
Joshua Colp 2862b777fe Merged revisions 43705 via svnmerge from
20 years ago
Russell Bryant eb89724010 backport the compatability fix to use attribute_malloc instaed of
20 years ago
Matt O'Gorman ff11e64e67 updates for better compontent support
20 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
20 years ago
Jason Parker 261e84229d Avoid errors when compiling out of tree modules like asterisk-addons.
20 years ago
Kevin P. Fleming 505c465a3b these functions never should have been non-static or in a header file
20 years ago
Kevin P. Fleming 32d119746c move ODBC API into ast_ namespace
20 years ago
Kevin P. Fleming ea399862c4 move more API into the ast_ namespace
20 years ago
Kevin P. Fleming 41d3e99e28 move ADSI functionality into ast_ namespace
20 years ago
Kevin P. Fleming 1485fa4c24 move this header to include where it belongs
20 years ago
Jason Parker fc60c151d3 After discussing this with other people, we decided we'd like to try to do this a little differently.
20 years ago
Anthony LaMantia 3f3402d69e 5240 update
20 years ago
Matthew Fredrickson 3c4dc2033f Update configure and closest kin. *Hopes my branch doesn't break*
20 years ago
Matt O'Gorman 465adf2bf1 allow for packetization on rtp channel drivers, need to add
20 years ago
Kevin P. Fleming 734a3d356e don't need two copies of this
20 years ago
Kevin P. Fleming 7b43316cbc a little cleanup and simplification, and remove ON_FIRST_USE mode since nobody uses it
20 years ago
Jason Parker 31d25ac6f3 u_intXX_t is silly
20 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
20 years ago
Kevin P. Fleming c2c4f86c72 merge markster's usersconf branch with some slight changes
20 years ago
Jason Parker f18cbf77df Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.c
20 years ago
Joshua Colp bc5924120d Remove old unused functions
20 years ago
Joshua Colp 55d594e9da Make the difference clear about what the responsibilities of the core and a spy are when it comes to spying on a channel. The core is responsible for adding a spy to a channel, feeding frames into the spy, removing the spy from the channel, and notifying the spy that is has been detached. The spy is responsible for reading frames in, and cleaning itself up. Each side will not try to do the other's job.
20 years ago