Commit Graph

1398 Commits (e9dcd4a9e2a3d2b2f7e38f321aef92cc35d38367)

Author SHA1 Message Date
Jeff Peeler 21ca773c28 Fix malloc debug macros to work properly with h323.
17 years ago
Kevin P. Fleming 5436d8709f Fix problems when RTP packet frame size is changed
17 years ago
Tilghman Lesher 426cee0362 This exception does not appear to still be true for Solaris 10, and OpenSolaris definitely needs it to be removed.
17 years ago
David Vossel a5198f55e0 Fixes issue with undefined audio codecs in chan_iax2
17 years ago
Tilghman Lesher c66921ec43 Document the return value of the update method (as requested on -dev list)
17 years ago
Jeff Peeler de8f6bab86 Modify bridging to properly evaluate DTMF after first warning is played
17 years ago
Michiel van Baak db4dc67740 fix mis-spelling of the word registered.
17 years ago
Jason Parker 3cc3863d28 Zaptel is not DAHDI. Rather, Zaptel is actually Zaptel. (in case you're confused, DAHDI is still DAHDI)
17 years ago
Terry Wilson 4e069885ce Fix feature inheritance with builtin features
17 years ago
Steve Murphy 13a60eba0c This patch fixes h-exten running misbehavior in manager-redirected
17 years ago
Tilghman Lesher e2d1540779 AST_RWLOCK_INIT_VALUE is always defined. What we really wanted to ask is
17 years ago
Tilghman Lesher d671bb1404 Fix the conjugation of Russian and Ukrainian languages.
17 years ago
Russell Bryant 9161b7fc87 Revert unnecessary indications API change from rev 122314
17 years ago
Russell Bryant acd0af78ea Re-work ref count handling of MoH classes using astobj2 to resolve crashes.
17 years ago
Mark Michelson 7fdf99803e Backport of AUDIOHOOK_INHERIT for Asterisk 1.4
17 years ago
Steve Murphy e3700a13a4 This merges the masqpark branch into 1.4
17 years ago
Jeff Peeler e0bec5d67d (closes issue #13480)
17 years ago
Russell Bryant 083047a794 Fix memory leak and invalid reporting issues with DEBUG_THREADLOCALS.
17 years ago
Mark Michelson ccf5565ccd Add the deadlock note to ast_spawn_extension as well
17 years ago
Mark Michelson a43cf62956 Add notes to autoservice and pbx doxygen regarding a potential
17 years ago
Joshua Colp b80ffd6d26 Use autoconf logic to determine whether the system has timersub or not. Do not blindly assume Solaris does not.
17 years ago
Russell Bryant c518ed3be1 Resolve issues that could cause DTMF to be processed out of order.
17 years ago
Mark Michelson 4cad4bff2c Update to stringfield handling so that side-effects on
17 years ago
Russell Bryant c2446000d9 Remove the test_for_thread_safety() function completely.
17 years ago
Steve Murphy a36a0d7dbd (closes issue #14019)
17 years ago
Sean Bright ffc0c7e4ae Merged revisions 161421 via svnmerge from
17 years ago
Terry Wilson a3724485b4 make compile with dev mode and malloc debug
18 years ago
Tilghman Lesher 1653a9ef65 Ensure that Asterisk builds with --enable-dev-mode, even on the latest gcc
18 years ago
Kevin P. Fleming 50515ed372 update dev-mode compiler flags to match the ones used by default on Ubuntu Intrepid, so all developers will see the same warnings and errors
18 years ago
Russell Bryant 07741a3261 Add ao2_trylock() to go along with ao2_lock() and ao2_unlock()
18 years ago
Tilghman Lesher 929c14e432 System call ioperm is non-portable, so check for its existence in autoconf.
18 years ago
Jeff Peeler c7dcb086dd (closes issue #13786)
18 years ago
Russell Bryant a0bf88537a When compiling with DEBUG_THREADS, report the real file/func/line for ao2_lock/ao2_unlock
18 years ago
Mark Michelson 6a632a5a2b There was an issue when attempting to reference an embedded
18 years ago
Mark Michelson 3429c9de5e Fix a crash in the end_bridge_callback of app_dial and
18 years ago
Sean Bright f2ecc4c80e Use static functions here instead of nested ones. This requires a small
18 years ago
Russell Bryant 0d1441526e features.h depends on linkedlists.h, so include it
18 years ago
Terry Wilson 6280e04736 Recent CDR fixes moved execution of the 'h' exten into the bridging code, so variables that were set after ast_bridge_call was called would not show up in the 'h' exten. Added a callback function to handle setting variables, etc. from w/in the bridging code. Calls back into a nested function within the function calling ast_bridge_call
18 years ago
Steve Murphy 961bc7e758 The magic trick to avoid this crash is not to
18 years ago
Mark Michelson c19ca186c1 Add a tolerance period for sync-triggered audiohooks
18 years ago
Jeff Peeler fc2e08f823 (closes issue #13425)
18 years ago
Kevin P. Fleming d10c4137fb fix some minor issues with rev 144924
18 years ago
Kevin P. Fleming 50a28e9853 improve header inclusion process in a few small ways:
18 years ago
Steve Murphy eccd14d7f0 Tested by: sergee, murf, chris-mac, andrew, KNK
18 years ago
Mark Michelson 28b9f5b384 Fix compilation when DEBUG_THREAD_LOCALS is selected
18 years ago
Kevin P. Fleming e2fc623d88 Backport support for Zaptel/DAHDI channel-level alarms from trunk/1.6, because not doing so just makes it difficult for people with channels that are in alarm when Asterisk starts up to get them going once the alarm is cleared
18 years ago
Jeff Peeler a763147ee6 add DAHDI_POLICY_WHEN_FULL compatability define for Zaptel
18 years ago
Kevin P. Fleming e797e4ed72 add support for Zaptel versions that contain the new transcoder interface
18 years ago
Tilghman Lesher 6d7a2a5fa4 Merged revisions 136945 via svnmerge from
18 years ago
Steve Murphy 195fe34304 (closes issue #13236)
18 years ago
Kevin P. Fleming c269b9ba10 add a raw list of all libraries that any part of Asterisk links directly to
18 years ago
Tilghman Lesher 1a0c9841dd 1) Bugfix for debugging code
18 years ago
Mark Michelson b8bbf8b61a Merging the issue11259 branch.
18 years ago
Steve Murphy ee8adb313e (closes issue #12982)
18 years ago
Tilghman Lesher e5939d2f3e Oops, wrong define
18 years ago
Kevin P. Fleming 7b61edde36 build against the now-typedef-free dahdi/user.h
18 years ago
Russell Bryant 46b65b2cc0 Add the licensing section to the docs in 1.4, as well, so that we can work on
18 years ago
Kevin P. Fleming 888d269e8f revert an optimization that broke ABI... thanks russell!
18 years ago
Kevin P. Fleming cd12517eeb make some more changes to the dahdi/zap channel name support stuff to ensure allthe globals are 'const', and clean up mmichelson's changes to app_chanspy to simplify the code
18 years ago
Mark Michelson 252c5728fc As suggested by seanbright, the PSEUDO_CHAN_LEN in
18 years ago
Kevin P. Fleming f6d7c63346 minor optimization for stringfields: when a field is being set to a larger value than it currently contains and it happens to be the most recent field allocated from the currentl pool, it is possible to 'grow' it without having to waste the space it is currently using (or potentially even allocate a new pool)
18 years ago
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()
18 years ago
Tilghman Lesher c20daa7d8c Since HAVE_DAHDI is defined to HAVE_ZAPTEL in dahdi_compat.h, we must first
18 years ago
Tilghman Lesher db4ae54745 In this debugging function, copy to a buffer instead of using potentially unsafe pointers.
18 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
18 years ago
Jeff Peeler a2266547c6 fixed dahdi compatability header from assuming either dahdi or zaptel is installed (may not have either)
18 years ago
Jeff Peeler f9818af8dd Adds DAHDI support alongside Zaptel. DAHDI usage favored, but all Zap stuff should continue working. Release announcement to follow.
18 years ago
Steve Murphy 5c2cf0f3c0 (closes issue #10668)
18 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.
18 years ago
Russell Bryant 3d461c7cb6 Oddly enough, all of the contents of audiohook.h were in there twice. I have
18 years ago
Tilghman Lesher ba9f012573 Define also when not DEBUG_THREADS
18 years ago
Tilghman Lesher 65808210e9 Add some debugging code that ensures that when we do deadlock avoidance, we
18 years ago
Tilghman Lesher 3fcdfbf20f Add format type checking for recently de-inlined function
18 years ago
Russell Bryant a3d59980ea Don't declare a function that takes variable arguments as inline, because it's
18 years ago
Tilghman Lesher c10b6550ea The addition of usleep(2) within ast_assert requires the inclusion of the unistd.h header
18 years ago
Russell Bryant 4b2a679f9e Add ast_assert(), which can be used to handle fatal errors. It is only compiled
18 years ago
Mark Michelson 1167869a80 A change to the way channel locks are handled when DEBUG_CHANNEL_LOCKS is defined.
18 years ago
Joshua Colp f0efe0d2b5 Improve res_ninit and res_ndestroy autoconf logic on the Darwin platform.
18 years ago
Russell Bryant e1c4c9e7b6 Merged revisions 115511 via svnmerge from
18 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.
18 years ago
Tilghman Lesher 6142d1648c Err, the documentation on the return value of ast_odbc_backslash_is_escape is exactly backwards.
18 years ago
Joshua Colp a8c56a51d6 For my next trick I will make these work with what our autoconf header file gives us.
18 years ago
Brett Bryant 61bee5aa54 Add new "pri show version" command to show the libpri version for support reasons.
18 years ago
Mark Michelson 89453ef4c1 Clarify a comment that was, well, just wrong. It turns out that
18 years ago
Tilghman Lesher 291dd88595 Change the comment of deprecated to an actual compiler deprecation
18 years ago
Russell Bryant 5f1f3ed473 Merge changes from team/russell/iax2_find_callno and iax2_find_callno_1.4
18 years ago
Russell Bryant f8848a7fe8 Store the manager session ID explicitly as 4 byte ID instead of a ulong. The
18 years ago
Russell Bryant 39d1303e14 Merge changes from team/russell/issue_9520
18 years ago
Mark Michelson 171a6a24bb Add prototype for ast_dsp_frame_freed. I'm not sure how this was
18 years ago
Mark Michelson 71b704ef78 It was possible for a reference to a frame which was part of a freed DSP to still be
18 years ago
Mark Michelson 1a9b7dc5c5 Fix 1.4 build when LOW_MEMORY is enabled.
18 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.
18 years ago
Joshua Colp 214973a574 Ensure that we do not exceed the hold's maximum size with a single frame.
18 years ago
Steve Murphy 0ce3eb0e2a (closes issue #12302)
18 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.
18 years ago
Terry Wilson c7e067ecde Fix character string being treated ad format string
18 years ago
Russell Bryant efa3b46cdf Fix another issue that was causing crashes in chanspy. This introduces a new
18 years ago
Mark Michelson f69043c1f0 Added a large comment before the AST_SCHED_DEL macro to explain its purpose as well as when
18 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).
18 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
18 years ago
Joshua Colp 2bf8f9fca3 Move where unanswered CDRs are dropped to the CDR core, not everything uses app_dial.
18 years ago
Russell Bryant bfed30d5dd Change a warning message to a debug message. This is happening quite frequently,
18 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.
18 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.
18 years ago
Russell Bryant d564404d73 Fix a bug that I just noticed in the RTP code. The calculation for setting the
18 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.
18 years ago
Russell Bryant 547ac9f501 Merge in some changes from team/russell/autoservice-nochans-1.4
18 years ago
Russell Bryant 12e5fb358a Fix a bug in the lock tracking code that was discovered by mmichelson. The issue
18 years ago
Russell Bryant bc56a84c58 Merge changes from team/russell/smdi-1.4
18 years ago
Mark Michelson 638ef8c5d2 Change to the configure logic regarding IMAP. Prior to this commit, if you wished to configure
18 years ago
Tilghman Lesher 0dafcac660 Cross-platform fix: OS X now deprecates the use of the daemon(3) API.
18 years ago
Tilghman Lesher 1191559147 Change detection of getifaddrs to use AST_C_COMPILE_CHECK, backported from trunk (as suggested by kpfleming)
18 years ago
Tilghman Lesher df1dc7741d Compatibility fix for OpenWRT (reported by Brian Capouch via the mailing list)
18 years ago
Russell Bryant ef78f25e8a Make some deadlock related fixes. These bugs were discovered and reported
18 years ago
Tilghman Lesher 7060a6888d When deleting a task from the scheduler, ignoring the return value could
18 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
18 years ago
Tilghman Lesher cae4280341 Permit the user to specify number of seconds that a connection may remain idle,
18 years ago
Joshua Colp d0d93be4f4 Remove the __ in front of the unused variable. This causes some compilers to freak out.
18 years ago
Russell Bryant 06d3c61a2e Revert adding the packed attribute, as it really doesn't make sense why that
18 years ago
Russell Bryant f0001ecf66 Since we're relying on the offset between the frame and the beginning of the translator
18 years ago
Russell Bryant 6d0ee62540 Have IAX2 optimize the codec translation path just like chan_sip does it. If
18 years ago
Russell Bryant 904f38a40a Add an unused pointer to the ast_channel struct. This makes the ast_channel structure
18 years ago
Joshua Colp fa640604de Replace current spy architecture with backport of audiohooks. This should take care of current known spy issues.
18 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.
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
19 years ago
Russell Bryant 168a6bed5a I love fixing lock related errors in the lock debugging code. That's about as
19 years ago