summaryrefslogtreecommitdiff
path: root/res/res_monitor.c
AgeCommit message (Collapse)Author
2006-07-26Only unlock these if they were locked on entryTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵Kevin P. Fleming
again :-) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10use the channel lock wrappers (issue #7128)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26526 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10remove almost all of the checks of the result from ast_strdupa() or alloca().Russell Bryant
As it turns out, all of these checks were useless, because alloca will never return NULL. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09remove a check of the result of ast_mutex_lockRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-29a bunch of conversion to ast_channel_*lock (issue #7058)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14This rather large commit changes the way modules are loaded. Luigi Rizzo
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-08since the module API is changing, it's a good time to const-ify the ↵Kevin P. Fleming
description() and key() return values git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06use the new module interface for this module, but make itLuigi Rizzo
of type MOD_0 as it exports symbols so it should be loaded as RTLD_GLOBAL. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17860 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-02Merged revisions 11561 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r11561 | russell | 2006-03-02 14:05:40 -0500 (Thu, 02 Mar 2006) | 2 lines fix inaccurate ack message to ChangeMonitor action (issue #6630) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21- conversions to allocation wrappersRussell Bryant
- replace malloc/memset with ast_calloc - replace malloc/ast_copy_string with ast_strdup (based on patch from issue #6299) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-14added feature for pausing and unpausing the Matt O'Gorman
monitor app from manager and in the call through features.conf bug 5395 for the patch git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30update doxygen docs to specify authorsRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-26Merged revisions 7634 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r7634 | russell | 2005-12-26 13:19:12 -0500 (Mon, 26 Dec 2005) | 2 lines cast time_t to an int in printf/scanf (issue #5635) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-03Bug 5858 - Make the chanvars.c functions return a 'const char *'Tilghman Lesher
This should prevent us from unintentionally changing variable values when they're returned from pbx_builtin_getvar_helper. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29remove extraneous svn:executable propertiesKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08issue #5648Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24Doxygen documentation update from oej (issue #5505)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-10more ast_copy_string conversionsRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6075 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06more file version tagsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06major Makefile and build process improvements, including removal of all ↵Kevin P. Fleming
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-06more efficient (and understandable) ast_channel_walk_locked, and vastly more ↵Kevin P. Fleming
efficient ast_channel_by_name_locked (bug #4265) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-06add missing newline to warning message (bug #4183)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5591 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵Kevin P. Fleming
(bug #4058) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-17Add descriptions for monitor action events (bug #3610)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-17Make sure we search for url prefix only in format, not in filename (bug #3613)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5041 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21Fix res_monitor asterisk issue (bug #3399)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21Add stereoize (bug #3142), faster than soxmixMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-10Merge anthm's monitor fixes (better default path, set variable for monitor) ↵Mark Spencer
(bug #3266) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-28Formatting fixes, safe_system instead of system, cleanups (bug #3171)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-18Fix comment issues (bug #3089)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-09Fixed call parking, added separate paramater to allow/disallow call parking onJim Dixon
Zaptel interfaces (canpark=yes/no in zapata.conf), added urlbase paramater to Monitor so that a url can optionally be included in CDR (user field), cleaned up a couple of minor things git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4413 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-04Fix non-std charactersMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-23More memory checksJames Golovich
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-17Cleanup code. Spacing issues, nested if issues, lots of strlen used instead ↵James Golovich
of ast_strlen_zero git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-17Merge anthm's monitor patch with minor mods (bug #2383)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3797 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-29More formatting cleanups.James Golovich
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22Fix potential deadlocks in res_monitorMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-09Merge FreeBSD locking fixes (bug #1411)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-07fix res_monitor bugAnthony Minessale II
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-04IAX2 fixup, fix res_monitor sillysegMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3144 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-03Get rid of small copmile warningMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3142 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-03Fix handling when MONITOR_EXEC is unspecifiedMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-03Make monitor merge application settable via variable, allow setting of ↵Mark Spencer
variables via manager interface, allow mix flag to be set via manager (bug #1268) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-24Minor path tweakMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-20Make ast_channel_walk become ast_channel_walk_lockedMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3029 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-06Increase buffer size (1005)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-05Add 'm' option to Monitor app to use soxmix (if available) to mix the output ↵Martin Pycko
recording to one file. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-03Add recording agent's calls patch. Basically the call starts recording when ↵Martin Pycko
the agent picks up and the file is stamped with the agent's id and the timestamp. Also optionally a URL link to that file may be inserted in the userfield of the CDR record. By default the recorded file will be mixed if soxmix is available. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2121 65c4cc65-6c06-0410-ace0-fbb531ad65f3