asterisk/asterisk.git
15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 years agodocument syntax change for Record() application (bug #4439)
Kevin P. Fleming [Thu, 2 Jun 2005 22:20:59 +0000 (22:20 +0000)]
document syntax change for Record() application (bug #4439)

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

15 years agoadd realtime support to app_queue for static members/agents (bug #4037)
Kevin P. Fleming [Thu, 2 Jun 2005 21:42:49 +0000 (21:42 +0000)]
add realtime support to app_queue for static members/agents (bug #4037)

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

15 years agomake 'show channeltypes' output format work properly (bug #4413)
Kevin P. Fleming [Thu, 2 Jun 2005 21:37:09 +0000 (21:37 +0000)]
make 'show channeltypes' output format work properly (bug #4413)

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

15 years agoconsolidate API functions for saying numbers/digits/alpha/phonetic into less function...
Kevin P. Fleming [Thu, 2 Jun 2005 21:26:02 +0000 (21:26 +0000)]
consolidate API functions for saying numbers/digits/alpha/phonetic into less functions, using more efficient and clearer code (inspired by bug #4414)

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

15 years agoadd guidelines for doxygen documentation writing (bug #4417, with mods)
Kevin P. Fleming [Thu, 2 Jun 2005 19:38:55 +0000 (19:38 +0000)]
add guidelines for doxygen documentation writing (bug #4417, with mods)

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

15 years agoadd a minor allocation/zeroing guideline
Kevin P. Fleming [Thu, 2 Jun 2005 19:17:04 +0000 (19:17 +0000)]
add a minor allocation/zeroing guideline

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

15 years agoadd missing if statement in say_position (bug #4435)
Kevin P. Fleming [Thu, 2 Jun 2005 18:26:18 +0000 (18:26 +0000)]
add missing if statement in say_position (bug #4435)

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

15 years agoFix offset calculation for signed linear (bug #4433)
Mark Spencer [Thu, 2 Jun 2005 17:54:09 +0000 (17:54 +0000)]
Fix offset calculation for signed linear (bug #4433)

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

15 years agoBlindly merge jitter buffer patch of bug #4342)
Mark Spencer [Thu, 2 Jun 2005 17:45:38 +0000 (17:45 +0000)]
Blindly merge jitter buffer patch of bug #4342)

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

15 years agoSetup transfer capability properly for outbound calls (bug #4434)
Mark Spencer [Thu, 2 Jun 2005 17:16:49 +0000 (17:16 +0000)]
Setup transfer capability properly for outbound calls (bug #4434)

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

15 years agoFix dial to not seg when closing ')' is missing (bug #4410)
Mark Spencer [Thu, 2 Jun 2005 17:12:04 +0000 (17:12 +0000)]
Fix dial to not seg when closing ')' is missing (bug #4410)

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

15 years agoAdd button templates for 7902, 7935, 7940, 7960, 7970, support big endian machines...
Jeremy McNamara [Thu, 2 Jun 2005 09:11:46 +0000 (09:11 +0000)]
Add button templates for 7902, 7935, 7940, 7960, 7970, support big endian machines with proper byte ordering, fixed caller*id on 7910 (others?) and more. Bug #4398

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

15 years agofix wordwrap
Jeremy McNamara [Thu, 2 Jun 2005 00:50:38 +0000 (00:50 +0000)]
fix wordwrap

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

15 years agoSpell noise correctly
Jeremy McNamara [Thu, 2 Jun 2005 00:49:41 +0000 (00:49 +0000)]
Spell noise correctly

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

15 years agofix the one digit exit extension for RetryDial
Russell Bryant [Wed, 1 Jun 2005 18:02:46 +0000 (18:02 +0000)]
fix the one digit exit extension for RetryDial

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

15 years agofix timeout option
Russell Bryant [Wed, 1 Jun 2005 17:23:50 +0000 (17:23 +0000)]
fix timeout option

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

15 years agoApply a proper solution to resolve AST_MAX_ACCOUNT_CODE
Jeremy McNamara [Wed, 1 Jun 2005 16:00:13 +0000 (16:00 +0000)]
Apply a proper solution to resolve AST_MAX_ACCOUNT_CODE

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

15 years agoFix cdr.h ordering issue (bug #4401)
Mark Spencer [Mon, 30 May 2005 14:30:47 +0000 (14:30 +0000)]
Fix cdr.h ordering issue (bug #4401)

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

15 years agoFix small sizeof bug (#4407)
Mark Spencer [Mon, 30 May 2005 13:57:51 +0000 (13:57 +0000)]
Fix small sizeof bug (#4407)

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

15 years agoFix attended transfer crash (bug #4404 with changes)
Mark Spencer [Mon, 30 May 2005 13:51:04 +0000 (13:51 +0000)]
Fix attended transfer crash (bug #4404 with changes)

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

15 years agoFix memory leak and remove useless coe (bug #4318, with mods)
Mark Spencer [Mon, 30 May 2005 13:34:23 +0000 (13:34 +0000)]
Fix memory leak and remove useless coe (bug #4318, with mods)

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