asterisk/asterisk.git
17 years agoMerged revisions 26050 via svnmerge from
BJ Weschke [Tue, 9 May 2006 13:33:54 +0000 (13:33 +0000)]
Merged revisions 26050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r26050 | bweschke | 2006-05-09 08:28:39 -0500 (Tue, 09 May 2006) | 3 lines

 Correct memory leak in find_user_realtime #7118 (fnordian)

........

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

17 years agouse aclocal version 1.9 instead of 1.4 :-)
Kevin P. Fleming [Tue, 9 May 2006 13:26:50 +0000 (13:26 +0000)]
use aclocal version 1.9 instead of 1.4 :-)

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

17 years agoignore some more auto-generated files
Kevin P. Fleming [Tue, 9 May 2006 13:20:52 +0000 (13:20 +0000)]
ignore some more auto-generated files

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

17 years agoupdate to include latest FreeBSD changes
Kevin P. Fleming [Tue, 9 May 2006 13:19:43 +0000 (13:19 +0000)]
update to include latest FreeBSD changes

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

17 years agoadd regenerated configure script
Russell Bryant [Tue, 9 May 2006 13:14:37 +0000 (13:14 +0000)]
add regenerated configure script

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

17 years agoadd default values for CPPFLAGS and LDFLAGS on FreeBSD
Luigi Rizzo [Tue, 9 May 2006 11:45:26 +0000 (11:45 +0000)]
add default values for CPPFLAGS and LDFLAGS on FreeBSD

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

17 years agoMake SIP early media work more efficiently without so many reinvites
Mark Spencer [Tue, 9 May 2006 11:44:50 +0000 (11:44 +0000)]
Make SIP early media work more efficiently without so many reinvites

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

17 years agochange some log_warning into log_debug
Luigi Rizzo [Tue, 9 May 2006 11:29:34 +0000 (11:29 +0000)]
change some log_warning into log_debug

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

17 years agodo not use a variable name that hides a useful library symbol (time())
Luigi Rizzo [Tue, 9 May 2006 11:27:33 +0000 (11:27 +0000)]
do not use a variable name that hides a useful library symbol (time())

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

17 years agochange the check for zaptel to only check for linux/zaptel.h on Linux, and
Russell Bryant [Tue, 9 May 2006 10:43:08 +0000 (10:43 +0000)]
change the check for zaptel to only check for linux/zaptel.h on Linux, and
zaptel.h otherwise

If you did ./configure --with-tonezone=/usr/local/ on FreeBSD, it would run
the first macro which would not find it, but it wouldn't make it to the second
macro because the first check saw that --with-tonezone was specified and would
exit with error

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

17 years agoMake sure we update parameters correctly with reinvite
Mark Spencer [Tue, 9 May 2006 09:47:22 +0000 (09:47 +0000)]
Make sure we update parameters correctly with reinvite

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

17 years agoOops
Mark Spencer [Tue, 9 May 2006 08:45:37 +0000 (08:45 +0000)]
Oops

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

17 years agoMake menuselect be able to show what the modules are
Mark Spencer [Tue, 9 May 2006 08:44:50 +0000 (08:44 +0000)]
Make menuselect be able to show what the modules are

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

17 years agolarge rewrite of the extension matching code,
Luigi Rizzo [Tue, 9 May 2006 08:31:42 +0000 (08:31 +0000)]
large rewrite of the extension matching code,
prerequisite to implement the specification defined yesterday.

While I have been using this code for months now, the change is large
so expect some instability.

Also the new specification (sorting extension by match length etc.)
is not implemented yet.

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

17 years agomisc fixups
Luigi Rizzo [Tue, 9 May 2006 08:16:07 +0000 (08:16 +0000)]
misc fixups

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

17 years agoremove API function that was added and never used
Kevin P. Fleming [Tue, 9 May 2006 08:11:41 +0000 (08:11 +0000)]
remove API function that was added and never used

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

17 years agoremove trailing whitespace
Luigi Rizzo [Tue, 9 May 2006 08:03:52 +0000 (08:03 +0000)]
remove trailing whitespace

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

17 years agomark a couple of dubious pieces of code
Luigi Rizzo [Tue, 9 May 2006 07:51:55 +0000 (07:51 +0000)]
mark a couple of dubious pieces of code

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

17 years agodon't build strcompat for menuselect except on Solaris
Kevin P. Fleming [Tue, 9 May 2006 07:51:20 +0000 (07:51 +0000)]
don't build strcompat for menuselect except on Solaris

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

