Archived
14
0
Fork 0
Commit graph

148 commits

Author SHA1 Message Date
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