Commit Graph

120 Commits (18.17)

Author SHA1 Message Date
Tilghman Lesher 642bec4d6f AST-2009-005
16 years ago
Russell Bryant 0264eef115 Merge the new Channel Event Logging (CEL) subsystem.
16 years ago
Kevin P. Fleming aaeec3b40f Last batch of 'static' qualifiers for module-level global variables.
16 years ago
Eliel C. Sardanons 7cced65370 Move function MINIVMACCOUNT and MINIVMCOUNTER static documentation to XML.
16 years ago
Eliel C. Sardanons d6759e0117 Unregister every registered application by MiniVM.
16 years ago
Kevin P. Fleming e6b2e9a750 Const-ify the world (or at least a good part of it)
16 years ago
Tilghman Lesher a866a75900 Merge str_substitution branch.
16 years ago
Russell Bryant cba19c8a67 Convert the ast_channel data structure over to the astobj2 framework.
16 years ago
Russell Bryant f745326750 Use ast_random() instead of rand() to ensure we use the best RNG available.
16 years ago
Russell Bryant ee77b475f2 Improve performance of the ast_event cache functionality.
16 years ago
Olle Johansson 64e564aa55 Better to use the proper app name
17 years ago
Tilghman Lesher 6dbe101045 Fix variables to comply with documentation changes
17 years ago
Tilghman Lesher 31a3307245 Textual changes, consistency in status variable naming, and other minor bugs.
17 years ago
Russell Bryant c76bd59354 Set MINIVM_ACCMESS_STATUS in all cases. Also, remove a variable that was not needed.
17 years ago
Russell Bryant 7d0c1f40fb Resolve a compiler warning from buildbot about a NULL format string.
17 years ago
Eliel C. Sardanons 1e8e12efcf Janitor, use ARRAY_LEN() when possible.
17 years ago
Eliel C. Sardanons d635ee0f43 - Add <variable /> tags when naming a channel variable.
17 years ago
Terry Wilson 85bbf3ff33 This patch adds a new application for sending MWI to phones via Asterisk's event subsystem. Also, the minivm documentation is all converted to use xmldocs.
17 years ago
Tilghman Lesher 8b14e5f493 Reverting format addition for now
17 years ago
Tilghman Lesher f5d5eb5e19 Fudges for wav16, just like wav49
17 years ago
Tilghman Lesher 08af5bb312 Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating
17 years ago
Sean Bright 3ffb39833b More RSW merges. Everything from apps/ except for the big offenders
17 years ago
Brett Bryant 5b7933fe5e Janitor patch to change uses of sizeof to ARRAY_LEN
17 years ago
Michiel van Baak 8e8359465b Older versions of GNU gcc do not allow 'NULL' as sentinel.
17 years ago
Tilghman Lesher 527c601d0c Lock around variables retrieved, and copy the values, if they stay persistent,
17 years ago
Tilghman Lesher 463a5dbd0a Whitespace changes only
17 years ago
Russell Bryant bccebdd21f Remove astobj.h from some places where it wasn't needed
17 years ago
Terry Wilson b02bc230af Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not
17 years ago
Tilghman Lesher 8a411ccf83 Create a centralized configuration option for silencethreshold
17 years ago
Russell Bryant 1ec8cb41a8 Merge changes from team/mvanbaak/cli-command-audit
17 years ago
Mark Michelson fe9821cc10 Get rid of any remaining ast_verbose calls in the code in favor of
17 years ago
Tilghman Lesher d5b454bf8d Convert ast_verbose to ast_verb.
18 years ago
Luigi Rizzo 7e8835e0d7 remove another set of redundant #include "asterisk/options.h"
18 years ago
Luigi Rizzo a23c055c3d move asterisk/paths.h outside asterisk.h and into those files
18 years ago
Luigi Rizzo 0595b5e2aa include "logger.h" and errno.h from asterisk.h - usage shows that they
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Luigi Rizzo 7f8ecd2cd3 make the 'name' and 'value' fields in ast_variable const char *
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
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
Tilghman Lesher 7adbd6bb16 Remove redundant includes (patch by snuffy) (Closes issue #10922)
18 years ago
Russell Bryant d78463be1e Corydon posted this janitor project to the bug tracker and mvanbaak provided
18 years ago
Jason Parker 857f785a40 More NEW_CLI conversions.
18 years ago
Joshua Colp 77a19beea6 (closes issue #10336)
18 years ago
Steve Murphy b5cd67adc3 This code was in team/murf/bug8684-trunk; it should fix bug 8684 in trunk. I didn't add it to 1.4 yet, because it's not entirely clear to me if this is a bug fix or an enhancement. A lot of files were affected by small changes like ast_variable_new getting an added arg, for the file name the var was defined in; ast_category_new gets added args of filename and lineno; ast_category and ast_variable structures now record file and lineno for each entry; a list of all #include and #execs in a config file (or any of its inclusions are now kept in the ast_config struct; at save time, each entry is put back into its proper file of origin, in order. #include and #exec directives are folded in properly. Headers indicating that the file was generated, are generated also for each included file. Some changes to main/manager.c to take care of file renaming, via the UpdateConfig command. Multiple inclusions of the same file are handled by exploding these into multiple include files, uniquely named. There's probably more, but I can't remember it right now.
18 years ago
Jason Parker cf9dcaeea1 Cast calls to getpid. This was done in 1.4 already, this one was just new
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Russell Bryant dc7af7d5fe Don't use strncpy for moving a chunk of memory to another that is overlapping.
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
Tilghman Lesher 81bc1d7af5 Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
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
Luigi Rizzo 35efc961ef Initialize a variable to avoid a warning when the compiler
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
Luigi Rizzo a0011053d6 move variable declarations to the beginning of a block.
18 years ago
Russell Bryant 80166c6de8 Conversions to ast_debug()
18 years ago
Tilghman Lesher a1bc823136 Issue 9990 - New API ast_mkdir, which creates parent directories as necessary (and is faster than an outcall to mkdir -p)
18 years ago
Russell Bryant b179e2155f Convert uses of strdup() to ast_strdup()
18 years ago
Kevin P. Fleming 5fdba27ea2 Merged revisions 69392 via svnmerge from
18 years ago
Russell Bryant 055d82cbce Add a massive set of changes for converting to use the ast_debug() macro.
18 years ago
Russell Bryant 9e0458e9f1 Completely remove all of the code related to jumping to priority n + 101. yay!
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Russell Bryant 7562efed2d - Don't check if the list is empty needlessly
18 years ago
Russell Bryant 8ea9dcc221 Fix a crash on reload by using calloc() instead of malloc() to ensure that
18 years ago
Olle Johansson 0b2db74e5a Issue #9842 - Doxygen updates by snuffy. Thanks!
18 years ago
Joshua Colp 99eb9421d1 Unlock the minivmlock when no configuration is found. (issue #9814 reported by eliel)
18 years ago
Olle Johansson 283ddaa092 Fixing reload. Thanks to Mats Karlsson!
18 years ago
Olle Johansson c72efe27be Mini-voicemail - an embryo for a new voicemail system based on building
18 years ago