Archived
14
0
Fork 0
Commit graph

287 commits

Author SHA1 Message Date
murf
322326058e 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: http://svn.digium.com/svn/asterisk/trunk@48767 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-21 19:44:20 +00:00
file
bca8e89c10 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: http://svn.digium.com/svn/asterisk/trunk@47585 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13 21:32:13 +00:00
kpfleming
470f688a28 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: http://svn.digium.com/svn/asterisk/trunk@46201 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-25 14:44:50 +00:00
file
a9fc5e06ba 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: http://svn.digium.com/svn/asterisk/trunk@45929 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-23 00:33:20 +00:00
mogorman
4a1aaf52ae bug #8076 check option_debug before printing to debug channel.
patch provided in bugnote, with minor changes.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44253 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-03 15:53:07 +00:00
tilghman
5f015e8d45 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: http://svn.digium.com/svn/asterisk/trunk@43411 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 16:38:16 +00:00
tilghman
86113059df One last forgotten constified file
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43373 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 21:14:33 +00:00
russell
487be62f40 resolve compiler warnings from constification
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43370 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 21:08:32 +00:00
file
113df5b62a Magical eightball says warnings be gone.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43369 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 21:03:37 +00:00
tilghman
e8ef9fd3ba Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43364 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 20:40:39 +00:00
russell
0da57b4435 fix some breakage, MOG DID IT!!!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41651 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 21:50:55 +00:00
mogorman
73925ee14a 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: http://svn.digium.com/svn/asterisk/trunk@41633 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 21:00:20 +00:00
kpfleming
0ba6df7e01 GNU make already knows how to quietly ignore non-existent files in 'include' directives
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41209 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-26 23:58:47 +00:00
kpfleming
8b0c007ad9 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: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 02:11:39 +00:00
kpfleming
51482ed964 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: http://svn.digium.com/svn/asterisk/trunk@37661 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15 19:59:35 +00:00
kpfleming
84cc5e8bd0 move rules file to prepare for generic rules file
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37222 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06 21:04:28 +00:00
kpfleming
8c814ff843 update dependency information to match new names for dependencies
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37085 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-05 20:12:29 +00:00
kpfleming
50c6c0be43 move FreeTDS version check into configure script
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36255 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-29 07:50:01 +00:00
kpfleming
673e53a328 use new (separate) dependencies file from menuselect
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-25 08:50:14 +00:00
kpfleming
41af2260b7 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: http://svn.digium.com/svn/asterisk/trunk@35832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24 19:43:31 +00:00
russell
9b1d7f9fa8 - 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: http://svn.digium.com/svn/asterisk/trunk@35503 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 15:38:13 +00:00
russell
ddb0e59eb0 - 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: http://svn.digium.com/svn/asterisk/trunk@35501 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 15:08:08 +00:00
russell
0bb78235cb - 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: http://svn.digium.com/svn/asterisk/trunk@35479 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 14:09:18 +00:00
russell
b70a7c6a7c 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: http://svn.digium.com/svn/asterisk/trunk@35415 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 11:27:03 +00:00
russell
31fff75d63 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: http://svn.digium.com/svn/asterisk/trunk@34738 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-19 00:14:16 +00:00
russell
c521e83995 remove "depend" from the "all" targets in sub Makefiles. The main Makefile
already calls "make depend" for each of the subdirectories


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34497 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-16 16:54:00 +00:00
kpfleming
0f9cabe4d5 there is no reason to define our own 'maximum path length' when the POSIX headers already define one for us
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33351 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-09 20:40:10 +00:00
kpfleming
73c525e6e2 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 18:54:56 +00:00
russell
745248fa58 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: http://svn.digium.com/svn/asterisk/trunk@32798 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 16:03:31 +00:00
kpfleming
bb0b421ea8 use module names, not file names, in menuselect
work around XML parsing bug in menuselect for default sounds package


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32407 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-05 20:46:27 +00:00
russell
4d2dfd4b70 change a warning message to a debug message
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31226 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-01 00:15:25 +00:00
russell
a3e82cbfa8 remove a bunch of duplicated log messages. There is a warning that gets
logged when this function returns an error


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30746 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-30 11:23:48 +00:00
russell
e0162250d9 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: http://svn.digium.com/svn/asterisk/trunk@29094 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 22:30:05 +00:00
russell
a0994f4447 remove an unused variable, and default the user to asterisk if not specified
in the config file (issue #7153, Mithraen)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28936 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 01:35:12 +00:00
russell
1649bd82aa various fixes regarding coding guidelines issues
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28935 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 01:29:08 +00:00
russell
c028a942f9 if a hostname is not specified, connect over a unix socket instead of
connecting to localhost (issue #7145, Mithraen)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28897 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 00:57:04 +00:00
kpfleming
fd0fef45bf 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: http://svn.digium.com/svn/asterisk/trunk@23674 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 14:28:25 +00:00
kpfleming
29f496ef12 Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:11:45 +00:00
markster
3cbcc04947 Fix CDR builds when includes are in freetds directory off include
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22232 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 03:40:12 +00:00
tilghman
09d0ad17df 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: http://svn.digium.com/svn/asterisk/trunk@21600 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-19 18:56:38 +00:00
kpfleming
2f4660a236 more module loader related fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20963 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 16:42:21 +00:00
tilghman
0d933f8a05 Compatibility fixes for loader changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20075 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 18:44:24 +00:00
rizzo
3664249356 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: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 14:08:19 +00:00
kpfleming
e4880150b1 since the module API is changing, it's a good time to const-ify the description() and key() return values
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 22:01:19 +00:00
rizzo
6f8879d20d remove duplicate CFLAGS and SOLINK definitions that are
already in the top level Makefile



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14351 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-23 13:39:36 +00:00
russell
1a9990d3b8 add header to fix building with -Werror (issue #6718)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-14 16:18:20 +00:00
mogorman
eb6b8e6e0b allows the table field to be configurable for
cdr_tds.conf.  patch provided by bug 6629 with
minor change.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12475 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-08 22:12:20 +00:00
mogorman
4f4909d208 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: http://svn.digium.com/svn/asterisk/trunk@11586 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-02 21:04:04 +00:00
tilghman
d723568b93 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: http://svn.digium.com/svn/asterisk/trunk@11504 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-01 17:53:05 +00:00
kpfleming
e217105bfc ensure that dependencies are rebuilt after 'make update' so that builds don't break when files are removed/renamed
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9691 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12 16:52:42 +00:00
kpfleming
2cafc00736 use auto-build for cdr modules
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9565 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 17:24:44 +00:00
tilghman
54a33238cc 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: http://svn.digium.com/svn/asterisk/trunk@9238 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-08 23:10:39 +00:00
mogorman
4ef13bdcda Allows for user to uninstall asterisk binaries
bug 6177


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01 18:39:41 +00:00
oej
15e8ae94a9 - Adding whitespace that I found unused outside
- Adding "if (option_debug)" before outputting to DEBUG channel


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8524 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24 11:46:29 +00:00
oej
87f12a2537 Declaring conn and result static to avoid collission with realtime driver (issue 6336, pressureman)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8523 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24 11:42:09 +00:00
russell
ab6566173e update doxygen docs to specify authors
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30 21:18:06 +00:00
tilghman
5655a3c810 Merged revisions 7637 via svnmerge from
/branches/1.2


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7638 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-26 20:34:46 +00:00
kpfleming
24c1e3c222 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
kpfleming
6c54a7cf87 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7220 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:09:49 +00:00
markster
21e4d8c4ed fix bsd compile issue (bug #5731)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7094 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-14 00:45:07 +00:00
kpfleming
615fc64a77 issue #5693
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7058 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-10 23:42:45 +00:00
russell
d3ddc001a2 issue #5605
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 15:09:47 +00:00
kpfleming
4d4023555b issue #4678
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6936 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01 21:53:30 +00:00
markster
caeca15f95 Merge TDS cdr fixes (bug #5517, with slight mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6892 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-29 18:49:25 +00:00
russell
bb65d2e30a more doxygenification (issue #5513)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6852 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 13:03:17 +00:00
russell
ca7feae09a fix reload problem - unload_module was not setting connected to 0 (issue #5498)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6843 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-22 15:28:56 +00:00
kpfleming
f89c44df03 more license/copyright header updates (thanks Ian!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6618 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 15:44:26 +00:00
kpfleming
95fe2b8fd4 update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 20:46:50 +00:00
kpfleming
763faa7d02 more Cygwin portability (issue #4678)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6548 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-08 02:21:24 +00:00
kpfleming
410e2e9c48 fix cdr_pgsql build on Debian testing (issue #5064)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6453 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-30 15:59:25 +00:00
kpfleming
475a3fdb24 clean up, use make functions instead of subshells, remove unused stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6449 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-30 02:54:02 +00:00
kpfleming
ff15e0fa53 add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6146 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 23:00:47 +00:00
russell
af70c4b702 clarify comment
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6128 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-14 20:08:31 +00:00
kpfleming
cfd662aa15 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: http://svn.digium.com/svn/asterisk/trunk@6085 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-11 21:06:27 +00:00
kpfleming
e4c73c5b8d move tools used during build into build_tools subdirectory
clean up Makefile headers


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5942 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-20 17:26:08 +00:00
kpfleming
c8c2a68e9e fix version tag macro calls
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5869 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 23:12:05 +00:00
kpfleming
6f0f46299c more file version tags
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 22:12:19 +00:00
kpfleming
09f3094700 another round of version tag updates, along with 'show version files' pattern filtering
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5865 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 21:09:59 +00:00
kpfleming
e500673791 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: http://svn.digium.com/svn/asterisk/trunk@5855 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 03:04:58 +00:00
kpfleming
42b7c56777 let ODBC username/password default to the ones in odbc.ini (bug #4470)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5854 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 02:43:01 +00:00
kpfleming
46d0533b99 support configurable batch posting of CDRs (off by default) (bug #3883)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5823 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-03 01:42:31 +00:00
kpfleming
b7e6d89aa2 don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5533 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-29 17:00:33 +00:00
kpfleming
31e8dcf4fe use double-quotes instead of angle-brackets for non-system include files (bug #4058)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21 06:02:45 +00:00
markster
7e7bcff6c4 Fix issue with global load_module symbol... hint: NEVER call "load_module();"
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5434 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-07 14:53:17 +00:00
kpfleming
5064705bd7 ensure that successful configuration results in the module staying loaded (bug #3968)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5424 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-06 16:14:21 +00:00
kpfleming
68a4c9676e ensure that failure to register the cdr_custom backend results in a module load failure
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5343 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-01 17:31:41 +00:00
markster
81bd8ef147 Add CDR custom config warnings (Borga borga!) :)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5330 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-01 03:38:35 +00:00
anthm
c3c585a0a2 unconfigured cdr_custom should not be fatal
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5316 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-31 15:55:44 +00:00
markster
33d478587f Fix load of cdr_custom
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5314 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-31 15:50:15 +00:00
markster
20913df209 Fix custom CDR error (thanks kpfleming)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5313 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-31 05:54:25 +00:00
markster
72fc19e07f Fix cross compiling (bug #3868)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5278 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-27 22:39:17 +00:00
russell
28e6d61531 remove channel_pvt.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5258 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-25 17:12:40 +00:00
markster
bafda2c23c Add custom CDR (bug #3595)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5253 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-24 21:57:42 +00:00
russell
3f4e0127ea fix compilation issue (bug #3752)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5161 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-11 06:20:08 +00:00
markster
7c26e8b19d Make cdr_pgsql gracefully handle restarts (bug #3628)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5056 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-19 20:10:52 +00:00
markster
cc7e7cd686 Make TDS CDR more resilient (bug #3597)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5037 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-16 03:52:47 +00:00
markster
dbb05fe131 Optionally store CDR's in GM time (bug #3500, with mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4962 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-04 05:52:45 +00:00
markster
2207b9a515 Merge config updates (bug #3406)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4889 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-25 06:10:20 +00:00
russell
7288b1ced0 update copyright headers for 2005
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4868 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21 07:06:25 +00:00
markster
b5ebac832b ODBC CDR fixes for bizarre error conditions and small performance improvement (bug #3340)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4799 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-15 09:01:52 +00:00
markster
9d04e3a6aa Fix types for character (bug #3255, take 3)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4765 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-11 21:25:21 +00:00
markster
fc0ec00595 Make ODBC storage as int configurable to be string or int (bug #3255)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4763 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-11 18:56:57 +00:00
markster
66676fbd26 Make cdr_odbc store disposition as string not integer (thus matching documentation in doc/cdr.txt) (bug #3255)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4687 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-05 23:25:34 +00:00
markster
10717cc766 Merge Olle's comment patch (bug #3097)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4488 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-19 21:13:41 +00:00
markster
13a7d48993 Extra debugging in CDRCSV (bug #3063)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4462 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-15 20:49:33 +00:00
markster
e30bc9392b Fix PGSQL CDR issue (bug #3028)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4440 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-12 23:34:24 +00:00
russell
e922df8efb make table configurable for cdr_odbc (bug #2755)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4416 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-10 11:59:43 +00:00
markster
fcec8c9fb4 Make table for PGSQL CDR's configurable (bug #2951)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4412 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-09 20:34:35 +00:00
markster
60023b1d75 Fix missing ast_destroy's in PGSQL (bug #2944)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4365 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-01 05:27:18 +00:00
russell
e0365918ab fix mem leak (bug #2940)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4333 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-25 06:13:29 +00:00
markster
5d40fad3ae Fix CDR CSV to flush on CDR
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3932 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-07 17:50:15 +00:00
citats
5d45bd2ea5 Formatting fix and use ast_true in cdr_odbc.c (bug 2569) Thanks bkw_
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3911 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-05 01:05:30 +00:00
markster
4d4a7c00d7 More Asterisk sparc patches (courtesy Belgarath)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3693 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-31 16:33:00 +00:00
markster
0b290bde6e Build on older versions of TDS (bug #2194)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3606 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-13 20:27:58 +00:00
markster
6adbc83c51 Fix double comma typo in sql_create_table (bug #2196)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3563 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-01 18:28:10 +00:00
markster
48f7043c68 Get rid of TDS warning
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3558 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-01 03:53:34 +00:00
markster
f51192d72b Only Call PQfinish if conn isn't NULL (bug #2162)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3528 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-28 18:42:35 +00:00
markster
412c3ce0b4 Fix date/time in TDS stuff (bug #2147)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3525 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-27 21:16:41 +00:00
markster
2974f32e4f Add Manager CDR (off by default) (bug #2127) courtesy cybershield
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3509 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-25 14:56:34 +00:00
markster
8a7be2ce2a Ad MSSQL CDR support (bug #1859)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3497 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-23 17:34:57 +00:00
markster
5d86543614 Merge remaining audit patch (save dlfcn.c)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3436 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-14 13:57:15 +00:00
citats
93aaba701e Fixes from bkw_. Formatting in app_db.c and handle start right in cdr_pgsql.c
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3415 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-09 16:19:00 +00:00
markster
98f9393f83 Merge bkw_'s ODBC patch
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3395 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-08 13:18:04 +00:00
markster
5e3342d3b3 Add SQLite CDR support (bug #1986)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3390 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-08 08:29:26 +00:00
markster
1e1095862d x86-64 compile fixes and cleanups
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3202 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-13 21:25:10 +00:00
markster
7d00f23ad4 Merge FreeBSD locking fixes (bug #1411)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3176 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-09 01:45:08 +00:00
markster
bc5de50bc9 More BSD compile fixes (bugs #1754 and #1756)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3121 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-31 19:40:23 +00:00
jeremy
02bcccd6c2 Fix FreeTDS/MSSQL from bkw
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3031 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-21 00:40:02 +00:00
citats
01b65e2f09 ast_strlen_zero changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2921 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-08 08:07:47 +00:00
markster
32048c18cd Create individual sip reload command (bug #880)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2062 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-23 15:43:31 +00:00
markster
2a782d2d98 ODBC fix for PPC (bug #895)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2056 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-22 21:27:07 +00:00
markster
3f19004b18 Release pgsql on failure (bug #891)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2055 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-22 17:03:11 +00:00
jeremy
14e394a33f change warning into notice.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1992 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-13 00:03:34 +00:00
jeremy
638b90bbc4 should be != :)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1954 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-11 19:34:04 +00:00
markster
afc3b69866 Remove /usr/include from path??
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1952 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-11 19:17:02 +00:00
jeremy
58cc160e47 Add userfield logging
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1948 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-11 18:23:33 +00:00
jeremy
30b19f3624 Log cdr user data, if enabled
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1931 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-11 06:01:02 +00:00
jeremy
d6b767d195 Missed cdr_csv commit for CDR user data
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1929 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-11 05:04:16 +00:00
malcolmd
46cbc15f62 Silly cdr_pgsql.so error
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1901 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-08 00:06:35 +00:00
malcolmd
a4095fe5e0 Fix for cdr_pgsql for Debian per Bug #609
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1899 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-07 23:48:22 +00:00
jeremy
919903f942 prevent deadlock if no config file
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1889 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-04 05:11:53 +00:00
jeremy
0dc1d6801f check another possible location for unix-odbc install. Bug #727
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1885 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-28 20:13:29 +00:00
jeremy
5c45c7bedd fix a small memory leak, from brian
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1880 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-24 03:05:03 +00:00
markster
cc37e45f5f Brian's ODBC patches
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1878 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-24 00:04:33 +00:00
jeremy
18910db630 stop seg when no loguniqueid is set in config file. From bkw
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1845 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-09 19:17:41 +00:00
jeremy
791ed84823 fix a minor typo from brian
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1837 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-07 19:25:30 +00:00
markster
95d4093d87 More updates from Brian
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1836 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-07 17:12:39 +00:00
markster
50ecb89b92 More renaming updates
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1835 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-07 06:43:30 +00:00
markster
47b2f7c5d1 Rename cdr_unixodbc to cdr_odbc
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1834 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-06 23:19:22 +00:00
markster
ce5a7e1842 Add cdr_unixodbc
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1810 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-02 00:27:28 +00:00