aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_monitor.c
AgeCommit message (Collapse)AuthorFilesLines
2007-01-05reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most ↵kpfleming1-14/+14
cases git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49676 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01Merged revisions 46776 via svnmerge from russell1-1/+19
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r46776 | russell | 2006-11-01 13:24:17 -0500 (Wed, 01 Nov 2006) | 9 lines soxmix and Asterisk expect different file extensions for certain formats. This was already handled for the wav49 format. However, it was not handled for ulaw and alaw. I fixed this in such a way that using the alternate extensions for ulaw and alaw will only happen if we know we're calling soxmix, and not a custom script defined using the MONITOR_EXEC variable. The wav49 processing was left alone so that external scripts will see no behavior change. (issue #7550, reported by mnicholson, proposed patch by junky, committed fix is a bit different) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46778 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-21Add a couple missing unregistrations of manager actions and remove duplicaterussell1-2/+2
unregistrations of applications. (issue #8194, jmls) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45818 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@43933 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20these functions never should have been non-static or in a header filekpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43313 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-13/+7
- 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-07-26Only unlock these if they were locked on entrytilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38250 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵kpfleming1-5/+5
again :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10use the channel lock wrappers (issue #7128)russell1-12/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26526 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10remove almost all of the checks of the result from ast_strdupa() or alloca().russell1-19/+13
As it turns out, all of these checks were useless, because alloca will never return NULL. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26451 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-09remove a check of the result of ast_mutex_lockrussell1-14/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25891 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29a bunch of conversion to ast_channel_*lock (issue #7058)russell1-9/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23355 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14This rather large commit changes the way modules are loaded. rizzo1-20/+5
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-08since the module API is changing, it's a good time to const-ify the ↵kpfleming1-2/+2
description() and key() return values git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06use the new module interface for this module, but make itrizzo1-5/+9
of type MOD_0 as it exports symbols so it should be loaded as RTLD_GLOBAL. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17860 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-02Merged revisions 11561 via svnmerge from russell1-1/+1
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: http://svn.digium.com/svn/asterisk/trunk@11562 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21- conversions to allocation wrappersrussell1-11/+7
- replace malloc/memset with ast_calloc - replace malloc/ast_copy_string with ast_strdup (based on patch from issue #6299) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8410 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-14added feature for pausing and unpausing the mogorman1-28/+140
monitor app from manager and in the call through features.conf bug 5395 for the patch git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8070 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30update doxygen docs to specify authorsrussell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-26Merged revisions 7634 via svnmerge from russell1-2/+2
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: http://svn.digium.com/svn/asterisk/trunk@7635 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-03Bug 5858 - Make the chanvars.c functions return a 'const char *'tilghman1-1/+1
This should prevent us from unintentionally changing variable values when they're returned from pbx_builtin_getvar_helper. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7304 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #5648kpfleming1-11/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7011 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24Doxygen documentation update from oej (issue #5505)russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)kpfleming1-5/+17
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-10more ast_copy_string conversionsrussell1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6075 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06more file version tagskpfleming1-1/+16
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06major Makefile and build process improvements, including removal of all ↵kpfleming1-11/+8
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-06more efficient (and understandable) ast_channel_walk_locked, and vastly more ↵kpfleming1-24/+3
efficient ast_channel_by_name_locked (bug #4265) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5853 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-06add missing newline to warning message (bug #4183)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5591 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-14/+14
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-17Add descriptions for monitor action events (bug #3610)markster1-3/+30
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5046 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-17Make sure we search for url prefix only in format, not in filename (bug #3613)markster1-9/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5041 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21Fix res_monitor asterisk issue (bug #3399)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4869 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21Add stereoize (bug #3142), faster than soxmixmarkster1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4859 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-10Merge anthm's monitor fixes (better default path, set variable for monitor) ↵markster1-7/+12
(bug #3266) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4745 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-28Formatting fixes, safe_system instead of system, cleanups (bug #3171)markster1-20/+25
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4579 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-18Fix comment issues (bug #3089)markster1-7/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4479 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-09Fixed call parking, added separate paramater to allow/disallow call parking onjim1-2/+18
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: http://svn.digium.com/svn/asterisk/trunk@4413 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-04Fix non-std charactersmarkster1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4160 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-23More memory checkscitats1-0/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4056 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-17Cleanup code. Spacing issues, nested if issues, lots of strlen used instead ↵citats1-89/+89
of ast_strlen_zero git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3800 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-17Merge anthm's monitor patch with minor mods (bug #2383)markster1-14/+43
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3797 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-29More formatting cleanups.citats1-77/+62
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3337 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22Fix potential deadlocks in res_monitormarkster1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3272 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-09Merge FreeBSD locking fixes (bug #1411)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3176 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-07fix res_monitor buganthm1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3167 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-04IAX2 fixup, fix res_monitor sillysegmarkster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3144 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-03Get rid of small copmile warningmarkster1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3142 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-03Fix handling when MONITOR_EXEC is unspecifiedmarkster1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3141 f38db490-d61c-443f-a65b-d21fe96a405b