Commit Graph

121 Commits (1.4.21.2)

Author SHA1 Message Date
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
Russell Bryant b3a211bdc3 I thought I was going to be able to leave 1.4 alone, but that was not the case.
18 years ago
Mark Michelson 524efc5cd5 Increase the retry count when attempting to show channels. This apparently
18 years ago
Mark Michelson f689fffa71 Save a local copy of the generate callback prior to unlocking the channel in
18 years ago
Mark Michelson 7892ddd9f5 This fix prevents a deadlock that was experienced in chan_local. There was
18 years ago
Russell Bryant efa3b46cdf Fix another issue that was causing crashes in chanspy. This introduces a new
18 years ago
Russell Bryant a169524ff6 (closes issue #12187, reported by atis, fixed by me after some brainstorming
18 years ago
Russell Bryant 2016f5ba10 Destroy the channel lock after the channel datastores.
18 years ago
Russell Bryant 7a47679898 Resolve a compiler warning.
18 years ago
Russell Bryant 72e4729ad5 Fix a race condition where the generator can go away
18 years ago
Joshua Colp 28c66694d3 Ignore source update control frame.
18 years ago
Tilghman Lesher 56e908b787 Safely use the strncat() function.
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
Russell Bryant 547ac9f501 Merge in some changes from team/russell/autoservice-nochans-1.4
18 years ago
Joshua Colp 5bfdc9818d It is possible for no audio to pass between the current digit and next digit so expand logic that clears emulation to AST_FRAME_NULL.
18 years ago
Joshua Colp 0433ee65ae Ensure that emulated DTMFs do not get interrupted by another begin frame.
18 years ago
Russell Bryant ef78f25e8a Make some deadlock related fixes. These bugs were discovered and reported
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
Mark Michelson d97e842d55 Properly report the hangup cause as no answer when someone does not answer
18 years ago
Russell Bryant 8b3f41409e Don't report a syntax error when an empty string is passed to ast_get_group.
18 years ago
Tilghman Lesher 540077b7b1 Race: we need to wait to queue a NewChannel event until after the channel is
18 years ago
Mark Michelson 62fa8dfbfa Rework deadlock avoidance used in ast_write, since it meant that agent channels which were being monitored
18 years ago
Jason Parker 5376122015 If we fail to create a channel after allocating a timing fd, we need to make sure to close it.
18 years ago
Mark Michelson 7b052b78e1 A big one...
18 years ago
Joshua Colp b18d1bdd1a Preserve the indication currently playing on a channel when a masquerade operation happens. (issue #BE-88)
18 years ago
Russell Bryant 2fc83c3db1 This set of changes is to make some callerID handling thread-safe.
18 years ago
Joshua Colp c93621d1ec If channel allocation fails because the alert pipe could not be created also free the scheduler context.
18 years ago
Tilghman Lesher 1a052e0498 Fix two cases of memory corruption caused by background threads.
18 years ago
Mark Michelson 7b59a194a5 Reworked deadlock avoidance in __ast_read. Restored audio to
18 years ago
Russell Bryant 9cb94c7cde Merge the last bit of changes from asterisk/team/russell/readq-1.4
18 years ago
Russell Bryant a3af50b67d Fix up datastore handling in ast_do_masquerade(). The code is intended to move
18 years ago
Luigi Rizzo a0edff2477 Rename ast_string_field_free_pool to ast_string_field_free_memory,
18 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
18 years ago
Russell Bryant 20ce142d01 Don't leak a frame in the case that an END frame is received and the time since
18 years ago
Joshua Colp 0e9071a2e3 Move log message to before the frame it references is freed.
18 years ago
Russell Bryant 9df6ebe9b9 The channel needs to stay locked while running timer callbacks, as they access
18 years ago
Tilghman Lesher 96d11d3e02 This commit fixes the following issues:
18 years ago
Joshua Colp 2baeb29ae4 Don't keep trying to native bridge if either of the channels are involved in a masquerade operation to be done.
18 years ago
Dwayne M. Hubbard bae4135759 moved get_base_channel() code from action_redirect to ast_channel_masquerade() for issue 7706 and BE-160
18 years ago
Tilghman Lesher 253a34b756 Avoid a deadlock with ALL of the locks in the masquerade function, not just the
18 years ago
Russell Bryant d6b8fb4dc0 gcc 4.2 has a new set of warnings dealing with cosnt pointers. This set of
18 years ago
Joshua Colp 0f82a9bbf1 (closes issue #10650)
18 years ago
Joshua Colp 63669c4496 (closes issue #10476)
18 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
18 years ago
Joshua Colp d76d2c5214 Add additional DTMF log messages to help when debugging issues.
18 years ago
Russell Bryant 0a2331cf26 file and I both committed changes for issue #10301. Remove a duplicated
19 years ago
Russell Bryant e533cabf1c (closes issue #10301)
19 years ago
Joshua Colp 33abae518a (closes issue #10301)
19 years ago
Joshua Colp 8fa7c1e9b0 (closes issue #10302)
19 years ago