Commit Graph

256 Commits (6d5290a85b51a6409c7f94bc09c7b110a9cf137c)

Author SHA1 Message Date
Sean Bright 87973ccea2 Minor logging cleanups
17 years ago
Tilghman Lesher 369ccdef5e Oops, buffer wasn't long enough for query
17 years ago
Tilghman Lesher 7c26320110 If any field is not null, but has no default, then it must be set or the insert will fail.
17 years ago
Tilghman Lesher ded5ec5b5d Merged revisions 113874 via svnmerge from
17 years ago
Jason Parker 1958abd90e Merged revisions 110779 via svnmerge from
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 cafd900dc8 Convert prepare_and_execute to direct_execute for speed
17 years ago
Tilghman Lesher 408228bfb8 Whitespace changes only
17 years ago
Tilghman Lesher fbb78d988d Convert to use ast_str
17 years ago
Tilghman Lesher f274f7bcaa Permit additional CDR columns to be saved in Postgres. Note that these
17 years ago
Tilghman Lesher ac3c95e370 Change the way the new filter feature works, by allowing it to be a column NOT
18 years ago
Tilghman Lesher 799246dae3 Add the "filter" keyword
18 years ago
Tilghman Lesher ada37a921b Port Nick Gorham's timestamp patch to adaptive_odbc, too
18 years ago
Tilghman Lesher ed3007e7b3 Commit Nick Gorham's suggestion for timestamp fix
18 years ago
Tilghman Lesher 222917317d Fix problem with timestr going out of scope
18 years ago
Luigi Rizzo fd88390af7 remove unnecessary (char *) casts for ast_config_AST_* variables.
18 years ago
Kevin P. Fleming 100ef27af9 Merged revisions 93180 via svnmerge from
18 years ago
Tilghman Lesher 5d23b05a92 Don't use backslash as an escape character, unless it really is an escape character.
18 years ago
Luigi Rizzo 5490889153 Put into Makefile.moddir_rules the common instructions used to
18 years ago
Luigi Rizzo d652be0930 normalize subdirs' Makefile by using ASTTOPDIR and not .. to reference
18 years ago
Jason Parker 0ea5f428d0 Fix a problem with quoting in sqlite3 cdr module..
18 years ago
Tilghman Lesher 700cd10397 Merged revisions 90166,90736,90753 via svnmerge from
18 years ago
Tilghman Lesher ce2f670228 Change cdr_manager to use a "CDR" level, rather than the (overcrowded) "call" level.
18 years ago
Luigi Rizzo 7e8835e0d7 remove another set of redundant #include "asterisk/options.h"
18 years ago
Tilghman Lesher cbfc6dcbea Make trunk build again
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 d82a631f9c more removal of duplicate #include lines
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
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
Jason Parker b436362b19 Fix a few potential deadlocks in cdr_sqlite3_custom.
18 years ago
Steve Murphy a87efea3c4 Merged revisions 89088 via svnmerge from
18 years ago
Joshua Colp 16e33c3791 Restore building under 64-bit platforms.
18 years ago
Tilghman Lesher 4650a56d23 Convert cdr_odbc to use res_odbc managed connections
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
Tilghman Lesher c96c01cfd1 Fix memory leak
18 years ago
Tilghman Lesher 9691f51d73 Set enablecdr at the end of re-reading the config file (Closes issue #10852)
18 years ago
Tilghman Lesher 2fc1f89c30 Fix cdr_manager, such that if the config file is created past load, it'll
18 years ago
Joshua Colp 6489076887 Fix memory leaks in pbx_dundi, cdr_pgsql, and the configuration file parser.
18 years ago
Joshua Colp 2f0dba3010 Clean up code in cdr_csv. (Are you sensing a theme for me today?)
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
Jason Parker 28fbbde310 Merged revisions 82344 via svnmerge from
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Russell Bryant 9d959a040e Resolve some compiler warnings so that I can build under dev mode
18 years ago
Tilghman Lesher 7f570a8b3d Some ODBC drivers don't set the CHAR_OCTET_LENGTH field correctly.
18 years ago
Joshua Colp 52099657d5 Merged revisions 77540 via svnmerge from
18 years ago
Mark Michelson 625410df63 Merged revisions 77318 via svnmerge from
18 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
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 8aaa93e624 Merged revisions 70841 via svnmerge from
18 years ago