asterisk/asterisk.git
14 years agooptionally send silence during recording (issue #5135)
Kevin P. Fleming [Tue, 1 Nov 2005 17:22:25 +0000 (17:22 +0000)]
optionally send silence during recording (issue #5135)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6925 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodocument locking rules for spy API functions
Kevin P. Fleming [Tue, 1 Nov 2005 15:28:01 +0000 (15:28 +0000)]
document locking rules for spy API functions

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6924 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agowhen going through new user setup, don't change the password if they don't
Russell Bryant [Tue, 1 Nov 2005 02:20:30 +0000 (02:20 +0000)]
when going through new user setup, don't change the password if they don't
match.  Also, allow 3 tries before bailing out.  (issue #5495, different fix)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6922 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoallow DTMF timeout to be configurable (issue #5160)
Kevin P. Fleming [Tue, 1 Nov 2005 00:06:43 +0000 (00:06 +0000)]
allow DTMF timeout to be configurable (issue #5160)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6918 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agohandle comments containing what appear to be context names during voicemail.conf...
Kevin P. Fleming [Mon, 31 Oct 2005 23:41:20 +0000 (23:41 +0000)]
handle comments containing what appear to be context names during voicemail.conf updates better (issue #5385)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6917 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoOnly consider timeouts on realtimers (bug #5554)
Mark Spencer [Mon, 31 Oct 2005 23:38:40 +0000 (23:38 +0000)]
Only consider timeouts on realtimers (bug #5554)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6916 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofinish chan_misdn commit
Kevin P. Fleming [Mon, 31 Oct 2005 23:30:09 +0000 (23:30 +0000)]
finish chan_misdn commit

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6915 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agorevert strncpy->ast_copy_string changes where the semantics are subtly different
Kevin P. Fleming [Mon, 31 Oct 2005 23:28:30 +0000 (23:28 +0000)]
revert strncpy->ast_copy_string changes where the semantics are subtly different

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6914 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoallow netsock objects to be unref'd so they can disappear when needed (issue #5454)
Kevin P. Fleming [Mon, 31 Oct 2005 23:16:27 +0000 (23:16 +0000)]
allow netsock objects to be unref'd so they can disappear when needed (issue #5454)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6913 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoproperly handle '100 Trying' that arrives after a dialog has been dropped (issue...
Kevin P. Fleming [Mon, 31 Oct 2005 23:03:44 +0000 (23:03 +0000)]
properly handle '100 Trying' that arrives after a dialog has been dropped (issue #5475)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6912 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agohandle improperly formatted initial requests properly (issue #5483)
Kevin P. Fleming [Mon, 31 Oct 2005 22:58:54 +0000 (22:58 +0000)]
handle improperly formatted initial requests properly (issue #5483)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6911 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd experimental mISDN channel driver (issue #4077)
Kevin P. Fleming [Mon, 31 Oct 2005 22:51:12 +0000 (22:51 +0000)]
add experimental mISDN channel driver (issue #4077)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6910 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agovarious text/formatting updates (issue #5503 plus some minor additions)
Kevin P. Fleming [Mon, 31 Oct 2005 22:47:58 +0000 (22:47 +0000)]
various text/formatting updates (issue #5503 plus some minor additions)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6909 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd some warning message for when chan_sip gets overloaded (issue #5530)
Kevin P. Fleming [Mon, 31 Oct 2005 22:18:36 +0000 (22:18 +0000)]
add some warning message for when chan_sip gets overloaded (issue #5530)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6908 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodon't increment 'inuse' counter when call is being failed because of limit (issue...
Kevin P. Fleming [Mon, 31 Oct 2005 22:08:41 +0000 (22:08 +0000)]
don't increment 'inuse' counter when call is being failed because of limit (issue #5545)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6907 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd some additional log output and comment cleanup in the registration process (issue...
Kevin P. Fleming [Mon, 31 Oct 2005 22:01:13 +0000 (22:01 +0000)]
add some additional log output and comment cleanup in the registration process (issue #5534)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6906 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoproperly support 'musicclass' setting for peers/users (issue #5521)
Kevin P. Fleming [Mon, 31 Oct 2005 21:43:53 +0000 (21:43 +0000)]
properly support 'musicclass' setting for peers/users (issue #5521)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6905 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodon't use 'rowcount' after SELECT statements, since the ODBC API does not say it...
Kevin P. Fleming [Mon, 31 Oct 2005 21:31:25 +0000 (21:31 +0000)]
don't use 'rowcount' after SELECT statements, since the ODBC API does not say it is allowed (issue #5083)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6904 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoprovide an alternate getloadavg implementation and a fallback for systems that don...
Kevin P. Fleming [Mon, 31 Oct 2005 21:25:21 +0000 (21:25 +0000)]
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

14 years agoignore non-regular files during config parsing (issue #5510, different fix)
Kevin P. Fleming [Mon, 31 Oct 2005 21:08:55 +0000 (21:08 +0000)]
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

14 years agodon't pass short arguments by value, it will cause compiler warnings on most platform...
Kevin P. Fleming [Mon, 31 Oct 2005 18:15:02 +0000 (18:15 +0000)]
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

14 years agofix various bugs related to list handling of channel variables (issue #5548)
Kevin P. Fleming [Mon, 31 Oct 2005 15:34:11 +0000 (15:34 +0000)]
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

14 years agocorrect comment
Kevin P. Fleming [Mon, 31 Oct 2005 15:33:27 +0000 (15:33 +0000)]
correct comment

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6899 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosilence compiler warning
Kevin P. Fleming [Mon, 31 Oct 2005 15:21:12 +0000 (15:21 +0000)]
silence compiler warning

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6898 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix ability to do lots of outbound registrations (bug #5529)
Mark Spencer [Sun, 30 Oct 2005 21:36:27 +0000 (21:36 +0000)]
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

14 years agoprotect web form parameters against malicious input
Kevin P. Fleming [Sun, 30 Oct 2005 16:30:35 +0000 (16:30 +0000)]
protect web form parameters against malicious input

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6896 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix build of CVS head on Solaris (bug #5527)
Mark Spencer [Sun, 30 Oct 2005 07:24:27 +0000 (07:24 +0000)]
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

14 years agoActually write audio to file in get_voice (bug #5547)
Mark Spencer [Sun, 30 Oct 2005 06:58:17 +0000 (06:58 +0000)]
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

14 years agoCleanup language in sip.conf (bug #5543)
Mark Spencer [Sat, 29 Oct 2005 21:05:34 +0000 (21:05 +0000)]
Cleanup language in sip.conf (bug #5543)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6893 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerge TDS cdr fixes (bug #5517, with slight mods)
Mark Spencer [Sat, 29 Oct 2005 18:49:25 +0000 (18:49 +0000)]
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

14 years agoDo not look for libosp since that name is not used anymore and conflicts with opensp...
Mark Spencer [Sat, 29 Oct 2005 18:14:18 +0000 (18:14 +0000)]
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

14 years agoRemove ancient copy/paste error (bug #5541)
Mark Spencer [Sat, 29 Oct 2005 17:45:07 +0000 (17:45 +0000)]
Remove ancient copy/paste error (bug #5541)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6890 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix minor iax2 device state issue (bug #5540)
Mark Spencer [Sat, 29 Oct 2005 16:23:32 +0000 (16:23 +0000)]
Fix minor iax2 device state issue (bug #5540)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6889 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodo saturated math properly (thanks to the eagle-eyes of Tony Mountifield)
Kevin P. Fleming [Sat, 29 Oct 2005 13:03:23 +0000 (13:03 +0000)]
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

14 years agofind OSP toolkit library properly
Kevin P. Fleming [Fri, 28 Oct 2005 23:53:07 +0000 (23:53 +0000)]
find OSP toolkit library properly

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6887 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoupdate Makefile for new app name
Kevin P. Fleming [Fri, 28 Oct 2005 23:52:23 +0000 (23:52 +0000)]
update Makefile for new app name

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6886 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agocomplete the rename of MuxMon to MixMonitor
Kevin P. Fleming [Fri, 28 Oct 2005 23:04:30 +0000 (23:04 +0000)]
complete the rename of MuxMon to MixMonitor

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6885 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomajor redesign of the channel spy infrastructure, increasing efficiency and reducing...
Kevin P. Fleming [Fri, 28 Oct 2005 23:01:13 +0000 (23:01 +0000)]
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

14 years agoadd API call to properly sum two frames of SLINEAR data
Kevin P. Fleming [Fri, 28 Oct 2005 21:49:27 +0000 (21:49 +0000)]
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

14 years agoensure that SLINEAR volume adjustments don't wrap around short integer maximums
Kevin P. Fleming [Fri, 28 Oct 2005 21:35:55 +0000 (21:35 +0000)]
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

14 years agofix remaining breakage from yesterday's changes
Kevin P. Fleming [Fri, 28 Oct 2005 17:22:34 +0000 (17:22 +0000)]
fix remaining breakage from yesterday's changes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6881 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agouse new app-argument macros, and try to fix yesterday's breakage
Kevin P. Fleming [Fri, 28 Oct 2005 17:11:20 +0000 (17:11 +0000)]
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

14 years agofix non-DEBUG_THREADS builds with new cond wrappers and lock header reorganization
Kevin P. Fleming [Fri, 28 Oct 2005 16:59:48 +0000 (16:59 +0000)]
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

14 years agouse API call for frame volume adjustment
Kevin P. Fleming [Fri, 28 Oct 2005 16:36:10 +0000 (16:36 +0000)]
use API call for frame volume adjustment

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6878 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd 'ast_cond_t' type for pthread condition variables, and appropriate API wrappers
Kevin P. Fleming [Fri, 28 Oct 2005 16:35:43 +0000 (16:35 +0000)]
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

14 years agoadd macros for explicit module usecount increment/decrement
Kevin P. Fleming [Fri, 28 Oct 2005 16:33:09 +0000 (16:33 +0000)]
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

14 years agoadd 'tail' pointer to list heads, so that common 'insert-to-tail' operations can...
Kevin P. Fleming [Fri, 28 Oct 2005 16:32:08 +0000 (16:32 +0000)]
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

14 years agoadd API function to perform volume adjustment on a frame of SLINEAR data
Kevin P. Fleming [Fri, 28 Oct 2005 16:20:44 +0000 (16:20 +0000)]
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

14 years agoadd some macros to simplify application argument parsing
Kevin P. Fleming [Fri, 28 Oct 2005 16:19:43 +0000 (16:19 +0000)]
add some macros to simplify application argument parsing

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6873 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix compiler warnings
Kevin P. Fleming [Fri, 28 Oct 2005 16:19:04 +0000 (16:19 +0000)]
fix compiler warnings

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6872 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoproperly document this morning's changes to 'ignoreregexpire'
Kevin P. Fleming [Fri, 28 Oct 2005 16:00:09 +0000 (16:00 +0000)]
properly document this morning's changes to 'ignoreregexpire'

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6871 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerge highly modified fullcontact in realtime sip patch (bug #4832, heavy mods)
Mark Spencer [Fri, 28 Oct 2005 13:37:31 +0000 (13:37 +0000)]
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

14 years agoFix CDR crash (bug #5525 and many others)
Mark Spencer [Thu, 27 Oct 2005 21:57:53 +0000 (21:57 +0000)]
Fix CDR crash (bug #5525 and many others)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6869 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agostrncpy to ast_copy_string
Russell Bryant [Thu, 27 Oct 2005 02:48:56 +0000 (02:48 +0000)]
strncpy to ast_copy_string

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6868 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agostrncpy to ast_copy_string
Russell Bryant [Thu, 27 Oct 2005 02:42:05 +0000 (02:42 +0000)]
strncpy to ast_copy_string

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6867 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoRemove unnecessary checks before calls to ast_strlen_zero. Also, change
Russell Bryant [Thu, 27 Oct 2005 02:19:37 +0000 (02:19 +0000)]
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

14 years agoclean up a lot of doxygen errors and warnings (issue #5522)
Russell Bryant [Wed, 26 Oct 2005 23:11:36 +0000 (23:11 +0000)]
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

14 years agoremove unnecessary checks before calls to ast_strlen_zero
Russell Bryant [Wed, 26 Oct 2005 19:48:14 +0000 (19:48 +0000)]
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

14 years agoAdd Claude Patry to the Credits. Thank you Junk-Y!!!
Russell Bryant [Wed, 26 Oct 2005 19:09:47 +0000 (19:09 +0000)]
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

14 years agochange ast_strlen_zero to also check for the string to be defined
Russell Bryant [Wed, 26 Oct 2005 18:54:24 +0000 (18:54 +0000)]
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

14 years agouse ast_skip_blanks in pbx_ael
Russell Bryant [Wed, 26 Oct 2005 18:03:44 +0000 (18:03 +0000)]
use ast_skip_blanks in pbx_ael

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6861 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agouse double quotes for asterisk header ...
Russell Bryant [Wed, 26 Oct 2005 17:36:53 +0000 (17:36 +0000)]
use double quotes for asterisk header ...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6860 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove duplicate header
Russell Bryant [Wed, 26 Oct 2005 17:33:29 +0000 (17:33 +0000)]
remove duplicate header

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6859 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agodoxygenify the comments for data structures and defines in chan_iax2
Russell Bryant [Wed, 26 Oct 2005 17:07:51 +0000 (17:07 +0000)]
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

14 years agouse an enum instead of #define'd integers in a couple of places
Russell Bryant [Wed, 26 Oct 2005 16:18:25 +0000 (16:18 +0000)]
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

14 years agofix up arguments to AgentCallbackLogin so that the options string and the
Russell Bryant [Wed, 26 Oct 2005 16:16:05 +0000 (16:16 +0000)]
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

14 years agoMany changes and new stuff including Reverse Autopatch and completely new authenticat...
Jim Dixon [Wed, 26 Oct 2005 16:00:38 +0000 (16:00 +0000)]
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

14 years agolook for the last '-' in the channel name instead of the first (issue #5514)
Russell Bryant [Wed, 26 Oct 2005 15:34:34 +0000 (15:34 +0000)]
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

14 years agofix misplaced } (issue #5518)
Russell Bryant [Wed, 26 Oct 2005 15:02:23 +0000 (15:02 +0000)]
fix misplaced } (issue #5518)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6853 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomore doxygenification (issue #5513)
Russell Bryant [Wed, 26 Oct 2005 13:03:17 +0000 (13:03 +0000)]
more doxygenification (issue #5513)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6852 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdd missing documentation
Mark Spencer [Wed, 26 Oct 2005 04:01:11 +0000 (04:01 +0000)]
Add missing documentation

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6851 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAllow limitation by loadavg not just calls (should be BSD friendly)...
Mark Spencer [Wed, 26 Oct 2005 03:58:32 +0000 (03:58 +0000)]
Allow limitation by loadavg not just calls (should be BSD friendly)...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6850 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomerge changes to doxygen config (issue #5505)
Russell Bryant [Tue, 25 Oct 2005 13:19:12 +0000 (13:19 +0000)]
merge changes to doxygen config (issue #5505)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6849 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agothere is a variable defined for 'install', might as well use it ...
Russell Bryant [Tue, 25 Oct 2005 12:47:54 +0000 (12:47 +0000)]
there is a variable defined for 'install', might as well use it ...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6848 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoDoxygen documentation update from oej (issue #5505)
Russell Bryant [Mon, 24 Oct 2005 20:12:06 +0000 (20:12 +0000)]
Doxygen documentation update from oej (issue #5505)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix segfault when building peer based on IP
Mark Spencer [Sun, 23 Oct 2005 18:11:54 +0000 (18:11 +0000)]
Fix segfault when building peer based on IP

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6846 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix app_disa to set the proper variable before goign to invalid (bug #5439)
Mark Spencer [Sun, 23 Oct 2005 01:39:40 +0000 (01:39 +0000)]
Fix app_disa to set the proper variable before goign to invalid (bug #5439)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6845 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix max forwards interoperability (bug #5474)
Mark Spencer [Sun, 23 Oct 2005 01:31:17 +0000 (01:31 +0000)]
Fix max forwards interoperability (bug #5474)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6844 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix reload problem - unload_module was not setting connected to 0 (issue #5498)
Russell Bryant [Sat, 22 Oct 2005 15:28:56 +0000 (15:28 +0000)]
fix reload problem - unload_module was not setting connected to 0 (issue #5498)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6843 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix output of 'zap show status' to line up properly (issue #5491)
Russell Bryant [Sat, 22 Oct 2005 12:15:07 +0000 (12:15 +0000)]
fix output of 'zap show status' to line up properly (issue #5491)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6842 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdd user to user ie transmission support in chan_zap.c
Matthew Fredrickson [Fri, 21 Oct 2005 21:23:16 +0000 (21:23 +0000)]
Add user to user ie transmission support in chan_zap.c

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6841 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix segfault in CVS head (sorry about that)
Mark Spencer [Fri, 21 Oct 2005 14:09:03 +0000 (14:09 +0000)]
Fix segfault in CVS head (sorry about that)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6839 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoBe sure to avoid octal interpretations of IP's (bug #5477)
Mark Spencer [Fri, 21 Oct 2005 04:09:23 +0000 (04:09 +0000)]
Be sure to avoid octal interpretations of IP's (bug #5477)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6838 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix DISA documentation (bug #5461)
Mark Spencer [Fri, 21 Oct 2005 04:00:13 +0000 (04:00 +0000)]
Fix DISA documentation (bug #5461)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6837 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix timeout > 600000 on Linux x86-32
Mark Spencer [Thu, 20 Oct 2005 22:45:47 +0000 (22:45 +0000)]
Fix timeout > 600000 on Linux x86-32

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6836 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosilence compiler warnings when ZT_TONEDETECT is not defined (issue #5470)
Russell Bryant [Thu, 20 Oct 2005 16:50:18 +0000 (16:50 +0000)]
silence compiler warnings when ZT_TONEDETECT is not defined (issue #5470)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6835 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix up help text (issue #5479)
Russell Bryant [Thu, 20 Oct 2005 16:42:53 +0000 (16:42 +0000)]
fix up help text (issue #5479)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6834 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAllow for obtaining IAX2 call peer (endpoint) IP address with IAXPEER(CURRENTCHAN...
Jim Dixon [Wed, 19 Oct 2005 18:19:22 +0000 (18:19 +0000)]
Allow for obtaining IAX2 call peer (endpoint) IP address with IAXPEER(CURRENTCHAN) function

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6833 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMassive cleanups to applications for LOCAL_USER handling and some other things.
Russell Bryant [Wed, 19 Oct 2005 18:19:02 +0000 (18:19 +0000)]
Massive cleanups to applications for LOCAL_USER handling and some other things.
In general, LOCAL_USER_ADD/REMOVE should be the first/last thing called in an
application.  An exception is if there is some *fast* setup code that might
halt the execution of the application, such as checking to see if an argument
exists.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6832 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix res_musiconhold lock
Mark Spencer [Wed, 19 Oct 2005 03:51:25 +0000 (03:51 +0000)]
Fix res_musiconhold lock

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6831 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoPerform some extra checks before performing masquerades
Mark Spencer [Wed, 19 Oct 2005 03:45:49 +0000 (03:45 +0000)]
Perform some extra checks before performing masquerades

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6830 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix small typo
Mark Spencer [Tue, 18 Oct 2005 23:58:36 +0000 (23:58 +0000)]
Fix small typo

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6829 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoit's a good idea to unregister everything before calling STANDARD_HANGUP_LOCALUSERS
Russell Bryant [Tue, 18 Oct 2005 22:52:21 +0000 (22:52 +0000)]
it's a good idea to unregister everything before calling STANDARD_HANGUP_LOCALUSERS

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6828 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd missing STANDARD_HANGUP_LOCALUSERS
Russell Bryant [Tue, 18 Oct 2005 21:06:48 +0000 (21:06 +0000)]
add missing STANDARD_HANGUP_LOCALUSERS

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6827 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix various documentation issues (bugs #5464-5467)
Mark Spencer [Tue, 18 Oct 2005 21:06:38 +0000 (21:06 +0000)]
Fix various documentation issues (bugs #5464-5467)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6826 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoclean up DUNDiLookup application
Russell Bryant [Tue, 18 Oct 2005 21:03:49 +0000 (21:03 +0000)]
clean up DUNDiLookup application
implement 'b' option to bypass DUNDi cache for the lookup
add DUNDILOOKUP dialplan function to eventually replace the application
mark DUNDiLookup application as deprecated
don't register all of the DUNDi goodies until after everything has initialized

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6825 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix segfault in app queue when no cdr exists for the calling channel (bug #5462)
Mark Spencer [Tue, 18 Oct 2005 20:58:16 +0000 (20:58 +0000)]
Fix segfault in app queue when no cdr exists for the calling channel (bug #5462)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6824 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix typo
Kevin P. Fleming [Tue, 18 Oct 2005 20:48:34 +0000 (20:48 +0000)]
fix typo

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6823 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoUpdate README documentation (bug #5463, with mods)
Mark Spencer [Tue, 18 Oct 2005 19:21:16 +0000 (19:21 +0000)]
Update README documentation (bug #5463, with mods)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6822 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoThe amazing disappearing and reappearing patch... This time with documentation expla...
Mark Spencer [Tue, 18 Oct 2005 19:16:13 +0000 (19:16 +0000)]
The amazing disappearing and reappearing patch...  This time with documentation explaining it.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6821 65c4cc65-6c06-0410-ace0-fbb531ad65f3