Commit Graph

1287 Commits (f311539733fed595cfc2fd2fdfead06fcb6e69b7)

Author SHA1 Message Date
Kevin P. Fleming 6a0bcc4754 fix up namespace pollution for dahdi_chan_mode enum
18 years ago
Kevin P. Fleming 0faccba9cb use renamed libpri API call for controlling this feature (was improperly named before)
18 years ago
Tilghman Lesher 79b6c3f9d6 Spinlock within the destroy, to allow a scheduled job to continue, if it's
18 years ago
Tilghman Lesher 89b6e63a8b Preserve ABI compatibility with last change
18 years ago
Tilghman Lesher 64bbce9b9b Make the ast_assert call within ast_sched_del report something useful.
18 years ago
Kevin P. Fleming ced50934cb remove the dlfcn compatibility stuff, because no platforms that Asterisk currently runs on it use it, and it doesn't build anyway
18 years ago
Kevin P. Fleming 75c6f9ab0f a whole pile of Zaptel/DAHDI compatibility work, with lots more to come... this tree is not yet ready for users to be easily upgrading or switching, but it needs to be :-)
18 years ago
Kevin P. Fleming 92ef406265 new installations should be using DAHDI instead of Zaptel, so the sample config file is now chan_dahdi.conf instead of zapata.conf
18 years ago
Kevin P. Fleming 2ea77b3508 add support for a configuration parameter for 'inband audio during RELEASE', which is currently mandatory in libpri-1.4.4 but will become configurable in libpri-1.4.5 later today
18 years ago
Russell Bryant 37f91908e6 add a simple ASTOBJ_TRYWRLOCK macro ...
18 years ago
Tilghman Lesher e46bb5f5bc Cause SIP to return a 480 instead of a 404 when a sip peer exists, but is not
18 years ago
Tilghman Lesher e9d086a277 Fix the 'dialplan remove extension' logic, so that it a) works with cidmatch,
18 years ago
Steve Murphy e9f5152eba The CDRfix4/5/6 omnibus cdr fixes.
18 years ago
Russell Bryant 791f9b12d3 Fix a typo in the non-DEBUG_THREADS version of the recently added DEADLOCK_AVOIDANCE()
19 years ago
Tilghman Lesher c20daa7d8c Since HAVE_DAHDI is defined to HAVE_ZAPTEL in dahdi_compat.h, we must first
19 years ago
Tilghman Lesher db4ae54745 In this debugging function, copy to a buffer instead of using potentially unsafe pointers.
19 years ago
Kevin P. Fleming 994998a9da allow tonezone to live in a different place than DAHDI/Zaptel, since dahdi-tools and dahdi-linux are now separate packages and can be installed in different places
19 years ago
Jeff Peeler a2266547c6 fixed dahdi compatability header from assuming either dahdi or zaptel is installed (may not have either)
19 years ago
Jeff Peeler f9818af8dd Adds DAHDI support alongside Zaptel. DAHDI usage favored, but all Zap stuff should continue working. Release announcement to follow.
19 years ago
Steve Murphy 5c2cf0f3c0 (closes issue #10668)
19 years ago
Terry Wilson c340004d76 Backport fix for 11520--for some reason I didn't do this back in February when I patched for trunk.
19 years ago
Russell Bryant 3d461c7cb6 Oddly enough, all of the contents of audiohook.h were in there twice. I have
19 years ago
Tilghman Lesher ba9f012573 Define also when not DEBUG_THREADS
19 years ago
Tilghman Lesher 65808210e9 Add some debugging code that ensures that when we do deadlock avoidance, we
19 years ago
Tilghman Lesher 3fcdfbf20f Add format type checking for recently de-inlined function
19 years ago
Russell Bryant a3d59980ea Don't declare a function that takes variable arguments as inline, because it's
19 years ago
Tilghman Lesher c10b6550ea The addition of usleep(2) within ast_assert requires the inclusion of the unistd.h header
19 years ago
Russell Bryant 4b2a679f9e Add ast_assert(), which can be used to handle fatal errors. It is only compiled
19 years ago
Mark Michelson 1167869a80 A change to the way channel locks are handled when DEBUG_CHANNEL_LOCKS is defined.
19 years ago
Joshua Colp f0efe0d2b5 Improve res_ninit and res_ndestroy autoconf logic on the Darwin platform.
19 years ago
Russell Bryant e1c4c9e7b6 Merged revisions 115511 via svnmerge from
19 years ago
Joshua Colp 6e6849f1a0 Make sure that either the main speex library contains preprocess functions or that speexdsp does. If both fail then speex stuff can not be built.
19 years ago
Tilghman Lesher 6142d1648c Err, the documentation on the return value of ast_odbc_backslash_is_escape is exactly backwards.
19 years ago
Joshua Colp a8c56a51d6 For my next trick I will make these work with what our autoconf header file gives us.
19 years ago
Brett Bryant 61bee5aa54 Add new "pri show version" command to show the libpri version for support reasons.
19 years ago
Mark Michelson 89453ef4c1 Clarify a comment that was, well, just wrong. It turns out that
19 years ago
Tilghman Lesher 291dd88595 Change the comment of deprecated to an actual compiler deprecation
19 years ago
Russell Bryant 5f1f3ed473 Merge changes from team/russell/iax2_find_callno and iax2_find_callno_1.4
19 years ago
Russell Bryant f8848a7fe8 Store the manager session ID explicitly as 4 byte ID instead of a ulong. The
19 years ago
Russell Bryant 39d1303e14 Merge changes from team/russell/issue_9520
19 years ago
Mark Michelson 171a6a24bb Add prototype for ast_dsp_frame_freed. I'm not sure how this was
19 years ago
Mark Michelson 71b704ef78 It was possible for a reference to a frame which was part of a freed DSP to still be
19 years ago
Mark Michelson 1a9b7dc5c5 Fix 1.4 build when LOW_MEMORY is enabled.
19 years ago
Joshua Colp 8c03119ce5 If audio suddenly gets fed into one side of a channel after a lapse of frames flush the other factory so that old audio does not remain in the factory causing the sync code to not execute.
19 years ago
Joshua Colp 214973a574 Ensure that we do not exceed the hold's maximum size with a single frame.
19 years ago
Steve Murphy 0ce3eb0e2a (closes issue #12302)
19 years ago
Joshua Colp be84adc952 Add an option (transmit_silence) which transmits silence during both Record() and DTMF generation. The reason this is an option is that in order to transmit silence we have to setup a translation path. This may not be needed/wanted in all cases.
19 years ago
Terry Wilson c7e067ecde Fix character string being treated ad format string
19 years ago
Russell Bryant efa3b46cdf Fix another issue that was causing crashes in chanspy. This introduces a new
19 years ago
Mark Michelson f69043c1f0 Added a large comment before the AST_SCHED_DEL macro to explain its purpose as well as when
19 years ago
Joshua Colp 4a8d87fe98 Add a trigger mode that triggers on both read and write. The actual function that returns the combined audio frame though will wait until both sides have fed in audio, or until one side stops (such as the case when you call Wait).
19 years ago
Kevin P. Fleming 9569d74df5 stop checking for mktime() in the configure script... we don't use it, and the test is buggy under gcc 4.3
19 years ago
Joshua Colp 2bf8f9fca3 Move where unanswered CDRs are dropped to the CDR core, not everything uses app_dial.
19 years ago
Russell Bryant bfed30d5dd Change a warning message to a debug message. This is happening quite frequently,
19 years ago
Joshua Colp cd703523db Add a control frame to indicate the source of media has changed. Depending on the underlying technology it may need to change some things.
19 years ago
Tilghman Lesher b350a97937 Correctly initialize retransid in SIP, and ensure that the warning when failing to delete a schedule entry can actually hit the log.
19 years ago
Russell Bryant d564404d73 Fix a bug that I just noticed in the RTP code. The calculation for setting the
19 years ago
Joshua Colp 36bb1f9d46 When a new source of audio comes in (such as music on hold) make sure the marker bit gets set.
19 years ago
Russell Bryant 547ac9f501 Merge in some changes from team/russell/autoservice-nochans-1.4
19 years ago
Russell Bryant 12e5fb358a Fix a bug in the lock tracking code that was discovered by mmichelson. The issue
19 years ago
Russell Bryant bc56a84c58 Merge changes from team/russell/smdi-1.4
19 years ago
Mark Michelson 638ef8c5d2 Change to the configure logic regarding IMAP. Prior to this commit, if you wished to configure
19 years ago
Tilghman Lesher 0dafcac660 Cross-platform fix: OS X now deprecates the use of the daemon(3) API.
19 years ago
Tilghman Lesher 1191559147 Change detection of getifaddrs to use AST_C_COMPILE_CHECK, backported from trunk (as suggested by kpfleming)
19 years ago
Tilghman Lesher df1dc7741d Compatibility fix for OpenWRT (reported by Brian Capouch via the mailing list)
19 years ago
Russell Bryant ef78f25e8a Make some deadlock related fixes. These bugs were discovered and reported
19 years ago
Tilghman Lesher 7060a6888d When deleting a task from the scheduler, ignoring the return value could
19 years ago
Kevin P. Fleming cc750dc9ce make these macros not assume that the only other field in the structure is 'argc'... this is true when someone uses AST_DECLARE_APP_ARGS, but it's perfectly reasonable to define your own structure as long as it has the right fields
19 years ago
Tilghman Lesher cae4280341 Permit the user to specify number of seconds that a connection may remain idle,
19 years ago
Joshua Colp d0d93be4f4 Remove the __ in front of the unused variable. This causes some compilers to freak out.
19 years ago
Russell Bryant 06d3c61a2e Revert adding the packed attribute, as it really doesn't make sense why that
19 years ago
Russell Bryant f0001ecf66 Since we're relying on the offset between the frame and the beginning of the translator
19 years ago
Russell Bryant 6d0ee62540 Have IAX2 optimize the codec translation path just like chan_sip does it. If
19 years ago
Russell Bryant 904f38a40a Add an unused pointer to the ast_channel struct. This makes the ast_channel structure
19 years ago
Joshua Colp fa640604de Replace current spy architecture with backport of audiohooks. This should take care of current known spy issues.
19 years ago
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.
19 years ago
Russell Bryant 7a007060bd Commit a fix for some memory access errors pointed out by the valgrind2.txt
19 years ago
Russell Bryant 45f3890926 Backport the ability to set the ToS bits on Linux when not running as root.
19 years ago
Jason Parker 00b8f86349 Fix a comment that is no longer true.
19 years ago
Russell Bryant 742fd8127c Remove pbx_kdeconsole from the tree. It hasn't worked in ages, and nobody has
19 years ago
Russell Bryant 67df6e008d Use the constant that I really meant to use here ...
19 years ago
Russell Bryant 5977f8d5be Convert the contexts lock to a read/write lock to resolve a deadlock. This
19 years ago
Russell Bryant 612d0b8f45 Check for the existence of the soxmix application on the target platform and have
19 years ago
Tilghman Lesher 8057fb41cb Today is tomorrow's yesterday, and yesterday's tomorrow is today, and
19 years ago
Kevin P. Fleming 627f595c58 In http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html,
19 years ago
Mark Michelson c9f389a45d When compiling with DETECT_DEADLOCKS, don't spam the CLI with messages
19 years ago
Tilghman Lesher b4b34f080d Test directly for the API that fixed AST-2007-026, to ensure that older
19 years ago
Russell Bryant 7be75dbbc9 Fix another bug in the DEBUG_THREADS code. The ast_mutex_init() function had
19 years ago
Russell Bryant 168a6bed5a I love fixing lock related errors in the lock debugging code. That's about as
19 years ago
Russell Bryant 0522e3d872 Add a new module flag to indicate that a build sum is present. Modules built
19 years ago
Olle Johansson 95dce3bbba Make sure logger is reloaded at general reload in the cli.
19 years ago
Russell Bryant eccfefae2c Fix some crashes in chan_iax2 that were reported as happening on Mac systems.
19 years ago
Russell Bryant fc232a9a27 Modify file.h to maintain API compatibility with earlier versions. If a recent
19 years ago
Tilghman Lesher b8c8dee621 Solaris requires the inclusion of sys/loadavg.h for getloadavg().
19 years ago
Mark Michelson 7b052b78e1 A big one...
19 years ago
Joshua Colp b18d1bdd1a Preserve the indication currently playing on a channel when a masquerade operation happens. (issue #BE-88)
19 years ago
Russell Bryant 1f8caa100d Change the behavior of ao2_link(). Previously, in inherited a reference.
19 years ago
Russell Bryant 82757dfaa1 Add some notes on the behavior of ao2_unlink() after a discussion with Tilghman
19 years ago
Tilghman Lesher 2c11f7d18e Use of "private" as a field name in a header file messes with C++ projects
19 years ago
Russell Bryant 2fc83c3db1 This set of changes is to make some callerID handling thread-safe.
19 years ago