Commit Graph

651 Commits (c8b5d2ea034aef9ae44730b91da529d7bdfddefa)

Author SHA1 Message Date
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.
18 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.
18 years ago
Russell Bryant b5463cd8d3 Make the lock protecting each thread's list of locks it currently holds
18 years ago
Russell Bryant ab117fecaa * Add a bit more of a verbose comment as to why a hangup frame needs to be
18 years ago
Mark Michelson 9dbdc103b0 Hangups that happen during autoservice were not processed appropriately. This is
18 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
18 years ago
Russell Bryant 0522e3d872 Add a new module flag to indicate that a build sum is present. Modules built
18 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.
18 years ago
Olle Johansson 95dce3bbba Make sure logger is reloaded at general reload in the cli.
18 years ago
Russell Bryant a4137c3fbe Make the lock in the threadstorage debugging code untracked to avoid a deadlock
18 years ago
Russell Bryant 82257a7e33 When DEBUG_THREADS is enabled, we only have the details about who is holding
18 years ago
Russell Bryant 644c7a89e7 Make some changes to some additions I made recently for doing channel autoservice
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 bae731053f Do not create a smoother for G723.1 frames, they need to be left alone to their native 20/24 byte size.
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
Tilghman Lesher 763b1ccecc Clarify the return value on autoservice. Specifically, if you started
18 years ago
Russell Bryant 1f8caa100d Change the behavior of ao2_link(). Previously, in inherited a reference.
18 years ago
Tilghman Lesher 2c11f7d18e Use of "private" as a field name in a header file messes with C++ projects
18 years ago
Russell Bryant 2fc83c3db1 This set of changes is to make some callerID handling thread-safe.
18 years ago
Russell Bryant 1380790b60 Merge a change from team/russell/chan_refcount ...
18 years ago
Kevin P. Fleming fc5429da7c it is impossible to set permissions for manager accounts created by users.conf (reported internally, patched by me)
18 years ago
Mark Michelson 815d77f1f6 Removing some seemingly pointless code. This sets a channel variable for every priority
18 years ago
Russell Bryant d0cd120d47 - update documentation for some of the goto functions to note that they
18 years ago
Russell Bryant 1a6a5e1867 Don't do frame processing if ast_read() returned NULL.
18 years ago
Russell Bryant 3df74ed9ac Don't start/stop autoservice in pbx_extension_helper() unless a channel exists
18 years ago
Russell Bryant 80c81b8e8c Merge changes from team/russell/autoservice_1.4
18 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
18 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
18 years ago
Olle Johansson 0c3ec937ce If we get a codec offer using a well-known payload type, but using it for another
18 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.
18 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)
18 years ago
Russell Bryant a17edf7d99 Add channel locking to a function that needed to be doing it. This is just a
18 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
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 e671cb909d Currently, zero-length voicemail messages cause a hangup in VoicemailMain.
18 years ago
Tilghman Lesher 540a2c7098 Up until this point, the XML output of the manager has been technically
18 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
18 years ago
Mark Michelson da4933e657 According to comments in main/pbx.c, it is essential that if we are going to lock
18 years ago
Russell Bryant 12d60508f3 Temporarily revert revision 89325, which added md5 magic for keeping track of
18 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.
18 years ago
Mark Michelson 1fece3bb67 Undoing previous commit since I realize it was wrong
18 years ago
Mark Michelson 88f847869d Adding a missing mutex unlock.
18 years ago
Tilghman Lesher 1af09c5f9d When a recording ends with '#', we are improperly trimming an extra 200ms from the recording.
18 years ago
Joshua Colp f3f12761ba Return the proper value when the srv_callback function executes properly.
18 years ago
Tilghman Lesher feed493993 Debugging is running into the 16-lock limit. Increase to avoid.
19 years ago
Jason Parker 05df1092da Fix a typo pointed out by De_Mon on #asterisk-dev
19 years ago
Tilghman Lesher 472eb33648 If two config writes collide, file corruption could result. Use a mkstemp() file, instead.
19 years ago
Tilghman Lesher 1a052e0498 Fix two cases of memory corruption caused by background threads.
19 years ago
Jason Parker 76aa7c3767 Properly say the seconds here..
19 years ago