17 years agomore code simplifications.
Luigi Rizzo [Tue, 9 May 2006 07:49:17 +0000 (07:49 +0000)]
more code simplifications.

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

17 years agoremove a check of the result of ast_mutex_lock
Russell Bryant [Tue, 9 May 2006 07:28:01 +0000 (07:28 +0000)]
remove a check of the result of ast_mutex_lock

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

17 years agoput all the QUEUE_STRATEGY values in an enum, and use them in all of the places
Russell Bryant [Tue, 9 May 2006 07:27:03 +0000 (07:27 +0000)]
put all the QUEUE_STRATEGY values in an enum, and use them in all of the places
in the code where the strategy type is checked, to make the code more readable

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

17 years agosimplify matchcid()
Luigi Rizzo [Tue, 9 May 2006 06:17:42 +0000 (06:17 +0000)]
simplify matchcid()
define struct pbx_find_info for later use

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

17 years agouse S_OR where appropriate, comment an unclear difference in format
Luigi Rizzo [Tue, 9 May 2006 06:14:30 +0000 (06:14 +0000)]
use S_OR where appropriate, comment an unclear difference in format
between CONCISE and VERBOSE

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

17 years agomore small simplifications
Luigi Rizzo [Tue, 9 May 2006 06:04:45 +0000 (06:04 +0000)]
more small simplifications

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

17 years agoBug 7114 - Originate success/failure indicator was reversed
Tilghman Lesher [Tue, 9 May 2006 06:00:11 +0000 (06:00 +0000)]
Bug 7114 - Originate success/failure indicator was reversed

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

17 years agoBug 7009 - use the actual path, so that a table index can be used
Tilghman Lesher [Tue, 9 May 2006 05:55:44 +0000 (05:55 +0000)]
Bug 7009 - use the actual path, so that a table index can be used

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

17 years agoBug 6787 - Allow escaping of newline characters for invoking non-Festival TTS systems
Tilghman Lesher [Tue, 9 May 2006 05:30:05 +0000 (05:30 +0000)]
Bug 6787 - Allow escaping of newline characters for invoking non-Festival TTS systems

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

17 years ago strategy "ringall" is really int value of 0, not 1.
BJ Weschke [Tue, 9 May 2006 00:21:40 +0000 (00:21 +0000)]
 strategy "ringall" is really int value of 0, not 1.

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

17 years agoWarn user if the custom format is not one of the options
Tilghman Lesher [Mon, 8 May 2006 23:04:19 +0000 (23:04 +0000)]
Warn user if the custom format is not one of the options

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

17 years agoanother function restructured
Luigi Rizzo [Mon, 8 May 2006 22:53:57 +0000 (22:53 +0000)]
another function restructured

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

17 years agomore code restructuring
Luigi Rizzo [Mon, 8 May 2006 22:47:03 +0000 (22:47 +0000)]
more code restructuring

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

17 years agoremove some common code in parsing function calls
Luigi Rizzo [Mon, 8 May 2006 22:15:31 +0000 (22:15 +0000)]
remove some common code in parsing function calls

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

17 years agomore code restructuring
Luigi Rizzo [Mon, 8 May 2006 22:06:50 +0000 (22:06 +0000)]
more code restructuring

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

17 years agorestructure a function reducing nesting depth.
Luigi Rizzo [Mon, 8 May 2006 21:49:22 +0000 (21:49 +0000)]
restructure a function reducing nesting depth.

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

17 years agoremove checks of the result of ast_mutex_lock
Russell Bryant [Mon, 8 May 2006 21:27:47 +0000 (21:27 +0000)]
remove checks of the result of ast_mutex_lock

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

17 years agofix indentation of a large block.
Luigi Rizzo [Mon, 8 May 2006 21:09:03 +0000 (21:09 +0000)]
fix indentation of a large block.

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

17 years agorevert a patch that wasn't supposed to be committed ... oops
Russell Bryant [Mon, 8 May 2006 21:07:12 +0000 (21:07 +0000)]
revert a patch that wasn't supposed to be committed ... oops

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

17 years agomake sure that the MOD_SUBDIR_CFLAGS and OTHER_SUBDIR_FLAGS come before
Russell Bryant [Mon, 8 May 2006 21:00:16 +0000 (21:00 +0000)]
make sure that the MOD_SUBDIR_CFLAGS and OTHER_SUBDIR_FLAGS come before
ASTCFLAGS so that -Iinclude comes before any system include path

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

