Commit Graph

118 Commits (0ef30a90718d4e583db2400f44edd68d71a0197c)

Author SHA1 Message Date
Mark Michelson e4bb565530 Merged revisions 89241 via svnmerge from
18 years ago
Mark Michelson 13c49f6cce There is the potential to copy uninitialized memory into the mixmonitor->post_process
18 years ago
Mark Michelson 1d4c579422 Merged revisions 89205 via svnmerge from
18 years ago
Steve Murphy 98429d37b2 Based on a note in asterisk-dev by Brian Capouch, I determined I too agressive in not initializing arrays passed to pbx_substitute_variables_xxxx; I reviewed the code (again) and hopefully found every possible spot where substitute_variables is called conditionally, and made sure the char array involved was set to a null string.
18 years ago
Mark Michelson 5a4867543d "show application <foo>" changes for clarity.
18 years ago
Steve Murphy 63f2f04cf4 This commits the performance mods that give the priority processing engine in the pbx, a 25-30% speed boost. The two updates used, are, first, to merge the ast_exists_extension() and the ast_spawn_extension() where they are called sequentially in a loop in the code, into a slightly upgraded version of ast_spawn_extension(), with a few extra args; and, second, I modified the substitute_variables_helper_full, so it zeroes out the byte after the evaluated string instead of demanding you pre-zero the buffer; I also went thru the code and removed the code that zeroed this buffer before every call to the substitute_variables_helper_full. The first fix provides about a 9% speedup, and the second the rest. These figures come from the 'PIPS' benchmark I describe in blogs, conf. reports, etc.
18 years ago
Joshua Colp df6237eac3 Add volume adjustment in.
18 years ago
Joshua Colp f066bfc38a Restore operation of the option that only writes when the channel is bridged.
18 years ago
Jason Parker ebe4050128 Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
18 years ago
Jason Parker b0f3e6097e Convert NEW_CLI to AST_CLI.
18 years ago
Russell Bryant e97a723cf1 Merge a ton of NEW_CLI conversions. Thanks to everyone that helped out! :)
18 years ago
Joshua Colp 602198c402 Merge audiohooks branch into trunk. This is a new API for developers to listen and manipulate the audio going through a channel.
18 years ago
Tilghman Lesher 20bbd09de3 Mostly cleanup of documentation to substitute the pipe with the comma, but a few other formatting cleanups, too.
18 years ago
Steve Murphy 0e969271ae After some study, thought, comparing, etc. I've backed out the previous universal mod to make ast_flags a 64 bit thing. Instead, I added a 64-bit version of ast_flags (ast_flags64), and 64-bit versions of the test-flag, set-flag, etc. macros, and an app_parse_options64 routine, and I use these in app_dial alone, to eliminate the 30-option limit it had grown to meet. There is room now for 32 more options and flags. I was heavily tempted to implement some of the other ideas that were presented, but this solution does not intro any new versions of dial, doesn't have a different API, has a minimal/zero impact on code outside of dial, and doesn't seriously (I hope) affect the code structure of dial. It's the best I can think of right now. My goal was NOT to rewrite dial. I leave that to a future, coordinated effort.
18 years ago
Steve Murphy 8a7732f067 via 10206, I have added an option (e) to Dial to allow the h exten to get run on peer. Had to upgrade ast_flag stuff to 64 bits to do this.
18 years ago
Joshua Colp b8cd949cce Applications no longer need to call ast_module_user_add and ast_module_user_remove. This is now taken care of in the pbx_exec function outside of the application.
18 years ago
Joshua Colp 96a646734f It is no longer required for each module that deals with a channel to call ast_module_user_hangup_all in it's unload function. The loader will automatically perform this action for it.
18 years ago
Joshua Colp 150c77c901 Merged revisions 72381 via svnmerge from
18 years ago
Tilghman Lesher 0296bd9957 Issue 9970 - Ensure directory exists before trying to write an output file
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Joshua Colp 13a3661906 Add support for autocompleting start/stop options of the mixmonitor CLI command. (issue #9862 reported by eliel)
18 years ago
Russell Bryant 4b3a3fb14c Add a new API call for creating detached threads. Then, go replace all of the
18 years ago
Joshua Colp 095b911df1 Merged revisions 52717 via svnmerge from
19 years ago
Joshua Colp 48e707b6aa Merged revisions 52163 via svnmerge from
19 years ago
Joshua Colp ea17720d1e Merged revisions 51407 via svnmerge from
19 years ago
Steve Murphy 7b338004bf a quick fix to app_sms.c to get rid of cursed compiler warnings so I can compile under --enable-dev-mode
19 years ago
Kevin P. Fleming 3c876af5cf Merged revisions 44378 via svnmerge from
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Joshua Colp 55d594e9da Make the difference clear about what the responsibilities of the core and a spy are when it comes to spying on a channel. The core is responsible for adding a spy to a channel, feeding frames into the spy, removing the spy from the channel, and notifying the spy that is has been detached. The spy is responsible for reading frames in, and cleaning itself up. Each side will not try to do the other's job.
19 years ago
Russell Bryant f7e7161607 Merge team/russell/frame_caching
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Kevin P. Fleming 0af1edefb6 Merged revisions 33841 via svnmerge from
19 years ago
Joshua Colp c311827dc9 Merged revisions 33724 via svnmerge from
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Russell Bryant 04ecb29d03 remove almost all of the checks of the result from ast_strdupa() or alloca().
19 years ago
Russell Bryant 03120e00ad use ast_channel_(un)lock
19 years ago
Russell Bryant fb7757440f remove a check of the result from ast_mutex_lock
19 years ago
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
19 years ago
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
19 years ago
BJ Weschke c88e03113f Merged revisions 11778 via svnmerge from
19 years ago
Russell Bryant f369bbdac3 fix up the summary and help text for the mixmonitor cli command
20 years ago
Russell Bryant 118b277ab1 add StopMixMonitor application (issue #6122, with mods)
20 years ago
Russell Bryant a0d438fb6c remove the uses of the deprecated STANDARD_LOCAL_USER
20 years ago
Russell Bryant 4414f45393 on this pass, only remove duplicate log messages
20 years ago
Russell Bryant 9fa6eb5e07 revert my pass through the tree to remove checks of the result of ast_strdupa
20 years ago
Russell Bryant 7ad681adc8 remove lots of useless checks of the result of ast_strdupa
20 years ago
BJ Weschke f6c5e65266 More memory wrapper cleanup. #6224
20 years ago
Kevin P. Fleming a4f8d466e8 update copyright headers for files changed this year
20 years ago
Kevin P. Fleming cdf0303465 Merged revisions 7740 via svnmerge from
20 years ago
Tilghman Lesher b5d18c50b9 Merged revisions 7709 via svnmerge from
20 years ago
Russell Bryant a725468381 update doxygen docs to specify authors
20 years ago
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
20 years ago
Kevin P. Fleming c6e7b2a333 issue #5590
20 years ago
Russell Bryant 987b87662c make app_queue 1.2 jump compliant (issue #5580)
20 years ago
Russell Bryant 31a804b97c issue #5605
20 years ago
Mark Spencer 8e680521ec Allow mixmon names to have dots (bug #5607)
20 years ago
Mark Spencer 5e17bb19d9 Add missing newline (bug #5616)
20 years ago
Kevin P. Fleming c103bc7806 issue #5609
20 years ago
Kevin P. Fleming 426360e389 major update to arg/option parsing APIs and documentation
20 years ago
Kevin P. Fleming da097c4f5e issue #5561
20 years ago
Kevin P. Fleming 7ef0527a7d correct comment
20 years ago
Kevin P. Fleming 846b39a9f1 major redesign of the channel spy infrastructure, increasing efficiency and reducing locking conflicts
20 years ago
Russell Bryant 5187de9ab6 remove unnecessary checks before calls to ast_strlen_zero
20 years ago
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
20 years ago
Russell Bryant 4aa7912057 Massive cleanups to applications for LOCAL_USER handling and some other things.
20 years ago
Russell Bryant 29829640bf it's a good idea to unregister everything before calling STANDARD_HANGUP_LOCALUSERS
20 years ago
Kevin P. Fleming 4d5c1aefb7 minor changes and eliminate some compiler warnings
20 years ago
Mark Spencer a5dd6a1a14 Add muxmon application (bug #4735 with mods, thanks tony!)
20 years ago