Commit Graph

41 Commits (8924258639ffa919b4b78908f161756814e2bd06)

Author SHA1 Message Date
Luz Paz 2d7948fa48 docs: Fix typos in cdr/
2 months ago
Corey Farrell 572a508ef2 loader: Convert reload_classes to built-in modules.
7 years ago
Martin Tomec 44c5a144ce Sqlite3: make busy_timeout configurable.
8 years ago
Corey Farrell a6e5bae3ef Remove ASTERISK_REGISTER_FILE.
9 years ago
Matt Jordan 4a58261694 git migration: Refactor the ASTERISK_FILE_VERSION macro
10 years ago
Mark Michelson dcf1ad14da Add module support level to ast_module_info structure. Print it in CLI "module show" .
11 years ago
Igor Goncharovskiy a1e0a5e4b0 We have faced situation when using CDR and CEL by sqlite3 modules. With system having high load (~100 concurrent calls created by sipp) we found many cdr and cel records missed. There is special finction in sqlite3, that make able to fix this situation - sqlite3_wait_timeout, that also can replace awful code cdr_sqlite3 ad cel_sqlite3 modules. Also this function can be used for aastdb and res_config_sqlite3 to avoid missed writes to sqlite db.
11 years ago
Matthew Jordan fb5690ce4b Logger/CLI/etc.: Fix some aesthetic issues; reduce chatty verbose messages
11 years ago
Matthew Jordan 3713fa5c9f Prevent CDR backends from unregistering while billing data is in flight
12 years ago
Walter Doekes fc63e07135 Avoid cppcheck warnings; removing unused vars and a bit of cleanup.
13 years ago
Terry Wilson 57f42bd74f ast_channel opaquification of pointers and integral types
13 years ago
Richard Mudgett 55b70ae625 Merged revisions 337974 via svnmerge from
14 years ago
Leif Madsen a525edea59 Merged revisions 328247 via svnmerge from
14 years ago
Tilghman Lesher b4e18d5660 Add load priority order, such that preload becomes unnecessary in most cases
15 years ago
Tilghman Lesher 012979b835 Ensure that we can have commas within cdr values.
15 years ago
Sean Bright 9a3d1b76e3 Fix building CDR and CEL SQLite3 modules.
15 years ago
Russell Bryant a297f2d04e formatting tweaks and constification
15 years ago
Russell Bryant 2abbaa5b6d remove include
15 years ago
Matthew Nicholson c7358b39b7 Don't close the sqlite database when reloading. Only close the database when unloading.
16 years ago
Russell Bryant 0264eef115 Merge the new Channel Event Logging (CEL) subsystem.
16 years ago
Sean Bright 8d3fb80928 Fix lock usage in cdr_sqlite3_custom to avoid potential crashes during reload.
16 years ago
Russell Bryant 356c0e2f8c Note a bug in cdr_sqlite3_custom so I don't forget about it.
16 years ago
Sean Bright 9a83ed9d93 Use a properly allocated channel for substitution in cdr_sqlite3_custom.
16 years ago
Kevin P. Fleming e6b2e9a750 Const-ify the world (or at least a good part of it)
16 years ago
Tilghman Lesher 5120334acc Backport 1.6.0 fix to trunk (failsafe if db is not loaded)
16 years ago
Tilghman Lesher 31ae1bfa0d If config file is blank, don't load module.
16 years ago
Tilghman Lesher c8223fc957 Merge ast_str_opaque branch (discontinue usage of ast_str internals)
17 years ago
Terry Wilson 4f8242904a Begin on a crusade to end trailing whitespace!
17 years ago
Terry Wilson d66a8cd264 Fix checking for CONFIG_STATUS_FILEINVALID so that modules don't crash upon trying to parse an invalid config
17 years ago
Sean Bright 2fbd22bbc2 Fix memory leak in cdr_sqlite3_custom.
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
Jason Parker 0ea5f428d0 Fix a problem with quoting in sqlite3 cdr module..
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 9335ace850 another bunch of include removals (errno.h and asterisk/logger.h)
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Jason Parker b436362b19 Fix a few potential deadlocks in cdr_sqlite3_custom.
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 0d1abc92fe Don't try to continue loading cdr_sqlite3_custom on a module load failure (such as the config not existing)
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Russell Bryant 5bea998a55 Merge changes from team/russell/sqlite:
18 years ago