17 years agoon mac, QUAD_MIN and QUAD_MAX are already defined, so this causes a bunch
Russell Bryant [Mon, 8 May 2006 20:50:43 +0000 (20:50 +0000)]
on mac, QUAD_MIN and QUAD_MAX are already defined, so this causes a bunch
of warnings

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

17 years agominor code restructuring in preparation for more work.
Luigi Rizzo [Mon, 8 May 2006 20:49:30 +0000 (20:49 +0000)]
minor code restructuring in preparation for more work.

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

17 years agoDon't try to build aelparse if pbx_ael is disabled in menuselect (otherwise the build...
Tilghman Lesher [Mon, 8 May 2006 16:47:49 +0000 (16:47 +0000)]
Don't try to build aelparse if pbx_ael is disabled in menuselect (otherwise the build breaks)

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

17 years agomake Makefile slightly less noisy
Kevin P. Fleming [Mon, 8 May 2006 16:17:00 +0000 (16:17 +0000)]
make Makefile slightly less noisy

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

17 years agolocalize some variables
Luigi Rizzo [Mon, 8 May 2006 16:14:29 +0000 (16:14 +0000)]
localize some variables

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

17 years agocommit the proper configure script
Kevin P. Fleming [Mon, 8 May 2006 16:11:33 +0000 (16:11 +0000)]
commit the proper configure script

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

17 years agosilly people that don't want to install/run autoconf :-)
Kevin P. Fleming [Mon, 8 May 2006 16:02:42 +0000 (16:02 +0000)]
silly people that don't want to install/run autoconf :-)

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

17 years agoAdd documentation on "allowtransfer"
Olle Johansson [Mon, 8 May 2006 15:46:02 +0000 (15:46 +0000)]
Add documentation on "allowtransfer"

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

17 years agodocument th way extensions are sorted
Luigi Rizzo [Mon, 8 May 2006 15:32:53 +0000 (15:32 +0000)]
document th way extensions are sorted

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

17 years agoIssue #7103 (mikma)
Olle Johansson [Mon, 8 May 2006 15:31:58 +0000 (15:31 +0000)]
Issue #7103 (mikma)
- Don't send reply on ACK
- use "require" instead of "required" which is an unknown header
 (Partly imported from 1.2)

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

17 years agoadd smarter checking for termcap support, which fixes a build problem when
Russell Bryant [Mon, 8 May 2006 15:24:52 +0000 (15:24 +0000)]
add smarter checking for termcap support, which fixes a build problem when
ncurses is statically compiled with term info support, which is provided in
the statically compiled editline library that we are including.
(issue #6948, original patch by casper, modified to use the features
of AST_EXT_LIB)

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

17 years agouse a file that configure will _always_ regenerate as the trigger for running the...
Kevin P. Fleming [Mon, 8 May 2006 15:20:00 +0000 (15:20 +0000)]
use a file that configure will _always_ regenerate as the trigger for running the script

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

17 years agoadd TOPDIR_CFLAGS to the CFLAGS before ASTCFLAGS to make sure that -Iinclude
Russell Bryant [Mon, 8 May 2006 15:03:44 +0000 (15:03 +0000)]
add TOPDIR_CFLAGS to the CFLAGS before ASTCFLAGS to make sure that -Iinclude
comes before -I/usr/local/include or something similar

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

17 years ago- Issue 7101 (mikma) - Don't crash with no From: header in pedantic mode
Olle Johansson [Mon, 8 May 2006 14:45:28 +0000 (14:45 +0000)]
- Issue 7101 (mikma) - Don't crash with no From: header in pedantic mode
- Cleanup of get_destination
- Don't call uri_decode twice on the same string if you're in a rush ... :-)

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

