Commit Graph

1078 Commits (1f62b98d45c38e1185dbb9d51a0343972f4cbfe0)

Author SHA1 Message Date
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.
19 years ago
Kevin P. Fleming ee8ce744c3 use m4 quoting for AC_MSG_NOTICE calls, to keep these calls from thinking they have multiple arguments
19 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)
19 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)
19 years ago
Olle Johansson f89143bd13 - Disable RTP hold timers while T.38 fax transmission happens
19 years ago
Russell Bryant 1298cf0ea6 Backport the comment containing the warning regarding the limitations on the
19 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)
19 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)
19 years ago
Matt O'Gorman 5b02ba2bf1 woohoo safe out put!
19 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.
19 years ago
Kevin P. Fleming f532d2f198 add an API so that translators can activate/deactivate themselves when needed
19 years ago
Kevin P. Fleming 160a0448c2 revert changes that were the wrong way to address this... proper fix coming
19 years ago
Kevin P. Fleming 59186bb2d2 don't re-do setup operations for translators that can dynamically register themselves
19 years ago
Olle Johansson d318976f4d Issue #8089 - Fix the ENUM support (picking one record by number). Thanks otmar!
19 years ago
Kevin P. Fleming c874ff482b ensure that items removed from a list are always unlinked from the list (next pointer set to NULL)
19 years ago
Olle Johansson 86c973f71f Issue #8246 - Doxygen fixes from kshumard.
19 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)
19 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
19 years ago
Kevin P. Fleming 227d415709 optimize the 'quick response' code a bit more... no more malloc() or memset() for each response
19 years ago
Kevin P. Fleming 1944a9a07c use a configure script test for PMTU discovery control instead of just assuming it's available on Linux
19 years ago
Kevin P. Fleming 09f6a6a167 Merged revisions 44955 via svnmerge from
19 years ago
Paul Cadach 53024e3508 CHANNEL() function sometime mix parameter and value
19 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)
19 years ago
Kevin P. Fleming 5c4434d0e7 make LOW_MEMORY builds actually work
19 years ago
Kevin P. Fleming ff05bf15c8 update thread creation code a bit
19 years ago
Kevin P. Fleming fc72291807 ensure that local include files are always used
19 years ago
Matt O'Gorman 5058b9e13f updated res_jabber for even better component support, soon will be jep-0100 compliant.
19 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
19 years ago
Joshua Colp d2d4833b79 Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)
19 years ago
Paul Cadach bfaac1699c Put attribute tag at correct place
19 years ago
Joshua Colp 2862b777fe Merged revisions 43705 via svnmerge from
19 years ago
Russell Bryant eb89724010 backport the compatability fix to use attribute_malloc instaed of
19 years ago
Matt O'Gorman ff11e64e67 updates for better compontent support
19 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
19 years ago
Jason Parker 261e84229d Avoid errors when compiling out of tree modules like asterisk-addons.
19 years ago
Kevin P. Fleming 505c465a3b these functions never should have been non-static or in a header file
19 years ago
Kevin P. Fleming 32d119746c move ODBC API into ast_ namespace
19 years ago
Kevin P. Fleming ea399862c4 move more API into the ast_ namespace
19 years ago
Kevin P. Fleming 41d3e99e28 move ADSI functionality into ast_ namespace
19 years ago
Kevin P. Fleming 1485fa4c24 move this header to include where it belongs
19 years ago
Jason Parker fc60c151d3 After discussing this with other people, we decided we'd like to try to do this a little differently.
19 years ago
Anthony LaMantia 3f3402d69e 5240 update
19 years ago
Matthew Fredrickson 3c4dc2033f Update configure and closest kin. *Hopes my branch doesn't break*
19 years ago
Matt O'Gorman 465adf2bf1 allow for packetization on rtp channel drivers, need to add
19 years ago
Kevin P. Fleming 734a3d356e don't need two copies of this
19 years ago
Kevin P. Fleming 7b43316cbc a little cleanup and simplification, and remove ON_FIRST_USE mode since nobody uses it
19 years ago
Jason Parker 31d25ac6f3 u_intXX_t is silly
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Kevin P. Fleming c2c4f86c72 merge markster's usersconf branch with some slight changes
19 years ago
Jason Parker f18cbf77df Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.c
19 years ago
Joshua Colp bc5924120d Remove old unused functions
19 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.
19 years ago
Russell Bryant 4de3c0e447 Add the ability to specify that a frame should not be considered for caching
19 years ago
Joshua Colp c6977b9983 Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
19 years ago
Joshua Colp 12b6ec4e11 Use an API call (ast_rtp_get_bridged) to return the RTP stream we are bridged to, and also use it in chan_sip so we know to ignore the no RTP activity checking
19 years ago
Kevin P. Fleming ece7018515 add one remaining bit of functionality to the features.conf applicationmap (from Matt Nicholson in Digium Express Services)
19 years ago
Russell Bryant f7e7161607 Merge team/russell/frame_caching
19 years ago
Joshua Colp c70ed7614a Merge in RTP-level packet bridging. Packet comes in, packet goes out - that's what RTP-level packet bridging is all about!
19 years ago
Russell Bryant 3a83fbed5b menuselect doesn't use asterisk's autoconfig.h anymore, so this ifdef can be
19 years ago
Russell Bryant 1ff5a0988d Merged revisions 40994 via svnmerge from
19 years ago
Olle Johansson 8b3aeaeae6 Fixing a comment
19 years ago
Kevin P. Fleming 7eecf0bfbc use RTLD_NOLOAD if it's available to make loading dynamic modules a little faster and less resource-intensive
19 years ago
Kevin P. Fleming 74fb27c15f add a new include file for out-of-tree modules that need to know where things are located
19 years ago
Joshua Colp 432e19f2b7 Sorry, but this does not resemble malloc... so GCC was ignoring the attribute and throwing a warning.
19 years ago
Kevin P. Fleming 26fa229138 restore 'preload' functionality in loader
19 years ago
Kevin P. Fleming 6cd063c74d use new configure-provided wrappers for attributes
19 years ago
Russell Bryant d030102eed - use a common error message in all of the memory allocation macros
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Russell Bryant 5dc72404ab convert lists of constants in channel.h to enums instead of #defines
19 years ago
Matt O'Gorman a95851978b updating configure script and putting comments in the docs
19 years ago
Joshua Colp ecb907e010 Use OSAtomicAdd instead of OSAtomicDecrement to decrement the value by 1.
19 years ago
Russell Bryant 9ad9e42c3e add MacroExclusive application, a Macro that only one call can executed at
19 years ago
Russell Bryant fd82d4569c increase the maximum length of the mohinterpret/mohsuggest options (issue #7696)
19 years ago
Russell Bryant 92bd7f19f7 Merge team/russell/ast_verbose_threadstorage
19 years ago
Steve Murphy 3042d0e046 This commit folds in changes to both stringfields (some enhancements to the ...field_set() macro, to optimize setting strings to empty, resetting strings to shorter contents, etc.) and to chan_iax2.c, to use stringfields in the user, peer, and pvt structs. Has been running stably on iaxtel, but while iaxtel has a large registration volume, it doesn't seem to have a high call volume. So far, it seems to reduce heap usage by over half. YMMV\! Please report any IAX bugs that might involve stringfields\!
19 years ago
Steve Murphy 14c12fed9b The contents of branch teams/murf/bug_7598 are being folded in here.
19 years ago
Russell Bryant 4d7c67fc72 Merge my applicationmap_fixup branch to address the issues described in this
19 years ago
Tilghman Lesher a9f8f09c19 Add details about flash and wait to doxygen about DTMF.
19 years ago
Mark Spencer f2a6636210 Allow updates to match specific lines, allow specification of object or
19 years ago
Kevin P. Fleming 4bc6613648 add ExtenSpy variant of ChanSpy
19 years ago
Russell Bryant 99f9d827c1 the pure attribute was not implemented before gcc 2.96. Since we have this
19 years ago
Russell Bryant 450db95711 add macros for the pure and const attributes to compiler.h, in case they ever
19 years ago
Russell Bryant d6246e579f Add the function attribute "pure" or "const" to various functions that perform
19 years ago
Russell Bryant b04f059b4a As discussed and decided on the asterisk-dev mailing list ...
19 years ago
Kevin P. Fleming 3314ea0d59 move slinfactory structure definition back to header... it's just easier to use this way
19 years ago
Kevin P. Fleming d079b1c49f more slinfactory structure definition to inside implementation module
19 years ago
Kevin P. Fleming a8b85fda84 more simplification, and correct a bug i introduced in the last commit
19 years ago
Russell Bryant 41ab9c5015 remove an XXX comment and document that ast_autoservice_start() will return -1
19 years ago
Russell Bryant ca9ba719b6 Merge a new implementation of ast_inet_ntoa, our thread safe replacement for
19 years ago