Mark Michelson
625410df63
Merged revisions 77318 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r77318 | mmichelson | 2007-07-26 13:30:29 -0500 (Thu, 26 Jul 2007) | 8 lines
Two consecutive calls to PQfinish could occur, meaning free gets called on the same variable twice.
This patch sets the connection to NULL after calls to PQfinish so that the problem does not occur.
Also in this patch, prashant_jois informed me that it is safe to pass a null pointer to PQfinish, so
I have removed the check for conn's existence from my_unload_module.
(closes issue 10295, reported by junky, patched by me with input from prashant_jois)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-26 18:31:28 +00:00
Russell Bryant
f8483a0d04
Do a massive conversion for using the ast_verb() macro
...
(closes issue #10277 , patches by mvanbaak)
Basically, this changes ...
if (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_3, "Something\n");
to ...
ast_verb(3, "Something\n");
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-26 15:49:18 +00:00
Tilghman Lesher
81bc1d7af5
Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-18 19:47:20 +00:00
Steve Murphy
8aaa93e624
Merged revisions 70841 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r70841 | murf | 2007-06-21 14:19:36 -0600 (Thu, 21 Jun 2007) | 9 lines
Merged revisions 70804 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r70804 | murf | 2007-06-21 13:13:17 -0600 (Thu, 21 Jun 2007) | 1 line
it was pointed out that the cdr_custom config load could get a lock, and under certain circumstances, would never release it. I also noted that the situation where more than one mapping spec was warned about, but did not ignore further mappings as it had promised. I think I have fixed both situations.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-21 20:28:04 +00:00
Jason Parker
cf5666ca7a
Merged revisions 70612 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70612 | qwell | 2007-06-20 18:32:39 -0500 (Wed, 20 Jun 2007) | 4 lines
Fix some potential memory leaks in cdr_pgsql.
Issue 10020, patch by me, with credit to prashant_jois for pointing out the problem.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-20 23:33:49 +00:00
Jason Parker
21c8795c1d
Merged revisions 70560 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70560 | qwell | 2007-06-20 17:55:21 -0500 (Wed, 20 Jun 2007) | 1 line
Fix a stupid mistake in my last cdr_pgsql race condition fix
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-20 22:55:47 +00:00
Jason Parker
a5d03568e5
Merged revisions 70554 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70554 | qwell | 2007-06-20 17:31:35 -0500 (Wed, 20 Jun 2007) | 4 lines
Fix a race condition in cdr_pgsql that can occur when reloading the module.
Issue 10022, patch by me, with credit to prashant_jois for finding the bug.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-20 22:32:57 +00:00
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
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-19 20:38:21 +00:00
Russell Bryant
43658278ff
Merged revisions 69702 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r69702 | russell | 2007-06-18 11:35:02 -0500 (Mon, 18 Jun 2007) | 6 lines
To prevent 92138749238754 more reports of "I have unixodbc installed, but
still can't build *_odbc.so!", check for ltdl directly, instead of just listing
it as another library to include in the unixodbc check in the configure script.
This also makes ltdl show up as a dependency in menuselect so people know what
to go install. (related to issue #9989 , patch by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-18 16:35:51 +00:00
Kevin P. Fleming
5fdba27ea2
Merged revisions 69392 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r69392 | kpfleming | 2007-06-14 16:50:40 -0500 (Thu, 14 Jun 2007) | 2 lines
use ast_localtime() in every place localtime_r() was being used
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-14 22:09:20 +00:00
Russell Bryant
055d82cbce
Add a massive set of changes for converting to use the ast_debug() macro.
...
(issue #9957 , patches from mvanbaak, caio1982, critch, and dimas)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-14 19:39:12 +00:00
Russell Bryant
febc05b1f7
Merged revisions 69016 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r69016 | russell | 2007-06-12 14:40:17 -0500 (Tue, 12 Jun 2007) | 4 lines
Fix a memory leak pointed out by prashant_jois in #asterisk-bugs. PQclear() was
not called on the result structure after doing a PQexec(). Also, fix up some
formatting in passing.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 19:40:41 +00:00
Tilghman Lesher
9d05ff8ed5
Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-06 21:20:11 +00:00
Tilghman Lesher
2263fd907e
Oops, should have released this when we were done with it.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-24 03:27:54 +00:00
Tilghman Lesher
cff6586d8d
Fix for 64-bit platform
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-22 02:41:55 +00:00
Tilghman Lesher
de27bce777
Comment a few more things, and remove an unnecessary db connection check
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-21 02:05:23 +00:00
Tilghman Lesher
6fbadb4325
Merge cdr_adaptive_odbc from developer branch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65169 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-18 20:21:11 +00:00
Steve Murphy
fe7068a51b
Merged revisions 62689 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r62689 | murf | 2007-05-02 11:10:50 -0600 (Wed, 02 May 2007) | 1 line
a)In chan_zap, set the clid, src fields in channel_alloc call. b)in the channel_alloc func, set the cid_num and name fields from the arglist[blush]. c) don't update the channel app & app data fields if you are in the 'h' extension. d)the load_module func in cdr_radius needs to return DECLINE, SUCCESS.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-02 17:24:03 +00:00
Tilghman Lesher
711c77fc08
Merged revisions 59302 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r59302 | tilghman | 2007-03-29 11:07:05 -0500 (Thu, 29 Mar 2007) | 11 lines
Merged revisions 59301 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59301 | tilghman | 2007-03-29 11:04:46 -0500 (Thu, 29 Mar 2007) | 3 lines
Issue 9415 - No point to getting a diagnostic field if we aren't doing anything with the information.
(Plus, it tends to crash the Postgres ODBC driver.)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-29 16:08:17 +00:00
Olle Johansson
fb0ed25369
Correct reference to Radius library
...
THanks Philippe - Greetings from Lisboa, Portugal
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-14 17:01:37 +00:00
Russell Bryant
5bea998a55
Merge changes from team/russell/sqlite:
...
* Add new module, cdr_sqlite3_custom which allows logging custom CDRs into a
SQLite3 database. (issue #7149 , alerios)
* Add new module, res_config_sqlite, which adds realtime database configuration
support for SQLite version 2. I decided that this was ok since we didn't have
any realtime support for version 3. If someone ports this to version 3, then
version 2 support can be removed or marked deprecated.
(issue #7790 , rbarun_proformatique)
* Mark cdr_sqlite as deprecated in favor of cdr_sqlite3_custom.
Also, note that there were other modules on the bug tracker that did not make
the cut because they provided some duplicated functionality. Those are:
* cdr_sqlite3 (issue #6754 , moy)
* cdr_sqlite3 (issue #8694 , bsd)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-13 21:22:33 +00:00
Olle Johansson
bc01e39174
Creating new doxygen macro "\extref" to create page that lists
...
external libraries and URLs to these. Please help me add these
references.
We might want to create a similar macro "\linuxpackage" to list
the needed Linux packages in popular distributions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-24 19:27:50 +00:00
Jason Parker
fe4208e4ee
Merged revisions 50346 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r50346 | qwell | 2007-01-10 10:45:36 -0600 (Wed, 10 Jan 2007) | 4 lines
Reverse some logic in cdr_manager, which made it fail to load if the config file existed.
Issue 8777
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-10 16:47:23 +00:00
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
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 19:44:20 +00:00
Joshua Colp
380d0e9070
Merged revisions 47584 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47584 | file | 2006-11-13 16:28:57 -0500 (Mon, 13 Nov 2006) | 10 lines
Merged revisions 47583 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47583 | file | 2006-11-13 16:26:36 -0500 (Mon, 13 Nov 2006) | 2 lines
Initialize global pointers for connection and result to NULL. (issue #8356 reported by james)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 21:32:13 +00:00
Kevin P. Fleming
749029de38
Merged revisions 46200 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46200 | kpfleming | 2006-10-25 09:32:08 -0500 (Wed, 25 Oct 2006) | 2 lines
apparently developers are still not aware that they should be use ast_copy_string instead of strncpy... fix up many more users, and fix some bugs in the process
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-25 14:44:50 +00:00
Joshua Colp
68ccfe6e5e
Merged revisions 45928 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r45928 | file | 2006-10-22 20:27:39 -0400 (Sun, 22 Oct 2006) | 10 lines
Merged revisions 45927 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r45927 | file | 2006-10-22 20:25:28 -0400 (Sun, 22 Oct 2006) | 2 lines
Don't leak memory mmmk?
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-23 00:33:20 +00:00
Matt O'Gorman
ae8cc3e18b
bug #8076 check option_debug before printing to debug channel.
...
patch provided in bugnote, with minor changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 15:53:07 +00:00
Tilghman Lesher
993adde868
Merged revisions 43410 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r43410 | tilghman | 2006-09-21 11:31:59 -0500 (Thu, 21 Sep 2006) | 10 lines
Merged revisions 43409 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43409 | tilghman | 2006-09-21 11:18:19 -0500 (Thu, 21 Sep 2006) | 2 lines
TDS 0.64 updates
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-21 16:38:16 +00:00
Tilghman Lesher
8e81e20658
One last forgotten constified file
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-20 21:14:33 +00:00
Russell Bryant
cb268c0228
resolve compiler warnings from constification
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-20 21:08:32 +00:00
Joshua Colp
e8b820e743
Magical eightball says warnings be gone.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-20 21:03:37 +00:00
Tilghman Lesher
70af28270d
Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-20 20:40:39 +00:00
Russell Bryant
eb3db2fc15
fix some breakage, MOG DID IT!!!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-31 21:50:55 +00:00
Matt O'Gorman
05a695af72
everything that loads a config that needs a config file to run
...
now reports AST_MODULE_LOAD_DECLINE when loading if config file
is not there, also fixed an error in res_config_pgsql where it
had a non static function when it should.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-31 21:00:20 +00:00
Kevin P. Fleming
d12f54f90b
GNU make already knows how to quietly ignore non-existent files in 'include' directives
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-26 23:58:47 +00:00
Kevin P. Fleming
0a27d8bfe5
merge new_loader_completion branch, including (at least):
...
- restructured build tree and makefiles to eliminate recursion problems
- support for embedded modules
- support for static builds
- simpler cross-compilation support
- simpler module/loader interface (no exported symbols)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 02:11:39 +00:00
Kevin P. Fleming
000ba592b2
more Makefile cleanup and consistency stuff
...
don't reuse LIBS variable from top-level Makefile (oops)
build Asterisk binary after subdirs (preparing for embedded modules)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-15 19:59:35 +00:00
Kevin P. Fleming
748431f7b6
move rules file to prepare for generic rules file
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-06 21:04:28 +00:00
Kevin P. Fleming
dbf099cdb8
update dependency information to match new names for dependencies
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 20:12:29 +00:00
Kevin P. Fleming
98a465fc09
move FreeTDS version check into configure script
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-29 07:50:01 +00:00
Kevin P. Fleming
a579371f43
use new (separate) dependencies file from menuselect
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-25 08:50:14 +00:00
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>)
...
support the new location for zaptel.h and tonezone.h
use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries
combine the common rules into a top-level Makefile.rules file
remove all (now) unnecessary stuff from subdir Makefiles
change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory)
alphabetize --with-<foo> options in configure script
enhance Net-SNMP support in configure script to provide a --with-netsnmp option
fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated
add 'optional package' usage to modules now that menuselect can output it
allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 19:43:31 +00:00
Russell Bryant
48ae9f0d4f
- convert the 'uninstall' target to use separate targets to process each
...
subdirectory instead of a for loop
- remove the FORCE target from the main Makefile and add the couple places
I used it to the .PHONY target. .PHONY does the same thing and is a built-in
more efficient way of doing it.
- add a bunch more targets to .PHONY ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 15:38:13 +00:00
Russell Bryant
55e8a60363
- specify that 'depend' is a .PHONY target
...
- use separate targets instead of a for loop for doing 'make depend' for
each sub directory
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 15:08:08 +00:00
Russell Bryant
9db0520ff9
- specify that 'all' is a .PHONY target
...
- add a copyright header to the build_tools Makefile
- remove 'depend' from the 'all' target in agi/ and utils/ since it is handled
by the main Makefile already
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 14:09:18 +00:00
Russell Bryant
c399a06450
add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
...
since they are targets that do not have resulting files and are never listed
as prerequisites to real targets. Using .PHONY in this manner improves make
performance by never having to check for resulting files.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 11:27:03 +00:00
Russell Bryant
9f2a6516cf
don't blow up in the sub Makefiles if menuselect.makeopts is not present. This
...
is valid in some cases, such as "make clean".
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 00:14:16 +00:00
Russell Bryant
b6147a21b9
remove "depend" from the "all" targets in sub Makefiles. The main Makefile
...
already calls "make depend" for each of the subdirectories
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-16 16:54:00 +00:00
Kevin P. Fleming
8d88bf549d
there is no reason to define our own 'maximum path length' when the POSIX headers already define one for us
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 20:40:10 +00:00
Kevin P. Fleming
472c1ca282
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:54:56 +00:00
Russell Bryant
503f99e2e8
remove the need to have to re-run make after a default menuselect.makeopts
...
file is generated. This allows a fresh checkout of asterisk to be built
and installed with the standard "./configure && make && make install".
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 16:03:31 +00:00
Kevin P. Fleming
e856010714
use module names, not file names, in menuselect
...
work around XML parsing bug in menuselect for default sounds package
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 20:46:27 +00:00
Russell Bryant
a8c1284633
change a warning message to a debug message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31226 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 00:15:25 +00:00
Russell Bryant
b0ee67ebdc
remove a bunch of duplicated log messages. There is a warning that gets
...
logged when this function returns an error
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-30 11:23:48 +00:00
Russell Bryant
1fcc86d905
Add support for logging CDR recrods to a radius server (issue #6639 , phsultan)
...
- with contributions from miconda, jcollie, and sb
- branch maintained by oej
Thanks everyone!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 22:30:05 +00:00
Russell Bryant
d8f4a04acc
remove an unused variable, and default the user to asterisk if not specified
...
in the config file (issue #7153 , Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 01:35:12 +00:00
Russell Bryant
f1a97c3b3f
various fixes regarding coding guidelines issues
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28935 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 01:29:08 +00:00
Russell Bryant
0523e82f46
if a hostname is not specified, connect over a unix socket instead of
...
connecting to localhost (issue #7145 , Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 00:57:04 +00:00
Kevin P. Fleming
d7aead737d
Merged revisions 23673 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r23673 | kpfleming | 2006-04-30 09:27:56 -0500 (Sun, 30 Apr 2006) | 2 lines
allow top-level OPTIMIZE setting to affect builds in these subdirectories too
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30 14:28:25 +00:00
Kevin P. Fleming
574e14cbea
Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:11:45 +00:00
Mark Spencer
746c984500
Fix CDR builds when includes are in freetds directory off include
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 03:40:12 +00:00
Tilghman Lesher
efc4a4708c
Merged revisions 21597 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r21597 | tilghman | 2006-04-19 13:43:17 -0500 (Wed, 19 Apr 2006) | 2 lines
Bug 6553 - plug memory leaks when ODBC connection is down
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-19 18:56:38 +00:00
Kevin P. Fleming
2229586d71
more module loader related fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17 16:42:21 +00:00
Tilghman Lesher
b8317169d0
Compatibility fixes for loader changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20075 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14 18:44:24 +00:00
Luigi Rizzo
e43bc6634d
This rather large commit changes the way modules are loaded.
...
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely. Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.
Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.
I am just sorry that this change missed SVN version number 20000!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14 14:08:19 +00:00
Kevin P. Fleming
f10f427d49
since the module API is changing, it's a good time to const-ify the description() and key() return values
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08 22:01:19 +00:00
Luigi Rizzo
408a6e25e4
remove duplicate CFLAGS and SOLINK definitions that are
...
already in the top level Makefile
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-23 13:39:36 +00:00
Russell Bryant
d3527e5020
add header to fix building with -Werror (issue #6718 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-14 16:18:20 +00:00
Matt O'Gorman
dad9d7709b
allows the table field to be configurable for
...
cdr_tds.conf. patch provided by bug 6629 with
minor change.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-08 22:12:20 +00:00
Matt O'Gorman
7377ebbd2e
cdr_csv logging parameters in cdr.conf
...
usegmtime, log date/time in GMT
loguniqueid log uniqueid
loguserfield log user field
patch provided by bug 5015
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-02 21:04:04 +00:00
Tilghman Lesher
c6f691fbcc
Merged revisions 11503 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r11503 | tilghman | 2006-03-01 11:41:52 -0600 (Wed, 01 Mar 2006) | 2 lines
Bug 6615 - Fix 64bit conversion errors by using a long int
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-01 17:53:05 +00:00
Kevin P. Fleming
e7c198453d
ensure that dependencies are rebuilt after 'make update' so that builds don't break when files are removed/renamed
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-12 16:52:42 +00:00
Kevin P. Fleming
764b5d8686
use auto-build for cdr modules
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 17:24:44 +00:00
Tilghman Lesher
8774e4a7d8
Merged revisions 9233 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r9233 | tilghman | 2006-02-08 16:34:38 -0600 (Wed, 08 Feb 2006) | 2 lines
Leave it to RH/CentOS to put the freetds headers in a completely nonstandard location.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-08 23:10:39 +00:00
Matt O'Gorman
7d03c33e0a
Allows for user to uninstall asterisk binaries
...
bug 6177
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01 18:39:41 +00:00
Olle Johansson
aad2331375
- Adding whitespace that I found unused outside
...
- Adding "if (option_debug)" before outputting to DEBUG channel
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 11:46:29 +00:00
Olle Johansson
fe1366c201
Declaring conn and result static to avoid collission with realtime driver (issue 6336, pressureman)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 11:42:09 +00:00
Russell Bryant
a725468381
update doxygen docs to specify authors
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30 21:18:06 +00:00
Tilghman Lesher
cf1e68e4e8
Merged revisions 7637 via svnmerge from
...
/branches/1.2
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-26 20:34:46 +00:00
Kevin P. Fleming
2c65582b66
remove extraneous svn:executable properties
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Kevin P. Fleming
c14588af86
remove remaining .cvsignore files
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:09:49 +00:00
Mark Spencer
3fbcf6e3d0
fix bsd compile issue (bug #5731 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-14 00:45:07 +00:00
Kevin P. Fleming
1740d40182
issue #5693
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-10 23:42:45 +00:00
Russell Bryant
31a804b97c
issue #5605
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 15:09:47 +00:00
Kevin P. Fleming
7ffb604a2f
issue #4678
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 21:53:30 +00:00
Mark Spencer
a4c3f0ae61
Merge TDS cdr fixes (bug #5517 , with slight mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-29 18:49:25 +00:00
Russell Bryant
6324072247
more doxygenification (issue #5513 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 13:03:17 +00:00
Russell Bryant
c3c96a7461
fix reload problem - unload_module was not setting connected to 0 (issue #5498 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-22 15:28:56 +00:00
Kevin P. Fleming
b8f23573fa
more license/copyright header updates (thanks Ian!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15 15:44:26 +00:00
Kevin P. Fleming
5da915dcfd
update MANY more files with proper copyright/license info (thanks Ian!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
Kevin P. Fleming
f77779b4fc
more Cygwin portability (issue #4678 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-08 02:21:24 +00:00
Kevin P. Fleming
a90915e4e9
fix cdr_pgsql build on Debian testing (issue #5064 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 15:59:25 +00:00
Kevin P. Fleming
9519f6c5f4
clean up, use make functions instead of subshells, remove unused stuff
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 02:54:02 +00:00
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 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 23:00:47 +00:00
Russell Bryant
1d731c6d2a
clarify comment
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-14 20:08:31 +00:00
Kevin P. Fleming
be9d72b11d
remove complex malloc-avoidance (bug #4601 )
...
remove resetting of variables during unload that will only be freed or set to known values on reload
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-11 21:06:27 +00:00
Kevin P. Fleming
0e9d920a60
move tools used during build into build_tools subdirectory
...
clean up Makefile headers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-20 17:26:08 +00:00
Kevin P. Fleming
adc9c81692
fix version tag macro calls
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 23:12:05 +00:00
Kevin P. Fleming
2b8338cb52
more file version tags
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming
005e436b57
another round of version tag updates, along with 'show version files' pattern filtering
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 21:09:59 +00:00
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 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 03:04:58 +00:00
Kevin P. Fleming
236c05fc59
let ODBC username/password default to the ones in odbc.ini (bug #4470 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 02:43:01 +00:00
Kevin P. Fleming
23472dd2c0
support configurable batch posting of CDRs (off by default) (bug #3883 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 01:42:31 +00:00
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 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 17:00:33 +00:00
Kevin P. Fleming
1f9ab2380a
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Mark Spencer
b6f6544f3b
Fix issue with global load_module symbol... hint: NEVER call "load_module();"
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-07 14:53:17 +00:00
Kevin P. Fleming
3fd8f01d7c
ensure that successful configuration results in the module staying loaded (bug #3968 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-06 16:14:21 +00:00
Kevin P. Fleming
3ca72cb08a
ensure that failure to register the cdr_custom backend results in a module load failure
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5343 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 17:31:41 +00:00
Mark Spencer
5ed63ffc87
Add CDR custom config warnings (Borga borga!) :)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 03:38:35 +00:00
Anthony Minessale II
318406a0c5
unconfigured cdr_custom should not be fatal
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-31 15:55:44 +00:00
Mark Spencer
0beb05fac4
Fix load of cdr_custom
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-31 15:50:15 +00:00
Mark Spencer
d4781cb4d1
Fix custom CDR error (thanks kpfleming)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-31 05:54:25 +00:00
Mark Spencer
a0a2592025
Fix cross compiling (bug #3868 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-27 22:39:17 +00:00
Russell Bryant
6f85337227
remove channel_pvt.h
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-25 17:12:40 +00:00
Mark Spencer
122d0d8de6
Add custom CDR (bug #3595 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-24 21:57:42 +00:00
Russell Bryant
c246200ab0
fix compilation issue (bug #3752 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-11 06:20:08 +00:00
Mark Spencer
0f10f4119f
Make cdr_pgsql gracefully handle restarts (bug #3628 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-19 20:10:52 +00:00
Mark Spencer
d5f8207a21
Make TDS CDR more resilient (bug #3597 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-16 03:52:47 +00:00
Mark Spencer
403d010294
Optionally store CDR's in GM time (bug #3500 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4962 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-04 05:52:45 +00:00
Mark Spencer
5f726ad8c7
Merge config updates (bug #3406 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-25 06:10:20 +00:00
Russell Bryant
0c30452423
update copyright headers for 2005
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21 07:06:25 +00:00
Mark Spencer
26a40258cc
ODBC CDR fixes for bizarre error conditions and small performance improvement (bug #3340 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-15 09:01:52 +00:00
Mark Spencer
ea8e10e8bc
Fix types for character (bug #3255 , take 3)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-11 21:25:21 +00:00
Mark Spencer
820d525ac6
Make ODBC storage as int configurable to be string or int (bug #3255 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4763 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-11 18:56:57 +00:00
Mark Spencer
6097648bf0
Make cdr_odbc store disposition as string not integer (thus matching documentation in doc/cdr.txt) (bug #3255 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-05 23:25:34 +00:00
Mark Spencer
d6471bec31
Merge Olle's comment patch (bug #3097 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-19 21:13:41 +00:00
Mark Spencer
6e72bad3af
Extra debugging in CDRCSV (bug #3063 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-15 20:49:33 +00:00
Mark Spencer
7d6a43c2bb
Fix PGSQL CDR issue (bug #3028 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-12 23:34:24 +00:00
Russell Bryant
4bbdbf3a79
make table configurable for cdr_odbc (bug #2755 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-10 11:59:43 +00:00
Mark Spencer
9f1a7379cc
Make table for PGSQL CDR's configurable (bug #2951 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4412 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-09 20:34:35 +00:00
Mark Spencer
dccc0214c1
Fix missing ast_destroy's in PGSQL (bug #2944 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-01 05:27:18 +00:00
Russell Bryant
5a18fe243c
fix mem leak (bug #2940 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-25 06:13:29 +00:00
Mark Spencer
9202b378d9
Fix CDR CSV to flush on CDR
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-07 17:50:15 +00:00
James Golovich
1a2ba48fa1
Formatting fix and use ast_true in cdr_odbc.c (bug 2569) Thanks bkw_
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-05 01:05:30 +00:00
Mark Spencer
82db278716
More Asterisk sparc patches (courtesy Belgarath)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-31 16:33:00 +00:00
Mark Spencer
94f18868f1
Build on older versions of TDS (bug #2194 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-13 20:27:58 +00:00
Mark Spencer
c8170cf360
Fix double comma typo in sql_create_table (bug #2196 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-01 18:28:10 +00:00
Mark Spencer
4d3f4f719a
Get rid of TDS warning
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-01 03:53:34 +00:00
Mark Spencer
5733f64bdd
Only Call PQfinish if conn isn't NULL (bug #2162 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-28 18:42:35 +00:00
Mark Spencer
728e55e697
Fix date/time in TDS stuff (bug #2147 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-27 21:16:41 +00:00
Mark Spencer
d189993f15
Add Manager CDR (off by default) (bug #2127 ) courtesy cybershield
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-25 14:56:34 +00:00
Mark Spencer
a1531e0ae3
Ad MSSQL CDR support (bug #1859 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-23 17:34:57 +00:00
Mark Spencer
044ad2e2e7
Merge remaining audit patch (save dlfcn.c)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-14 13:57:15 +00:00
James Golovich
9e0e3799bf
Fixes from bkw_. Formatting in app_db.c and handle start right in cdr_pgsql.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-09 16:19:00 +00:00
Mark Spencer
65fc87b245
Merge bkw_'s ODBC patch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-08 13:18:04 +00:00
Mark Spencer
91a7960ad5
Add SQLite CDR support (bug #1986 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-08 08:29:26 +00:00
Mark Spencer
d208532e6e
x86-64 compile fixes and cleanups
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-13 21:25:10 +00:00
Mark Spencer
727abcdec7
Merge FreeBSD locking fixes (bug #1411 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-09 01:45:08 +00:00
Mark Spencer
9286f2c6d3
More BSD compile fixes (bugs #1754 and #1756 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-31 19:40:23 +00:00
Jeremy McNamara
41c995dd18
Fix FreeTDS/MSSQL from bkw
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3031 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-21 00:40:02 +00:00
James Golovich
29718a5001
ast_strlen_zero changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-08 08:07:47 +00:00
Mark Spencer
1499f1e480
Create individual sip reload command (bug #880 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-23 15:43:31 +00:00
Mark Spencer
4393076c6c
ODBC fix for PPC (bug #895 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-22 21:27:07 +00:00
Mark Spencer
6a6814379f
Release pgsql on failure (bug #891 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-22 17:03:11 +00:00
Jeremy McNamara
93567dffb6
change warning into notice.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-13 00:03:34 +00:00
Jeremy McNamara
6b5c11548e
should be != :)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-11 19:34:04 +00:00
Mark Spencer
f6d7d4d020
Remove /usr/include from path??
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-11 19:17:02 +00:00
Jeremy McNamara
275f0ed037
Add userfield logging
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1948 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-11 18:23:33 +00:00
Jeremy McNamara
be056ad723
Log cdr user data, if enabled
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-11 06:01:02 +00:00
Jeremy McNamara
02196c2c68
Missed cdr_csv commit for CDR user data
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-11 05:04:16 +00:00
Malcolm Davenport
452b07a6c2
Silly cdr_pgsql.so error
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-08 00:06:35 +00:00
Malcolm Davenport
73f26fd3b9
Fix for cdr_pgsql for Debian per Bug #609
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1899 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-07 23:48:22 +00:00
Jeremy McNamara
d4b69a2f24
prevent deadlock if no config file
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-04 05:11:53 +00:00
Jeremy McNamara
58c1a92bc4
check another possible location for unix-odbc install. Bug #727
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1885 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-28 20:13:29 +00:00
Jeremy McNamara
5dc45a0046
fix a small memory leak, from brian
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-24 03:05:03 +00:00
Mark Spencer
a8d8f70335
Brian's ODBC patches
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-24 00:04:33 +00:00
Jeremy McNamara
64e4031fb7
stop seg when no loguniqueid is set in config file. From bkw
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-09 19:17:41 +00:00
Jeremy McNamara
64d595c1c0
fix a minor typo from brian
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-07 19:25:30 +00:00
Mark Spencer
cb161e634c
More updates from Brian
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1836 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-07 17:12:39 +00:00
Mark Spencer
3e6c5132de
More renaming updates
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-07 06:43:30 +00:00
Mark Spencer
e8a355e872
Rename cdr_unixodbc to cdr_odbc
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-06 23:19:22 +00:00
Mark Spencer
b497faff84
Add cdr_unixodbc
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1810 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-02 00:27:28 +00:00
Mark Spencer
3526997670
Merge BK's unix ODBC driver
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-12-02 00:21:53 +00:00
Mark Spencer
89aadcec48
Harden PGSQL against dead connections (bug #481 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-05 05:56:27 +00:00
Jeremy McNamara
840e27bd41
This is for postgres, not mysql now. (it was buggin me)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-01 11:26:28 +00:00
Mark Spencer
4ce283ff18
Make it build and run on MacOS X
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-26 18:50:49 +00:00
Mark Spencer
b5bcecce5d
Add DESTDIR support (bug #200 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-25 17:27:53 +00:00
Mark Spencer
b016beaeb1
Fix extraneous include from MySQL
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-01 21:06:15 +00:00
Mark Spencer
8cd100de39
Add PGSQL support
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-01 15:03:30 +00:00
Mark Spencer
9eb75e0e3e
Remove MySQL support from default Asterisk in accordance with new MySQL library licensing
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1550 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-26 22:03:10 +00:00
Mark Spencer
479a67e629
BSD portability enhancements (bug #234 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-08 16:48:07 +00:00
Mark Spencer
2cedb10fa7
Fix location of errmsg.h file
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-21 16:01:25 +00:00
Mark Spencer
f50b20df7a
Never *ever* call load_module() / unload_module()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-20 20:17:38 +00:00
Mark Spencer
d3bdd36e46
depend stuff
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-19 16:42:30 +00:00
Mark Spencer
a66020eda9
Bug #124
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1368 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-18 21:01:52 +00:00
Mark Spencer
c3d0f7e463
Escape fields going into MySQL CDR's
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-17 16:53:10 +00:00
Mark Spencer
1fc8a6ca14
New "show codecs" option and mysql feature requests from Tilghman
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-16 14:48:05 +00:00
Mark Spencer
a9414a6e2a
Special NULL case for mysql (bug #49 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-15 04:32:53 +00:00
Mark Spencer
1bb58646de
Totally revamp thread debugging to support locating and removing deadlocks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-13 15:25:16 +00:00
Mark Spencer
be647641bb
CDR Mysql fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-09 15:22:37 +00:00
Martin Pycko
4a2a281c32
Fix the INSERT for the disposition in the string
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-24 17:45:32 +00:00
Martin Pycko
27b54b8d01
Fix the 'disposition' field so that we have ANSWERED, NO ANSWERED, BUSY strings instead of 0,1,3
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1205 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-23 19:26:51 +00:00
Mark Spencer
e4ef5fc7fc
optionally log uniqueid as well
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-18 05:38:11 +00:00
Mark Spencer
047bc4bd88
Add unique identifier
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-30 04:41:18 +00:00
Mark Spencer
4228090f88
Add and update .cvsignore files for .depend
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@976 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-08 03:46:43 +00:00
Mark Spencer
1a3cd8e6ad
dep fix, pbx fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@962 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-05-06 00:00:20 +00:00
Mark Spencer
6eeee2496b
More BSD enhancements
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-27 18:13:11 +00:00
Mark Spencer
829e4e749f
Fix minor CDR typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-24 01:19:33 +00:00
Mark Spencer
89e0dd94a2
Add commonly used include headers
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-04-23 19:09:13 +00:00