17 years agoMinor cleanup on dtmf calling (bug #7076)
Mark Spencer [Mon, 8 May 2006 14:45:18 +0000 (14:45 +0000)]
Minor cleanup on dtmf calling (bug #7076)

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

17 years agoremove incorrect Makefile rule that was causing aelparse to be rebuilt unnecessarily
Kevin P. Fleming [Mon, 8 May 2006 14:43:49 +0000 (14:43 +0000)]
remove incorrect Makefile rule that was causing aelparse to be rebuilt unnecessarily

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

17 years agodon't let make use implicit rules for bison/flex output files
Kevin P. Fleming [Mon, 8 May 2006 14:34:32 +0000 (14:34 +0000)]
don't let make use implicit rules for bison/flex output files

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

17 years agoMerged revisions 25563 via svnmerge from
BJ Weschke [Mon, 8 May 2006 14:13:43 +0000 (14:13 +0000)]
Merged revisions 25563 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r25563 | bweschke | 2006-05-08 10:12:20 -0400 (Mon, 08 May 2006) | 3 lines

 Don't show agents as available when they are in wrap-up time.  #6726 (ZX81)

........

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

17 years ago Block r25522 from coming into /trunk. /trunk uses list macros now and 1.2 doesn...
BJ Weschke [Mon, 8 May 2006 13:39:14 +0000 (13:39 +0000)]
 Block r25522 from coming into /trunk. /trunk uses list macros now and 1.2 doesn't here.

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

17 years ago Make QueueStatusComplete manager event thread safe by wrapping it inside the already...
BJ Weschke [Mon, 8 May 2006 13:38:14 +0000 (13:38 +0000)]
 Make QueueStatusComplete manager event thread safe by wrapping it inside the already existing Queue Lock clause. #7013 (bziherl reporting)

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

17 years agoMerged revisions 25520 via svnmerge from
BJ Weschke [Mon, 8 May 2006 13:16:06 +0000 (13:16 +0000)]
Merged revisions 25520 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r25520 | bweschke | 2006-05-08 09:15:30 -0400 (Mon, 08 May 2006) | 3 lines

 Oops. :(

........

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

17 years agoMerged revisions 25518 via svnmerge from
BJ Weschke [Mon, 8 May 2006 13:12:39 +0000 (13:12 +0000)]
Merged revisions 25518 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r25518 | bweschke | 2006-05-08 09:11:32 -0400 (Mon, 08 May 2006) | 3 lines

 Don't recheck valid_exit() after getting the result from say_position (which already checks it). Should prevent another loop if the caller hits digits during the position announcement. #6776 (tgj reporting)

........

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

17 years ago use pid_t instead of long for pid variables. #7099 (casper)
BJ Weschke [Mon, 8 May 2006 12:32:44 +0000 (12:32 +0000)]
 use pid_t instead of long for pid variables. #7099 (casper)

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

17 years ago Fix situation for when there is no monitor_option defined, but there is a monitor_ex...
BJ Weschke [Mon, 8 May 2006 12:30:46 +0000 (12:30 +0000)]
 Fix situation for when there is no monitor_option defined, but there is a monitor_exec defined.

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

17 years agouse ast_channel_(un)lock
Russell Bryant [Mon, 8 May 2006 11:30:32 +0000 (11:30 +0000)]
use ast_channel_(un)lock

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

17 years agoadded managerevent meetmemute with status on or off.
Matt O'Gorman [Mon, 8 May 2006 11:26:06 +0000 (11:26 +0000)]
added managerevent meetmemute with status on or off.
patch provided by bug 6811, with modifications for api.

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

17 years agoremove a check of the result from ast_mutex_lock
Russell Bryant [Mon, 8 May 2006 11:26:01 +0000 (11:26 +0000)]
remove a check of the result from ast_mutex_lock

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

17 years agoIncorrect log statement when playing transfer sounds (issue #7008 reported and fixed...
Joshua Colp [Mon, 8 May 2006 11:22:00 +0000 (11:22 +0000)]
Incorrect log statement when playing transfer sounds (issue #7008 reported and fixed by nathan)

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

17 years ago - convert the lists of switches to use the linked list macros
Russell Bryant [Mon, 8 May 2006 11:20:19 +0000 (11:20 +0000)]
 - convert the lists of switches to use the linked list macros
 - remove some checks of the result of ast_mutex_lock, since it is not necessary
   (this would be a good project to add to the janitor projects list).

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

17 years agowoohoo asterdevcon first commit, adds feature to
Matt O'Gorman [Mon, 8 May 2006 11:08:38 +0000 (11:08 +0000)]
woohoo asterdevcon first commit, adds feature to
cli for agents, show agents online , patch from bug
7096

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

17 years agoremove an XXX comment
Russell Bryant [Mon, 8 May 2006 10:08:20 +0000 (10:08 +0000)]
remove an XXX comment
 - we can't use ast_true here because non-empty strings would no longer be
   evaluated as true
document the return values of pbx_checkcondition() in doxygen format

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

17 years agoVIDUPDATE does not matter during playback.
Mark Spencer [Mon, 8 May 2006 07:56:42 +0000 (07:56 +0000)]
VIDUPDATE does not matter during playback.

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

17 years agoin PTMP TE we should set the free state for the B-Channel if we ignore an incoming...
Christian Richter [Mon, 8 May 2006 07:30:28 +0000 (07:30 +0000)]
in PTMP TE we should set the free state for the B-Channel if we ignore an incoming call

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

17 years agoadd the asterisk copyright header, doxygen header, and tweak the formatting
Russell Bryant [Sun, 7 May 2006 15:19:52 +0000 (15:19 +0000)]
add the asterisk copyright header, doxygen header, and tweak the formatting
of the included strsep to match our coding guidelines

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

17 years ago- use ast_calloc instead of malloc+memset
Russell Bryant [Sun, 7 May 2006 15:19:13 +0000 (15:19 +0000)]
- use ast_calloc instead of malloc+memset
- conver one malloc to ast_malloc

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

17 years agoMerged revisions 25322 via svnmerge from
BJ Weschke [Sun, 7 May 2006 13:39:32 +0000 (13:39 +0000)]
Merged revisions 25322 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r25322 | bweschke | 2006-05-07 09:38:11 -0400 (Sun, 07 May 2006) | 3 lines

 Fix playback behavior to exit correctly when we receive a hangup during playback of the invalid pin message. #7091 (AntD reporting)

........

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

17 years agoMerged revisions 25288 via svnmerge from
BJ Weschke [Sun, 7 May 2006 12:52:08 +0000 (12:52 +0000)]
Merged revisions 25288 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r25288 | bweschke | 2006-05-07 08:48:09 -0400 (Sun, 07 May 2006) | 3 lines

 Reset the value of ast_mainpid if we fork so future remote unix connections display the correct PID. #7098 (tzafrir reporting)

........

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

17 years agovarious menuselect fixes as a result of boredom during a 9 hour flight and
Russell Bryant [Sun, 7 May 2006 12:00:55 +0000 (12:00 +0000)]
various menuselect fixes as a result of boredom during a 9 hour flight and
now a 9 hour layover ...
- If a module is disabled from being built because of failed dependencies or a
  conflict, automatically re-enable the module if the issues are later
  resolved.
- If a module has been disabled by default, only set this value if there is not
  an existing menuselect.makeopts file.  Previously, this value would get reset
  every time you ran menuselect.
- staticize a bunch of functions and variables that aren't public

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

17 years agoMinor AJAM fixups
Mark Spencer [Sun, 7 May 2006 00:04:12 +0000 (00:04 +0000)]
Minor AJAM fixups

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

17 years ago Fix output delimiters and add prefix parameter to func_odbc #7025 (Corydon76)
BJ Weschke [Sat, 6 May 2006 13:36:29 +0000 (13:36 +0000)]
 Fix output delimiters and add prefix parameter to func_odbc #7025 (Corydon76)

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

17 years agoTypo fix
Tilghman Lesher [Sat, 6 May 2006 04:57:40 +0000 (04:57 +0000)]
Typo fix

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

17 years agofix a problem where the frame's data pointer is overwritten by the newly
Russell Bryant [Sat, 6 May 2006 02:31:22 +0000 (02:31 +0000)]
fix a problem where the frame's data pointer is overwritten by the newly
allocated data buffer before the data can be copied from it.  This is in
the ast_frisolate() function which is rarely used.  (issue #6732, stefankroon)

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

17 years agogit-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25162 65c4cc65-6c06-0410...
Russell Bryant [Sat, 6 May 2006 02:26:38 +0000 (02:26 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25162 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agoadd Polish language support to Voicemail, with some minor modifications that
Russell Bryant [Sat, 6 May 2006 02:05:18 +0000 (02:05 +0000)]
add Polish language support to Voicemail, with some minor modifications that
include formatting fixes, making it so variables aren't declared in the
middle of a block, and various other little code cleanups
(issue #6970, supczinskib)

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

17 years agoMerged revisions 25123 via svnmerge from
Russell Bryant [Sat, 6 May 2006 00:06:58 +0000 (00:06 +0000)]
Merged revisions 25123 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r25123 | russell | 2006-05-05 20:05:27 -0400 (Fri, 05 May 2006) | 3 lines

ensure that the appropriate manager events are sent in all of the places where
alarms are detected or cleared (issue #6866, flefoll)

........

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

17 years agomodify the handling of the new temporary greeting reminder feature so that
Russell Bryant [Fri, 5 May 2006 22:57:11 +0000 (22:57 +0000)]
modify the handling of the new temporary greeting reminder feature so that
it works for any language

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

17 years agoadd support for installing other init scripts, other than just the redhat
Russell Bryant [Fri, 5 May 2006 22:49:55 +0000 (22:49 +0000)]
add support for installing other init scripts, other than just the redhat
version.  (issue #7093, initial patch by froguz, extended by north)

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

17 years ago Make the "Avoided Initial Deadlock for '....', X retries!" a LOG_DEBUG msg instead...
BJ Weschke [Fri, 5 May 2006 22:18:07 +0000 (22:18 +0000)]
 Make the "Avoided Initial Deadlock for '....', X retries!" a LOG_DEBUG msg instead of LOG_WARNING as this only has relevance to developers trying to resolve a possible problem. #6949

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

17 years ago Integrate the MixMonitor functionality (introduced in 1.2) as an option for recordin...
BJ Weschke [Fri, 5 May 2006 22:02:38 +0000 (22:02 +0000)]
 Integrate the MixMonitor functionality (introduced in 1.2) as an option for recording queue member conversations with callers. #7084

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

17 years agodocument the return value of gettag()
Russell Bryant [Fri, 5 May 2006 21:55:25 +0000 (21:55 +0000)]
document the return value of gettag()

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

17 years agofix the return value of gettag() to only return the pointer to the provided
Russell Bryant [Fri, 5 May 2006 21:43:06 +0000 (21:43 +0000)]
fix the return value of gettag() to only return the pointer to the provided
tag buffer if the tag was actually found.  There is code that checks to see
if this result is non-zero to determine whether the tag was found or not.
(issue #7092, mikma)

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

17 years agominor code optimizations to reduce the number of times that the ast_frame
Russell Bryant [Fri, 5 May 2006 21:36:17 +0000 (21:36 +0000)]
minor code optimizations to reduce the number of times that the ast_frame
and ast_trans_pvt pointers have to be dereferenced (issue #7069, Mithraen)

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

17 years agoadd support for having the user reminded that their temporary greeting
Russell Bryant [Fri, 5 May 2006 21:22:50 +0000 (21:22 +0000)]
add support for having the user reminded that their temporary greeting
is still set (issue #6120, khaefner)

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

17 years ago Allow for the execution of an AGI to the caller's channel right before they get...
BJ Weschke [Fri, 5 May 2006 21:22:45 +0000 (21:22 +0000)]
 Allow for the execution of an AGI to the caller's channel right before they get bridged with the queue member that is going to take their call. Add the option to set a MEMBERINTERFACE variable on the caller's channel that will contain the interface of the queue member that is going to/did take the call. #6843

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

17 years agomove ast_carefulwrite from manager.c to utils.c so that cli.c and
Russell Bryant [Fri, 5 May 2006 21:01:39 +0000 (21:01 +0000)]
move ast_carefulwrite from manager.c to utils.c so that cli.c and
res_agi.c no longer depend on manager.h (issue #6397, casper)

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

17 years ago Blocking r25014 from coming into /trunk as the fix was different for /trunk and...
BJ Weschke [Fri, 5 May 2006 20:52:25 +0000 (20:52 +0000)]
 Blocking r25014 from coming into /trunk as the fix was different for /trunk and was already applied earlier. #7064

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

17 years agogit-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25016 65c4cc65-6c06-0410...
Russell Bryant [Fri, 5 May 2006 20:50:28 +0000 (20:50 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25016 65c4cc65-6c06-0410-ace0-fbb531ad65f3

17 years agomove ExecIf from app_while.c to app_exec.c (issue #7094, north)
Russell Bryant [Fri, 5 May 2006 20:43:16 +0000 (20:43 +0000)]
move ExecIf from app_while.c to app_exec.c (issue #7094, north)

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

17 years ago Adding documentation about API change approved in order to fix bug(s).
BJ Weschke [Fri, 5 May 2006 20:12:59 +0000 (20:12 +0000)]
 Adding documentation about API change approved in order to fix bug(s).

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

17 years agoMinor documentation change regarding authentication. (issue #6644)
Joshua Colp [Fri, 5 May 2006 19:20:58 +0000 (19:20 +0000)]
Minor documentation change regarding authentication. (issue #6644)

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

17 years ago Fix 4 bugs in voicemail. #7064 ( supczinskib and jcollie )
BJ Weschke [Fri, 5 May 2006 19:10:11 +0000 (19:10 +0000)]
 Fix 4 bugs in voicemail. #7064 ( supczinskib and jcollie )

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