Commit Graph

360 Commits (b718f91873e39e75aee91bd73d95ffb62ed38f1e)

Author SHA1 Message Date
Sean Bright 8b1ed7aa5b Coding guidelines stuff only.
17 years ago
Jeff Peeler ef3b214728 Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
17 years ago
Tilghman Lesher 1207e9207e Don't unload config on reload, when config has not changed.
17 years ago
Tilghman Lesher 0c08b7727d Ensure that "calldate" is acceptable for a column name.
17 years ago
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
Jason Parker cf5666ca7a Merged revisions 70612 via svnmerge from
18 years ago
Jason Parker 21c8795c1d Merged revisions 70560 via svnmerge from
18 years ago
Jason Parker a5d03568e5 Merged revisions 70554 via svnmerge from
18 years ago
Steve Murphy 9c2197dc9e This enhancement provided via bug 9993, a patch to upgrade cdr_manager to have cdr_custom capabilities. Many thanks to eserra for this contribution
18 years ago
Russell Bryant 43658278ff Merged revisions 69702 via svnmerge from
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 febc05b1f7 Merged revisions 69016 via svnmerge from
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Tilghman Lesher 2263fd907e Oops, should have released this when we were done with it.
18 years ago
Tilghman Lesher cff6586d8d Fix for 64-bit platform
18 years ago
Tilghman Lesher de27bce777 Comment a few more things, and remove an unnecessary db connection check
18 years ago
Tilghman Lesher 6fbadb4325 Merge cdr_adaptive_odbc from developer branch
18 years ago
Steve Murphy fe7068a51b Merged revisions 62689 via svnmerge from
18 years ago
Tilghman Lesher 711c77fc08 Merged revisions 59302 via svnmerge from
18 years ago
Olle Johansson fb0ed25369 Correct reference to Radius library
18 years ago
Russell Bryant 5bea998a55 Merge changes from team/russell/sqlite:
18 years ago
Olle Johansson bc01e39174 Creating new doxygen macro "\extref" to create page that lists
18 years ago
Jason Parker fe4208e4ee Merged revisions 50346 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
Joshua Colp 380d0e9070 Merged revisions 47584 via svnmerge from
19 years ago
Kevin P. Fleming 749029de38 Merged revisions 46200 via svnmerge from
19 years ago
Joshua Colp 68ccfe6e5e Merged revisions 45928 via svnmerge from
19 years ago
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
19 years ago
Tilghman Lesher 993adde868 Merged revisions 43410 via svnmerge from
19 years ago
Tilghman Lesher 8e81e20658 One last forgotten constified file
19 years ago
Russell Bryant cb268c0228 resolve compiler warnings from constification
19 years ago
Joshua Colp e8b820e743 Magical eightball says warnings be gone.
19 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
19 years ago
Russell Bryant eb3db2fc15 fix some breakage, MOG DID IT!!!
19 years ago
Matt O'Gorman 05a695af72 everything that loads a config that needs a config file to run
19 years ago
Kevin P. Fleming d12f54f90b GNU make already knows how to quietly ignore non-existent files in 'include' directives
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Kevin P. Fleming 000ba592b2 more Makefile cleanup and consistency stuff
19 years ago
Kevin P. Fleming 748431f7b6 move rules file to prepare for generic rules file
19 years ago
Kevin P. Fleming dbf099cdb8 update dependency information to match new names for dependencies
19 years ago
Kevin P. Fleming 98a465fc09 move FreeTDS version check into configure script
19 years ago
Kevin P. Fleming a579371f43 use new (separate) dependencies file from menuselect
19 years ago
Kevin P. Fleming e61d3d91f3 The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
19 years ago
Russell Bryant 48ae9f0d4f - convert the 'uninstall' target to use separate targets to process each
19 years ago
Russell Bryant 55e8a60363 - specify that 'depend' is a .PHONY target
19 years ago
Russell Bryant 9db0520ff9 - specify that 'all' is a .PHONY target
19 years ago
Russell Bryant c399a06450 add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
19 years ago
Russell Bryant 9f2a6516cf don't blow up in the sub Makefiles if menuselect.makeopts is not present. This
19 years ago
Russell Bryant b6147a21b9 remove "depend" from the "all" targets in sub Makefiles. The main Makefile
19 years ago
Kevin P. Fleming 8d88bf549d there is no reason to define our own 'maximum path length' when the POSIX headers already define one for us
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Russell Bryant 503f99e2e8 remove the need to have to re-run make after a default menuselect.makeopts
19 years ago
Kevin P. Fleming e856010714 use module names, not file names, in menuselect
19 years ago
Russell Bryant a8c1284633 change a warning message to a debug message
19 years ago
Russell Bryant b0ee67ebdc remove a bunch of duplicated log messages. There is a warning that gets
19 years ago
Russell Bryant 1fcc86d905 Add support for logging CDR recrods to a radius server (issue #6639, phsultan)
19 years ago
Russell Bryant d8f4a04acc remove an unused variable, and default the user to asterisk if not specified
19 years ago
Russell Bryant f1a97c3b3f various fixes regarding coding guidelines issues
19 years ago
Russell Bryant 0523e82f46 if a hostname is not specified, connect over a unix socket instead of
19 years ago
Kevin P. Fleming d7aead737d Merged revisions 23673 via svnmerge from
19 years ago
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
19 years ago
Mark Spencer 746c984500 Fix CDR builds when includes are in freetds directory off include
19 years ago
Tilghman Lesher efc4a4708c Merged revisions 21597 via svnmerge from
19 years ago
Kevin P. Fleming 2229586d71 more module loader related fixes
19 years ago
Tilghman Lesher b8317169d0 Compatibility fixes for loader changes
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
Luigi Rizzo 408a6e25e4 remove duplicate CFLAGS and SOLINK definitions that are
19 years ago
Russell Bryant d3527e5020 add header to fix building with -Werror (issue #6718)
19 years ago
Matt O'Gorman dad9d7709b allows the table field to be configurable for
19 years ago
Matt O'Gorman 7377ebbd2e cdr_csv logging parameters in cdr.conf
19 years ago
Tilghman Lesher c6f691fbcc Merged revisions 11503 via svnmerge from
19 years ago
Kevin P. Fleming e7c198453d ensure that dependencies are rebuilt after 'make update' so that builds don't break when files are removed/renamed
20 years ago
Kevin P. Fleming 764b5d8686 use auto-build for cdr modules
20 years ago
Tilghman Lesher 8774e4a7d8 Merged revisions 9233 via svnmerge from
20 years ago
Matt O'Gorman 7d03c33e0a Allows for user to uninstall asterisk binaries
20 years ago
Olle Johansson aad2331375 - Adding whitespace that I found unused outside
20 years ago
Olle Johansson fe1366c201 Declaring conn and result static to avoid collission with realtime driver (issue 6336, pressureman)
20 years ago
Russell Bryant a725468381 update doxygen docs to specify authors
20 years ago
Tilghman Lesher cf1e68e4e8 Merged revisions 7637 via svnmerge from
20 years ago
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
20 years ago
Kevin P. Fleming c14588af86 remove remaining .cvsignore files
20 years ago
Mark Spencer 3fbcf6e3d0 fix bsd compile issue (bug #5731)
20 years ago
Kevin P. Fleming 1740d40182 issue #5693
20 years ago
Russell Bryant 31a804b97c issue #5605
20 years ago
Kevin P. Fleming 7ffb604a2f issue #4678
20 years ago
Mark Spencer a4c3f0ae61 Merge TDS cdr fixes (bug #5517, with slight mods)
20 years ago
Russell Bryant 6324072247 more doxygenification (issue #5513)
20 years ago
Russell Bryant c3c96a7461 fix reload problem - unload_module was not setting connected to 0 (issue #5498)
20 years ago
Kevin P. Fleming b8f23573fa more license/copyright header updates (thanks Ian!)
20 years ago
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
20 years ago
Kevin P. Fleming f77779b4fc more Cygwin portability (issue #4678)
20 years ago
Kevin P. Fleming a90915e4e9 fix cdr_pgsql build on Debian testing (issue #5064)
20 years ago
Kevin P. Fleming 9519f6c5f4 clean up, use make functions instead of subshells, remove unused stuff
20 years ago
Kevin P. Fleming 22b0f5d306 add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)
20 years ago
Russell Bryant 1d731c6d2a clarify comment
20 years ago
Kevin P. Fleming be9d72b11d remove complex malloc-avoidance (bug #4601)
20 years ago
Kevin P. Fleming 0e9d920a60 move tools used during build into build_tools subdirectory
20 years ago
Kevin P. Fleming adc9c81692 fix version tag macro calls
20 years ago
Kevin P. Fleming 2b8338cb52 more file version tags
20 years ago