Commit Graph

382 Commits (812f5b51cb56a36668decc6dfc83adeca185429e)

Author SHA1 Message Date
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
19 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
20 years ago
Tilghman Lesher c6f691fbcc Merged revisions 11503 via svnmerge from
20 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
Kevin P. Fleming 005e436b57 another round of version tag updates, along with 'show version files' pattern filtering
20 years ago
Kevin P. Fleming 4f299de252 major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116)
20 years ago
Kevin P. Fleming 236c05fc59 let ODBC username/password default to the ones in odbc.ini (bug #4470)
20 years ago
Kevin P. Fleming 23472dd2c0 support configurable batch posting of CDRs (off by default) (bug #3883)
20 years ago
Kevin P. Fleming 8634ef9e4a don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110)
20 years ago
Kevin P. Fleming 1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
20 years ago
Mark Spencer b6f6544f3b Fix issue with global load_module symbol... hint: NEVER call "load_module();"
20 years ago
Kevin P. Fleming 3fd8f01d7c ensure that successful configuration results in the module staying loaded (bug #3968)
20 years ago
Kevin P. Fleming 3ca72cb08a ensure that failure to register the cdr_custom backend results in a module load failure
20 years ago
Mark Spencer 5ed63ffc87 Add CDR custom config warnings (Borga borga!) :)
20 years ago
Anthony Minessale II 318406a0c5 unconfigured cdr_custom should not be fatal
20 years ago
Mark Spencer 0beb05fac4 Fix load of cdr_custom
20 years ago
Mark Spencer d4781cb4d1 Fix custom CDR error (thanks kpfleming)
20 years ago
Mark Spencer a0a2592025 Fix cross compiling (bug #3868)
20 years ago
Russell Bryant 6f85337227 remove channel_pvt.h
20 years ago
Mark Spencer 122d0d8de6 Add custom CDR (bug #3595)
20 years ago
Russell Bryant c246200ab0 fix compilation issue (bug #3752)
20 years ago
Mark Spencer 0f10f4119f Make cdr_pgsql gracefully handle restarts (bug #3628)
21 years ago
Mark Spencer d5f8207a21 Make TDS CDR more resilient (bug #3597)
21 years ago
Mark Spencer 403d010294 Optionally store CDR's in GM time (bug #3500, with mods)
21 years ago
Mark Spencer 5f726ad8c7 Merge config updates (bug #3406)
21 years ago
Russell Bryant 0c30452423 update copyright headers for 2005
21 years ago
Mark Spencer 26a40258cc ODBC CDR fixes for bizarre error conditions and small performance improvement (bug #3340)
21 years ago
Mark Spencer ea8e10e8bc Fix types for character (bug #3255, take 3)
21 years ago
Mark Spencer 820d525ac6 Make ODBC storage as int configurable to be string or int (bug #3255)
21 years ago
Mark Spencer 6097648bf0 Make cdr_odbc store disposition as string not integer (thus matching documentation in doc/cdr.txt) (bug #3255)
21 years ago
Mark Spencer d6471bec31 Merge Olle's comment patch (bug #3097)
21 years ago
Mark Spencer 6e72bad3af Extra debugging in CDRCSV (bug #3063)
21 years ago
Mark Spencer 7d6a43c2bb Fix PGSQL CDR issue (bug #3028)
21 years ago
Russell Bryant 4bbdbf3a79 make table configurable for cdr_odbc (bug #2755)
21 years ago
Mark Spencer 9f1a7379cc Make table for PGSQL CDR's configurable (bug #2951)
21 years ago
Mark Spencer dccc0214c1 Fix missing ast_destroy's in PGSQL (bug #2944)
21 years ago
Russell Bryant 5a18fe243c fix mem leak (bug #2940)
21 years ago
Mark Spencer 9202b378d9 Fix CDR CSV to flush on CDR
21 years ago
James Golovich 1a2ba48fa1 Formatting fix and use ast_true in cdr_odbc.c (bug 2569) Thanks bkw_
21 years ago
Mark Spencer 82db278716 More Asterisk sparc patches (courtesy Belgarath)
21 years ago
Mark Spencer 94f18868f1 Build on older versions of TDS (bug #2194)
21 years ago
Mark Spencer c8170cf360 Fix double comma typo in sql_create_table (bug #2196)
21 years ago
Mark Spencer 4d3f4f719a Get rid of TDS warning
21 years ago
Mark Spencer 5733f64bdd Only Call PQfinish if conn isn't NULL (bug #2162)
21 years ago
Mark Spencer 728e55e697 Fix date/time in TDS stuff (bug #2147)
21 years ago
Mark Spencer d189993f15 Add Manager CDR (off by default) (bug #2127) courtesy cybershield
21 years ago
Mark Spencer a1531e0ae3 Ad MSSQL CDR support (bug #1859)
21 years ago
Mark Spencer 044ad2e2e7 Merge remaining audit patch (save dlfcn.c)
21 years ago
James Golovich 9e0e3799bf Fixes from bkw_. Formatting in app_db.c and handle start right in cdr_pgsql.c
21 years ago
Mark Spencer 65fc87b245 Merge bkw_'s ODBC patch
21 years ago
Mark Spencer 91a7960ad5 Add SQLite CDR support (bug #1986)
21 years ago
Mark Spencer d208532e6e x86-64 compile fixes and cleanups
21 years ago
Mark Spencer 727abcdec7 Merge FreeBSD locking fixes (bug #1411)
21 years ago
Mark Spencer 9286f2c6d3 More BSD compile fixes (bugs #1754 and #1756)
21 years ago
Jeremy McNamara 41c995dd18 Fix FreeTDS/MSSQL from bkw
21 years ago
James Golovich 29718a5001 ast_strlen_zero changes
21 years ago
Mark Spencer 1499f1e480 Create individual sip reload command (bug #880)
22 years ago
Mark Spencer 4393076c6c ODBC fix for PPC (bug #895)
22 years ago
Mark Spencer 6a6814379f Release pgsql on failure (bug #891)
22 years ago
Jeremy McNamara 93567dffb6 change warning into notice.
22 years ago
Jeremy McNamara 6b5c11548e should be != :)
22 years ago
Mark Spencer f6d7d4d020 Remove /usr/include from path??
22 years ago
Jeremy McNamara 275f0ed037 Add userfield logging
22 years ago
Jeremy McNamara be056ad723 Log cdr user data, if enabled
22 years ago
Jeremy McNamara 02196c2c68 Missed cdr_csv commit for CDR user data
22 years ago
Malcolm Davenport 452b07a6c2 Silly cdr_pgsql.so error
22 years ago
Malcolm Davenport 73f26fd3b9 Fix for cdr_pgsql for Debian per Bug #609
22 years ago
Jeremy McNamara d4b69a2f24 prevent deadlock if no config file
22 years ago
Jeremy McNamara 58c1a92bc4 check another possible location for unix-odbc install. Bug #727
22 years ago
Jeremy McNamara 5dc45a0046 fix a small memory leak, from brian
22 years ago
Mark Spencer a8d8f70335 Brian's ODBC patches
22 years ago
Jeremy McNamara 64e4031fb7 stop seg when no loguniqueid is set in config file. From bkw
22 years ago
Jeremy McNamara 64d595c1c0 fix a minor typo from brian
22 years ago
Mark Spencer cb161e634c More updates from Brian
22 years ago
Mark Spencer 3e6c5132de More renaming updates
22 years ago
Mark Spencer e8a355e872 Rename cdr_unixodbc to cdr_odbc
22 years ago
Mark Spencer b497faff84 Add cdr_unixodbc
22 years ago
Mark Spencer 3526997670 Merge BK's unix ODBC driver
22 years ago
Mark Spencer 89aadcec48 Harden PGSQL against dead connections (bug #481)
22 years ago
Jeremy McNamara 840e27bd41 This is for postgres, not mysql now. (it was buggin me)
22 years ago
Mark Spencer 4ce283ff18 Make it build and run on MacOS X
22 years ago
Mark Spencer b5bcecce5d Add DESTDIR support (bug #200)
22 years ago