Commit graph

6198 commits

Author SHA1 Message Date
Kevin P. Fleming
c3f9388b23 provide an alternate getloadavg implementation and a fallback for systems that don't have it at all (issue #5549 with minor mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 21:25:21 +00:00
Kevin P. Fleming
f9c8bb8087 ignore non-regular files during config parsing (issue #5510, different fix)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6902 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 21:08:55 +00:00
Kevin P. Fleming
a40e852ed3 don't pass short arguments by value, it will cause compiler warnings on most platforms about implicit conversions (thanks Luigi!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 18:15:02 +00:00
Kevin P. Fleming
8fb55e2478 fix various bugs related to list handling of channel variables (issue #5548)
use nolock lists for channel variables, since no locks are needed (these lists are either temporary or protected by the channel's own lock)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 15:34:11 +00:00
Kevin P. Fleming
7ef0527a7d correct comment
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6899 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 15:33:27 +00:00
Kevin P. Fleming
20a7a4ca96 silence compiler warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 15:21:12 +00:00
Mark Spencer
39d27dbab8 Fix ability to do lots of outbound registrations (bug #5529)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-30 21:36:27 +00:00
Kevin P. Fleming
ccc121825f protect web form parameters against malicious input
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6896 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-30 16:30:35 +00:00
Mark Spencer
06320f5790 Fix build of CVS head on Solaris (bug #5527)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-30 07:24:27 +00:00
Mark Spencer
388f958ecc Actually write audio to file in get_voice (bug #5547)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6894 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-30 06:58:17 +00:00
Mark Spencer
754e28abaf Cleanup language in sip.conf (bug #5543)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-29 21:05:34 +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
Mark Spencer
d6a963c476 Do not look for libosp since that name is not used anymore and conflicts with opensp (bug #5542)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-29 18:14:18 +00:00
Mark Spencer
6b26826bab Remove ancient copy/paste error (bug #5541)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6890 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-29 17:45:07 +00:00
Mark Spencer
6be92affa2 Fix minor iax2 device state issue (bug #5540)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-29 16:23:32 +00:00
Kevin P. Fleming
15ac76178a do saturated math properly (thanks to the eagle-eyes of Tony Mountifield)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6888 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-29 13:03:23 +00:00
Kevin P. Fleming
80fb221f10 find OSP toolkit library properly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6887 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 23:53:07 +00:00
Kevin P. Fleming
ed3be69bce update Makefile for new app name
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 23:52:23 +00:00
Kevin P. Fleming
e6fc49806d complete the rename of MuxMon to MixMonitor
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6885 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 23:04:30 +00:00
Kevin P. Fleming
846b39a9f1 major redesign of the channel spy infrastructure, increasing efficiency and reducing locking conflicts
(nearly) complete rewrite of app_muxmon, renaming the application to MixMonitor and fixing a large number of bugs and inconsistencies
update app_chanspy to use new spy infrastructure


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 23:01:13 +00:00
Kevin P. Fleming
97c9900b59 add API call to properly sum two frames of SLINEAR data
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6883 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 21:49:27 +00:00
Kevin P. Fleming
8dad624c68 ensure that SLINEAR volume adjustments don't wrap around short integer maximums
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6882 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 21:35:55 +00:00
Kevin P. Fleming
c24ba6ac5e fix remaining breakage from yesterday's changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6881 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 17:22:34 +00:00
Kevin P. Fleming
fff6a2c159 use new app-argument macros, and try to fix yesterday's breakage
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 17:11:20 +00:00
Kevin P. Fleming
69194e2bc2 fix non-DEBUG_THREADS builds with new cond wrappers and lock header reorganization
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 16:59:48 +00:00
Kevin P. Fleming
f9a98f7110 use API call for frame volume adjustment
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 16:36:10 +00:00
Kevin P. Fleming
a0cb07e467 add 'ast_cond_t' type for pthread condition variables, and appropriate API wrappers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 16:35:43 +00:00
Kevin P. Fleming
ce6b727c2c add macros for explicit module usecount increment/decrement
remove unnecessary locking around setting usecount to zero


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6876 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 16:33:09 +00:00
Kevin P. Fleming
79c0865338 add 'tail' pointer to list heads, so that common 'insert-to-tail' operations can run more quickly
add option for list heads without embedded locks


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 16:32:08 +00:00
Kevin P. Fleming
0d34142f7e add API function to perform volume adjustment on a frame of SLINEAR data
documentation cleanup


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 16:20:44 +00:00
Kevin P. Fleming
d47e839c32 add some macros to simplify application argument parsing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6873 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 16:19:43 +00:00
Kevin P. Fleming
59584f5744 fix compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 16:19:04 +00:00
Kevin P. Fleming
aca0431935 properly document this morning's changes to 'ignoreregexpire'
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 16:00:09 +00:00
Mark Spencer
de47e29d09 Merge highly modified fullcontact in realtime sip patch (bug #4832, heavy mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-28 13:37:31 +00:00
Mark Spencer
f8c90f03b8 Fix CDR crash (bug #5525 and many others)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-27 21:57:53 +00:00
Russell Bryant
7deac2300a strncpy to ast_copy_string
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-27 02:48:56 +00:00
Russell Bryant
395f81d734 strncpy to ast_copy_string
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-27 02:42:05 +00:00
Russell Bryant
9ddf0e4dce Remove unnecessary checks before calls to ast_strlen_zero. Also, change
some places where strlen is used instead of ast_strlen_zero


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-27 02:19:37 +00:00
Russell Bryant
3332a8acd1 clean up a lot of doxygen errors and warnings (issue #5522)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 23:11:36 +00:00
Russell Bryant
5187de9ab6 remove unnecessary checks before calls to ast_strlen_zero
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 19:48:14 +00:00
Russell Bryant
dbc5c06c94 Add Claude Patry to the Credits. Thank you Junk-Y!!!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6863 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 19:09:47 +00:00
Russell Bryant
a736096e0b change ast_strlen_zero to also check for the string to be defined
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 18:54:24 +00:00
Russell Bryant
b5326f99fc use ast_skip_blanks in pbx_ael
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 18:03:44 +00:00
Russell Bryant
08e32630ad use double quotes for asterisk header ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6860 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 17:36:53 +00:00
Russell Bryant
87d4ff6fcd remove duplicate header
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 17:33:29 +00:00
Russell Bryant
d57fb0b655 doxygenify the comments for data structures and defines in chan_iax2
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 17:07:51 +00:00
Russell Bryant
f1b14773dd use an enum instead of #define'd integers in a couple of places
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 16:18:25 +00:00
Russell Bryant
052db5af42 fix up arguments to AgentCallbackLogin so that the options string and the
specified extension do not conflict.  This also makes the application not
assume that the extension is numeric.  While we're at it, include some code
cleanup - strcpy to ast_copy_string, and cleanups to LOCAL_USER handling.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 16:16:05 +00:00
Jim Dixon
7810f546f3 Many changes and new stuff including Reverse Autopatch and completely new authentication system no longer requiring static IP address assignment.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 16:00:38 +00:00
Russell Bryant
f622612bee look for the last '-' in the channel name instead of the first (issue #5514)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 15:34:34 +00:00