asterisk/asterisk.git
17 years agoRevert silly "sipura fix" which breaks RFC compatibility (bug #4549)
Mark Spencer [Sat, 18 Jun 2005 17:13:01 +0000 (17:13 +0000)]
Revert silly "sipura fix" which breaks RFC compatibility (bug #4549)

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

17 years agoDon't try to read from an rtcp if there isn't one
Mark Spencer [Sat, 18 Jun 2005 16:46:44 +0000 (16:46 +0000)]
Don't try to read from an rtcp if there isn't one

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

17 years agoFix agent recording issue (bug #4551)
Mark Spencer [Sat, 18 Jun 2005 16:38:48 +0000 (16:38 +0000)]
Fix agent recording issue (bug #4551)

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

17 years agoFix up utils nonsense
Mark Spencer [Sat, 18 Jun 2005 11:54:38 +0000 (11:54 +0000)]
Fix up utils nonsense

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

17 years agodon't generate 'rport' unless RFC3581 support is enabled (bug #4533)
Kevin P. Fleming [Fri, 17 Jun 2005 15:03:56 +0000 (15:03 +0000)]
don't generate 'rport' unless RFC3581 support is enabled (bug #4533)

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

17 years agoOops
Mark Spencer [Fri, 17 Jun 2005 14:33:29 +0000 (14:33 +0000)]
Oops

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

17 years agodon't let ast_trim_blanks operate on empty strings or run off the beginning of the...
Kevin P. Fleming [Fri, 17 Jun 2005 14:27:57 +0000 (14:27 +0000)]
don't let ast_trim_blanks operate on empty strings or run off the beginning of the string

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

17 years agoMerge midi changes (bug #4441)
Mark Spencer [Fri, 17 Jun 2005 14:25:44 +0000 (14:25 +0000)]
Merge midi changes (bug #4441)

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

17 years agoFix typo in extensions.ael sample
Mark Spencer [Fri, 17 Jun 2005 14:08:58 +0000 (14:08 +0000)]
Fix typo in extensions.ael sample

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

17 years agofix 2 bugs (bug #4518)
Kevin P. Fleming [Fri, 17 Jun 2005 13:39:34 +0000 (13:39 +0000)]
fix 2 bugs (bug #4518)

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

17 years agoclean up and optimize reply_digest (bug #4447)
Kevin P. Fleming [Fri, 17 Jun 2005 13:29:04 +0000 (13:29 +0000)]
clean up and optimize reply_digest (bug #4447)

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

17 years agostring/whitespace handling cleanups (bug #4449, with mods)
Kevin P. Fleming [Fri, 17 Jun 2005 13:25:01 +0000 (13:25 +0000)]
string/whitespace handling cleanups (bug #4449, with mods)

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

17 years agodueling commits, mark won!
Kevin P. Fleming [Fri, 17 Jun 2005 12:56:35 +0000 (12:56 +0000)]
dueling commits, mark won!

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

17 years agoAEL minor fixes (bug #4539)
Mark Spencer [Fri, 17 Jun 2005 12:53:26 +0000 (12:53 +0000)]
AEL minor fixes (bug #4539)

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

17 years agominor fixes to conform to the newly-posted coding guideline :-)
Kevin P. Fleming [Fri, 17 Jun 2005 12:51:03 +0000 (12:51 +0000)]
minor fixes to conform to the newly-posted coding guideline :-)

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

17 years agoFix reset cdr (bug #4531)
Mark Spencer [Fri, 17 Jun 2005 00:37:43 +0000 (00:37 +0000)]
Fix reset cdr (bug #4531)

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

17 years agoFix expression handling for string comparisions without quotes (bug #4478)
Mark Spencer [Fri, 17 Jun 2005 00:33:00 +0000 (00:33 +0000)]
Fix expression handling for string comparisions without quotes (bug #4478)

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

17 years agoAdd Asterisk Extension Language support (AEL) from Astricon talk
Mark Spencer [Thu, 16 Jun 2005 08:47:06 +0000 (08:47 +0000)]
Add Asterisk Extension Language support (AEL) from Astricon talk

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

17 years agoensure proper variables are returned from CDR function (bug #4521)
Kevin P. Fleming [Wed, 15 Jun 2005 15:01:40 +0000 (15:01 +0000)]
ensure proper variables are returned from CDR function (bug #4521)

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

17 years agoFixed transmitter hang problem
Jim Dixon [Wed, 15 Jun 2005 03:50:29 +0000 (03:50 +0000)]
Fixed transmitter hang problem

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

17 years agofix deadlock message output (bug #4508)
Russell Bryant [Tue, 14 Jun 2005 18:09:56 +0000 (18:09 +0000)]
fix deadlock message output (bug #4508)

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

17 years agodon't use pthread_mutex_lock
Kevin P. Fleming [Tue, 14 Jun 2005 14:45:51 +0000 (14:45 +0000)]
don't use pthread_mutex_lock
don't double-include pthread.h in utils.h, which can cause the
pthread_mutex_lock warning to not be generated on some systems

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

17 years agoVarious IAX2 fixes
Mark Spencer [Mon, 13 Jun 2005 08:48:17 +0000 (08:48 +0000)]
Various IAX2 fixes

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

17 years agomove deprecation warning until after all variable declarations (bug #4514)
Russell Bryant [Sun, 12 Jun 2005 16:43:37 +0000 (16:43 +0000)]
move deprecation warning until after all variable declarations (bug #4514)

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

17 years agorestructure buggy parse_args routine
Kevin P. Fleming [Fri, 10 Jun 2005 20:25:23 +0000 (20:25 +0000)]
restructure buggy parse_args routine

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

17 years agoupdate editline's config.guess to support platforms made in the last 3 years (bug...
Kevin P. Fleming [Fri, 10 Jun 2005 15:35:32 +0000 (15:35 +0000)]
update editline's config.guess to support platforms made in the last 3 years (bug #4507)

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

17 years ago/ fixes possibility for accessing of struct when null
Ben Kramer [Fri, 10 Jun 2005 03:18:24 +0000 (03:18 +0000)]
/ fixes possibility for accessing of struct when null

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

17 years agoadd MATH() dialplan function (bug #4473, with mods)
Kevin P. Fleming [Thu, 9 Jun 2005 22:59:08 +0000 (22:59 +0000)]
add MATH() dialplan function (bug #4473, with mods)
deprecate the Math() application

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

17 years agoallow transfer-to number for SIP transfers to contain an '@' (and enforce the max...
Kevin P. Fleming [Thu, 9 Jun 2005 22:41:18 +0000 (22:41 +0000)]
allow transfer-to number for SIP transfers to contain an '@' (and enforce the max-forwards restriction for these transfers) (bug #4048)

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

17 years agomake incoming overlap calls with no number specified use the 's' extension (bug ...
Kevin P. Fleming [Thu, 9 Jun 2005 22:34:29 +0000 (22:34 +0000)]
make incoming overlap calls with no number specified use the 's' extension (bug #4317)

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

17 years agomake zap-transfers to busy/congestion channels behave more reasonably (bug #4495)
Kevin P. Fleming [Thu, 9 Jun 2005 22:23:21 +0000 (22:23 +0000)]
make zap-transfers to busy/congestion channels behave more reasonably (bug #4495)

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

17 years agoadd countries and reorder file into alphabetical order (bug #4482, part 1)
Kevin P. Fleming [Thu, 9 Jun 2005 21:21:32 +0000 (21:21 +0000)]
add countries and reorder file into alphabetical order (bug #4482, part 1)

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

17 years agoadd check_expr to 'make clean' and CVS ignore list
Kevin P. Fleming [Thu, 9 Jun 2005 21:12:03 +0000 (21:12 +0000)]
add check_expr to 'make clean' and CVS ignore list

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

17 years agoadd 'rtignoreexpire' option to allow Realtime addresses to be used regardless of...
Kevin P. Fleming [Thu, 9 Jun 2005 21:11:30 +0000 (21:11 +0000)]
add 'rtignoreexpire' option to allow Realtime addresses to be used regardless of expiration time (bug #4362)

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

17 years agoadd WAITSTATUS channel variable output to WaitForSilence() application (bug #4256)
Kevin P. Fleming [Thu, 9 Jun 2005 21:04:16 +0000 (21:04 +0000)]
add WAITSTATUS channel variable output to WaitForSilence() application (bug #4256)

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

17 years agodon't call alloca() or alloca()-using functions in parameter lists (bug #4487)
Kevin P. Fleming [Thu, 9 Jun 2005 20:55:07 +0000 (20:55 +0000)]
don't call alloca() or alloca()-using functions in parameter lists (bug #4487)

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

17 years agoadd tool to check extensions.conf files for problems with new expression parser ...
Kevin P. Fleming [Thu, 9 Jun 2005 20:50:48 +0000 (20:50 +0000)]
add tool to check extensions.conf files for problems with new expression parser (bug #4491)

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

17 years agoremove useless code (bug #4492)
Kevin P. Fleming [Thu, 9 Jun 2005 20:43:54 +0000 (20:43 +0000)]
remove useless code (bug #4492)

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

17 years agoensure CLI commands produce proper terminating output when used with manager interfac...
Kevin P. Fleming [Thu, 9 Jun 2005 19:34:12 +0000 (19:34 +0000)]
ensure CLI commands produce proper terminating output when used with manager interface (bug #4497)

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

17 years agofix channel walking problems from recent changes (bug #4494)
Kevin P. Fleming [Thu, 9 Jun 2005 19:27:19 +0000 (19:27 +0000)]
fix channel walking problems from recent changes (bug #4494)

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

17 years agomove timeval-diff function into utils.h from app_alarmreceiver.c
Kevin P. Fleming [Thu, 9 Jun 2005 14:39:34 +0000 (14:39 +0000)]
move timeval-diff function into utils.h from app_alarmreceiver.c

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

17 years ago/ fixed bugs introduced by the fix for bug #4368 by kpfleming
Ben Kramer [Wed, 8 Jun 2005 00:10:09 +0000 (00:10 +0000)]
/ fixed bugs introduced by the fix for bug #4368 by kpfleming

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

17 years agoupdate guidelines to follow their own rules for whitespace (bug #4486)
Kevin P. Fleming [Tue, 7 Jun 2005 21:28:56 +0000 (21:28 +0000)]
update guidelines to follow their own rules for whitespace (bug #4486)

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

17 years agofix memory leaks in config loader (bug #4223)
Kevin P. Fleming [Tue, 7 Jun 2005 21:28:04 +0000 (21:28 +0000)]
fix memory leaks in config loader (bug #4223)

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

17 years agosave 168 bytes per zaptel channel private structure (using bitfields)
Kevin P. Fleming [Tue, 7 Jun 2005 21:13:35 +0000 (21:13 +0000)]
save 168 bytes per zaptel channel private structure (using bitfields)
save 28 bytes per zaptel subchannel structure (using bitfields)

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

17 years agofix build on Solaris (bug #4476)
Kevin P. Fleming [Tue, 7 Jun 2005 17:27:31 +0000 (17:27 +0000)]
fix build on Solaris (bug #4476)

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

17 years agoheader ordering fixes for FreeBSD (pending a global merge into asterisk.h) (bug ...
Kevin P. Fleming [Tue, 7 Jun 2005 17:06:33 +0000 (17:06 +0000)]
header ordering fixes for FreeBSD (pending a global merge into asterisk.h) (bug #4484)

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

17 years agovarious compiler warning fixes (bug #4483)
Kevin P. Fleming [Tue, 7 Jun 2005 16:59:20 +0000 (16:59 +0000)]
various compiler warning fixes (bug #4483)

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

17 years agoenable version string for this module, since it's standalone
Kevin P. Fleming [Tue, 7 Jun 2005 16:11:06 +0000 (16:11 +0000)]
enable version string for this module, since it's standalone

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

17 years agofix version-string builds for non-gcc compilers
Kevin P. Fleming [Tue, 7 Jun 2005 16:07:06 +0000 (16:07 +0000)]
fix version-string builds for non-gcc compilers
don't build version-string stuff for LOW_MEMORY builds

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

17 years agoadd note about example
Kevin P. Fleming [Tue, 7 Jun 2005 01:17:07 +0000 (01:17 +0000)]
add note about example

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

17 years agoadd doxygen docs for file version stuff
Kevin P. Fleming [Tue, 7 Jun 2005 01:13:23 +0000 (01:13 +0000)]
add doxygen docs for file version stuff
make doxygen expand __GNUC__ protected code blocks
make doxygen process include/asterisk.h

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

17 years agofix astman build
Kevin P. Fleming [Tue, 7 Jun 2005 00:21:01 +0000 (00:21 +0000)]
fix astman build

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

17 years agofix version tag macro calls
Kevin P. Fleming [Mon, 6 Jun 2005 23:12:05 +0000 (23:12 +0000)]
fix version tag macro calls

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

17 years agofix 'make rpm'
Kevin P. Fleming [Mon, 6 Jun 2005 22:44:37 +0000 (22:44 +0000)]
fix 'make rpm'

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

17 years agothe last round of file version tags
Kevin P. Fleming [Mon, 6 Jun 2005 22:39:32 +0000 (22:39 +0000)]
the last round of file version tags

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

17 years agomore file version tags
Kevin P. Fleming [Mon, 6 Jun 2005 22:12:19 +0000 (22:12 +0000)]
more file version tags

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

17 years agoanother round of version tag updates, along with 'show version files' pattern filtering
Kevin P. Fleming [Mon, 6 Jun 2005 21:09:59 +0000 (21:09 +0000)]
another round of version tag updates, along with 'show version files' pattern filtering

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

17 years agoremove experimental module version tags
Kevin P. Fleming [Mon, 6 Jun 2005 20:27:51 +0000 (20:27 +0000)]
remove experimental module version tags
add per-file revision tags and 'show version files' CLI command

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

17 years agoclean up module version number output
Kevin P. Fleming [Mon, 6 Jun 2005 18:42:15 +0000 (18:42 +0000)]
clean up module version number output

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

17 years agoadd support for per-module version numbers
Kevin P. Fleming [Mon, 6 Jun 2005 18:31:29 +0000 (18:31 +0000)]
add support for per-module version numbers

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

17 years agodon't force build.h to be built at 'install' time, if it's already there leave it...
Kevin P. Fleming [Mon, 6 Jun 2005 18:29:57 +0000 (18:29 +0000)]
don't force build.h to be built at 'install' time, if it's already there leave it alone

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

17 years agomore ignore fixes
Kevin P. Fleming [Mon, 6 Jun 2005 17:35:17 +0000 (17:35 +0000)]
more ignore fixes

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

17 years agoupdate ignore lists
Kevin P. Fleming [Mon, 6 Jun 2005 15:38:41 +0000 (15:38 +0000)]
update ignore lists

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

17 years agomore breakage from bug #4116 commit
Kevin P. Fleming [Mon, 6 Jun 2005 12:50:13 +0000 (12:50 +0000)]
more breakage from bug #4116 commit

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

17 years agoadd missing files from bug #4116 commit
Kevin P. Fleming [Mon, 6 Jun 2005 11:57:50 +0000 (11:57 +0000)]
add missing files from bug #4116 commit

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

17 years agohandle going to 'fax' extension when inside a macro properly (bug #4368)
Kevin P. Fleming [Mon, 6 Jun 2005 03:18:51 +0000 (03:18 +0000)]
handle going to 'fax' extension when inside a macro properly (bug #4368)

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

17 years agomajor Makefile and build process improvements, including removal of all hardcoded...
Kevin P. Fleming [Mon, 6 Jun 2005 03:04:58 +0000 (03:04 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@5855 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agolet ODBC username/password default to the ones in odbc.ini (bug #4470)
Kevin P. Fleming [Mon, 6 Jun 2005 02:43:01 +0000 (02:43 +0000)]
let ODBC username/password default to the ones in odbc.ini (bug #4470)

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

17 years agomore efficient (and understandable) ast_channel_walk_locked, and vastly more efficien...
Kevin P. Fleming [Mon, 6 Jun 2005 02:29:18 +0000 (02:29 +0000)]
more efficient (and understandable) ast_channel_walk_locked, and vastly more efficient ast_channel_by_name_locked (bug #4265)

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

17 years agoFix minor OSP compile issue
Mark Spencer [Mon, 6 Jun 2005 01:28:54 +0000 (01:28 +0000)]
Fix minor OSP compile issue

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

17 years agomake AGI 'TDD MODE' command behave as documented when the channel doesn't support...
Kevin P. Fleming [Sun, 5 Jun 2005 21:00:33 +0000 (21:00 +0000)]
make AGI 'TDD MODE' command behave as documented when the channel doesn't support options (bug #4370)

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

17 years agodon't call reg_source_db() until after the peer has been added to the peer list
Kevin P. Fleming [Sun, 5 Jun 2005 20:05:55 +0000 (20:05 +0000)]
don't call reg_source_db() until after the peer has been added to the peer list

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

17 years agomore ast_copy_string() conversion
Kevin P. Fleming [Sun, 5 Jun 2005 16:32:16 +0000 (16:32 +0000)]
more ast_copy_string() conversion

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

17 years agodon't try to copy NULL appdata (bug #4422)
Kevin P. Fleming [Sun, 5 Jun 2005 16:08:44 +0000 (16:08 +0000)]
don't try to copy NULL appdata (bug #4422)

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

17 years agofix compilation on Darwin (bug #4462, ugh, we need all this stuff moved into endian.h)
Kevin P. Fleming [Sun, 5 Jun 2005 15:40:49 +0000 (15:40 +0000)]
fix compilation on Darwin (bug #4462, ugh, we need all this stuff moved into endian.h)

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

17 years agomake ast_waitstream_* return value compatible with platforms that use unsigned char...
Kevin P. Fleming [Sun, 5 Jun 2005 15:04:43 +0000 (15:04 +0000)]
make ast_waitstream_* return value compatible with platforms that use unsigned char by default (bug #4455)

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

17 years agomake format_au compile on FreeBSD (bug #4456)
Kevin P. Fleming [Sun, 5 Jun 2005 14:50:21 +0000 (14:50 +0000)]
make format_au compile on FreeBSD (bug #4456)
change out-of-memory messages to LOG_ERROR

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

17 years agomore cleanups for outbound registrations (bug #4457)
Kevin P. Fleming [Sun, 5 Jun 2005 14:47:09 +0000 (14:47 +0000)]
more cleanups for outbound registrations (bug #4457)

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

17 years agouse a struct for long parameter list to transmit_invite (bug #4458)
Kevin P. Fleming [Sun, 5 Jun 2005 14:43:49 +0000 (14:43 +0000)]
use a struct for long parameter list to transmit_invite (bug #4458)

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

17 years agominor cleanups (bug #4460)
Kevin P. Fleming [Sun, 5 Jun 2005 14:40:00 +0000 (14:40 +0000)]
minor cleanups (bug #4460)

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

17 years agocorrect oops in recent outbound registration rework (bug #4461)
Kevin P. Fleming [Sun, 5 Jun 2005 14:36:56 +0000 (14:36 +0000)]
correct oops in recent outbound registration rework (bug #4461)

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

17 years agomake 'show channeltypes' list whether device state is supported (bug #4464)
Kevin P. Fleming [Sun, 5 Jun 2005 14:32:32 +0000 (14:32 +0000)]
make 'show channeltypes' list whether device state is supported (bug #4464)

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

17 years agovarious improvements to outbound registrations and response handling (bug #3850)
Kevin P. Fleming [Fri, 3 Jun 2005 22:15:20 +0000 (22:15 +0000)]
various improvements to outbound registrations and response handling (bug #3850)

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

17 years agouse ast_cli_register_multiple() for CLI commands
Kevin P. Fleming [Fri, 3 Jun 2005 22:04:54 +0000 (22:04 +0000)]
use ast_cli_register_multiple() for CLI commands

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

17 years agoadd support for Sun Microsystems AU audio format (bug #4428 with minor mods)
Kevin P. Fleming [Fri, 3 Jun 2005 21:52:00 +0000 (21:52 +0000)]
add support for Sun Microsystems AU audio format (bug #4428 with minor mods)
remove hardcoded format list from app_record help text

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

17 years agoclean up logic functions code and help texts
Kevin P. Fleming [Fri, 3 Jun 2005 21:04:04 +0000 (21:04 +0000)]
clean up logic functions code and help texts
add IFTIME function (bug #4394, with mods)

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

17 years agouse ast_strip_quoted to strip brackets from key secrets
Kevin P. Fleming [Fri, 3 Jun 2005 21:02:51 +0000 (21:02 +0000)]
use ast_strip_quoted to strip brackets from key secrets

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

17 years agohandle stale authentication nonces more properly (bug #4343, with formatting fixes)
Kevin P. Fleming [Fri, 3 Jun 2005 19:16:41 +0000 (19:16 +0000)]
handle stale authentication nonces more properly (bug #4343, with formatting fixes)

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

17 years agoclean up create_addr, and use a structure instead of a large parameter list
Kevin P. Fleming [Fri, 3 Jun 2005 18:46:58 +0000 (18:46 +0000)]
clean up create_addr, and use a structure instead of a large parameter list
make create_addr return the peer's outkey, so dynamic realtime peers can use keys for calls (bug #4431)
add key support for switch connection strings
use a common dial/switch string parser instead of three copies (none of them identical)
make doxygen docs cover the entire source base

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

17 years agocorrect case of file type for one-touch monitoring (bug #4443)
Kevin P. Fleming [Fri, 3 Jun 2005 12:50:05 +0000 (12:50 +0000)]
correct case of file type for one-touch monitoring (bug #4443)

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

17 years agoDon't build app_intercom...
Mark Spencer [Fri, 3 Jun 2005 04:16:13 +0000 (04:16 +0000)]
Don't build app_intercom...

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

17 years agouse ast_cli_register_multiple() for chan_zap CLI commands
Kevin P. Fleming [Fri, 3 Jun 2005 03:24:37 +0000 (03:24 +0000)]
use ast_cli_register_multiple() for chan_zap CLI commands

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

17 years agouse ast_cli_register_multiple() for pbx CLI commands
Kevin P. Fleming [Fri, 3 Jun 2005 03:09:20 +0000 (03:09 +0000)]
use ast_cli_register_multiple() for pbx CLI commands

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

17 years agoremove deprecated 'quit' and 'exit' commands from console (but not remote connections)
Kevin P. Fleming [Fri, 3 Jun 2005 03:04:08 +0000 (03:04 +0000)]
remove deprecated 'quit' and 'exit' commands from console (but not remote connections)
clean up core CLI command registration to use ast_cli_register_multiple()

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

17 years agoadd indications for Sweden (bug #4231)
Kevin P. Fleming [Fri, 3 Jun 2005 02:51:59 +0000 (02:51 +0000)]
add indications for Sweden (bug #4231)

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

17 years agodon't call poll() with an unitialized structure (bug #4387)
Kevin P. Fleming [Fri, 3 Jun 2005 02:41:59 +0000 (02:41 +0000)]
don't call poll() with an unitialized structure (bug #4387)

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

17 years agoallow global variables to be reset on reload (defaults to off) (bug #4385)
Kevin P. Fleming [Fri, 3 Jun 2005 02:27:08 +0000 (02:27 +0000)]
allow global variables to be reset on reload (defaults to off) (bug #4385)

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

17 years agoallow ast_add_extension2 to accept a NULL destructor (bug #4411)
Kevin P. Fleming [Fri, 3 Jun 2005 02:21:07 +0000 (02:21 +0000)]
allow ast_add_extension2 to accept a NULL destructor (bug #4411)

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

17 years agosupport configurable batch posting of CDRs (off by default) (bug #3883)
Kevin P. Fleming [Fri, 3 Jun 2005 01:42:31 +0000 (01:42 +0000)]
support configurable batch posting of CDRs (off by default) (bug #3883)

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