Commit Graph

659 Commits (1.4.16.1)

Author SHA1 Message Date
Mark Michelson 62fa8dfbfa Rework deadlock avoidance used in ast_write, since it meant that agent channels which were being monitored
19 years ago
Jason Parker 6fa23de8ac Missed a spot..
19 years ago
Jason Parker 7e7db434e4 What was I thinking when I wrote this masterpiece?
19 years ago
Joshua Colp 0a584613d6 Do not try to access information about a lock when printing out a trylock attempt. It is possible for the lock that it references to no longer be valid. This would have caused segfaults or deadlocks.
19 years ago
Russell Bryant 4965b39719 There are a lot of existing systems that #include non-existent files. So, to
19 years ago
Jason Parker 65cbfa5d0d Make application help text a little more clear about the use of extensions in a filename.
19 years ago
Jason Parker 8771f23fff If a typo is found in a config file, we previous continued on with what was already loaded.
19 years ago
Joshua Colp 7a1b94082c Fix potential memory leak with the dialed interfaces list if another memory allocation fails.
19 years ago
Joshua Colp bff4a0aa3c Add G729A as another possible payload name for G729. Some devices use this instead of G729, which is perfectly normal since the payload number itself is defined and can't be used by anything else so the name doesn't matter that much.
19 years ago
Jason Parker 16a03298e9 We need to make sure we free the input frame if we return a different frame in ast_dsp_process.
19 years ago
Russell Bryant b5463cd8d3 Make the lock protecting each thread's list of locks it currently holds
19 years ago
Russell Bryant ab117fecaa * Add a bit more of a verbose comment as to why a hangup frame needs to be
19 years ago
Mark Michelson 9dbdc103b0 Hangups that happen during autoservice were not processed appropriately. This is
19 years ago
Tilghman Lesher af01697791 At the end of a call, when we're reporting, RTCP may already be partially torn down, so check for NULL dereference
19 years ago
Russell Bryant 0522e3d872 Add a new module flag to indicate that a build sum is present. Modules built
19 years ago
Joshua Colp 6af6d06e75 Fix various in the udptl implementation. It could return empty modem frames, have an incorrect sequence number on packets, and display the wrong sequence number in the debug messages.
19 years ago
Olle Johansson 95dce3bbba Make sure logger is reloaded at general reload in the cli.
19 years ago
Russell Bryant a4137c3fbe Make the lock in the threadstorage debugging code untracked to avoid a deadlock
19 years ago
Russell Bryant 82257a7e33 When DEBUG_THREADS is enabled, we only have the details about who is holding
19 years ago
Russell Bryant 644c7a89e7 Make some changes to some additions I made recently for doing channel autoservice
19 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.
19 years ago
Mark Michelson 7b052b78e1 A big one...
19 years ago
Joshua Colp bae731053f Do not create a smoother for G723.1 frames, they need to be left alone to their native 20/24 byte size.
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
Tilghman Lesher 763b1ccecc Clarify the return value on autoservice. Specifically, if you started
19 years ago
Russell Bryant 1f8caa100d Change the behavior of ao2_link(). Previously, in inherited a reference.
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
Russell Bryant 1380790b60 Merge a change from team/russell/chan_refcount ...
19 years ago
Kevin P. Fleming fc5429da7c it is impossible to set permissions for manager accounts created by users.conf (reported internally, patched by me)
19 years ago
Mark Michelson 815d77f1f6 Removing some seemingly pointless code. This sets a channel variable for every priority
19 years ago
Russell Bryant d0cd120d47 - update documentation for some of the goto functions to note that they
19 years ago
Russell Bryant 1a6a5e1867 Don't do frame processing if ast_read() returned NULL.
19 years ago
Russell Bryant 3df74ed9ac Don't start/stop autoservice in pbx_extension_helper() unless a channel exists
19 years ago
Russell Bryant 80c81b8e8c Merge changes from team/russell/autoservice_1.4
19 years ago
Kevin P. Fleming 2fa2fea3f5 on second thought... revert all the other changes i've made in app options parsing leaving only one: if an empty argument is supplied for an option, set that argument pointer to point to an empty string rather than NULL, so that the application can do normal checks on it without worrying about it being NULL
19 years ago
Kevin P. Fleming e31c1b0441 generate a warning when an application option that requires an argument is ignored due to lack of an argument
19 years ago
Olle Johansson 0c3ec937ce If we get a codec offer using a well-known payload type, but using it for another
19 years ago
Steve Murphy 1975b6e753 closes issue #11379; OK, this is an attempt to make both sides happy. To the cdr.conf file, I added the option 'unanswered', which defaults to 'no'. In this mode, you will see a cdr for a call, whether it was answered or not. The disposition will be NO ANSWER or ANSWERED, as appropriate. The src is as you'd expect, the destination channel will be one of the channels from the Dial() call, usually the last in the list if more than one chan was specified. With unanswered set to 'yes', you will still see this cdr entry in both cases. But in the case where the dial timed out, you will also see a cdr for each line attempted, marked NO ANSWER, with no destination channel name. The new option defaults to 'no', so you don't see the pesky extra cdr's by default, and you will not see the irritating 'not posted' messages.
19 years ago
Joshua Colp aeed294b7b Fix issues with async dialing with an application executing. The application has to be terminated and control returned to the thread before hanging things up. (issue #BE-252)
19 years ago
Russell Bryant a17edf7d99 Add channel locking to a function that needed to be doing it. This is just a
19 years ago
Kevin P. Fleming daea9fd8e8 when parsing application options that take arguments, don't indicate that the option was supplied unless a non-zero-length argument was found for it
19 years ago
Joshua Colp c93621d1ec If channel allocation fails because the alert pipe could not be created also free the scheduler context.
19 years ago
Tilghman Lesher e671cb909d Currently, zero-length voicemail messages cause a hangup in VoicemailMain.
19 years ago
Tilghman Lesher 540a2c7098 Up until this point, the XML output of the manager has been technically
19 years ago
Kevin P. Fleming 337fb0c37f bring back compile-option checking when loading modules, only this time use a string-based storage and comparison mechanism because it is easier to support on other platforms
19 years ago
Mark Michelson da4933e657 According to comments in main/pbx.c, it is essential that if we are going to lock
19 years ago
Russell Bryant 12d60508f3 Temporarily revert revision 89325, which added md5 magic for keeping track of
19 years ago
Kevin P. Fleming 22b119d188 To help combat problems where people build external modules (asterisk-addons or others) and then change the build options of the Asterisk build in a way that makes the incompatible without warning, this commit introduces an MD5 signature of the important build-time options and includes that signature into modules when they are built. When the loader loads one of these modules and notices the problem, it will emit a warning to console and refuse to initialize the module, as doing so could cause the system to be unstable or even crash.
19 years ago
Mark Michelson 1fece3bb67 Undoing previous commit since I realize it was wrong
19 years ago