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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 years agore-add the initialization of the scheduled item's time to 0. I had removed
Russell Bryant [Fri, 5 May 2006 18:11:55 +0000 (18:11 +0000)]
re-add the initialization of the scheduled item's time to 0.  I had removed
this because I checked the sched_alloc function to use calloc instead of
malloc, so I thought it was no longer necessary.  However, the sched structures
are cached, and cached values will have the old values in them, so this still
needs to be done.

Also, wrap the scheduler debug code to only happen if option_debug is enabled.
It spits out a ton of output so it's nice to be able to enable/disable it
during runtime.

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

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

13 years agoconvert the list of scheduled items in a scheduler context to use the
Russell Bryant [Fri, 5 May 2006 17:09:27 +0000 (17:09 +0000)]
convert the list of scheduled items in a scheduler context to use the
list macros.  Also, use ast_calloc instead of malloc in one place

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

13 years agouse ast_malloc instead of malloc
Russell Bryant [Fri, 5 May 2006 16:46:46 +0000 (16:46 +0000)]
use ast_malloc instead of malloc

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

13 years agoAdded option far_alerting. This option makes it possible to generate a Ringing on...
Christian Richter [Fri, 5 May 2006 16:38:15 +0000 (16:38 +0000)]
Added option far_alerting. This option makes it possible to generate a Ringing on other channels if they feel that they should have inband ringing, but there is non in reality. I need this due to the fact that asterisk has not the possibility to transmit progress indicators thus chan_sip and others do not know wether they should generate a Rining tone themselves if they receive AST_CONTROL_RINGING..

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

13 years agoconstify the argument to pbx_checkcondition
Russell Bryant [Fri, 5 May 2006 16:36:43 +0000 (16:36 +0000)]
constify the argument to pbx_checkcondition

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

13 years agooops :)
Russell Bryant [Fri, 5 May 2006 16:34:35 +0000 (16:34 +0000)]
oops :)

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

13 years agoMerged revisions 24837 via svnmerge from
Russell Bryant [Fri, 5 May 2006 14:47:22 +0000 (14:47 +0000)]
Merged revisions 24837 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r24837 | russell | 2006-05-05 10:44:50 -0400 (Fri, 05 May 2006) | 3 lines

use pbx_checkcondition() instead of ast_true() to evaluate the condition
for MacroIf and WhileIf (issue #7086)

........

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

13 years ago- formatting fixes
Russell Bryant [Fri, 5 May 2006 00:43:28 +0000 (00:43 +0000)]
- formatting fixes
- don't declare a variable in the middle of a block
- keep track of the result of registration functions in load_module()

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

13 years ago New manager action SendDTMF #6682 (squinky86)
BJ Weschke [Thu, 4 May 2006 21:33:45 +0000 (21:33 +0000)]
 New manager action SendDTMF #6682 (squinky86)

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

13 years ago #6991. Take 3. (casper)
BJ Weschke [Thu, 4 May 2006 21:26:04 +0000 (21:26 +0000)]
 #6991. Take 3. (casper)

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

13 years ago Another adjustment for #6991 (casper)
BJ Weschke [Thu, 4 May 2006 21:02:26 +0000 (21:02 +0000)]
 Another adjustment for #6991 (casper)

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

13 years ago ast_play_and_prepend and ast_play_and_record cleanup #6991 (casper)
BJ Weschke [Thu, 4 May 2006 20:29:13 +0000 (20:29 +0000)]
 ast_play_and_prepend and ast_play_and_record cleanup #6991 (casper)

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

13 years agoMerged revisions 24706 via svnmerge from
Tilghman Lesher [Thu, 4 May 2006 16:38:32 +0000 (16:38 +0000)]
Merged revisions 24706 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r24706 | tilghman | 2006-05-04 11:27:20 -0500 (Thu, 04 May 2006) | 2 lines

Bug 7023 - reload should not unpause members

........

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

13 years agoMerged revisions 24669 via svnmerge from
BJ Weschke [Thu, 4 May 2006 11:24:47 +0000 (11:24 +0000)]
Merged revisions 24669 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r24669 | bweschke | 2006-05-04 06:17:13 -0500 (Thu, 04 May 2006) | 3 lines

 Make sure that only the "|" is a recognized delimiter for Verbose(), as the app documentation already specifies. #7080 (alessiof reporting)

........

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

13 years agoBug 6989 - updates to the ODBC storage mechanism for compatibility with the new res_odbc
Tilghman Lesher [Wed, 3 May 2006 22:54:02 +0000 (22:54 +0000)]
Bug 6989 - updates to the ODBC storage mechanism for compatibility with the new res_odbc

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

13 years ago Fix "o'clock" from being said twice in French. #6900 (casper)
BJ Weschke [Wed, 3 May 2006 22:53:38 +0000 (22:53 +0000)]
 Fix "o'clock" from being said twice in French. #6900 (casper)

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

13 years ago Documentation / whitespace fix.
BJ Weschke [Wed, 3 May 2006 22:40:42 +0000 (22:40 +0000)]
 Documentation / whitespace fix.

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

13 years ago Optionally record audio of the page command for re-pages/playback. #6827 (JeffSaxe)
BJ Weschke [Wed, 3 May 2006 22:38:56 +0000 (22:38 +0000)]
 Optionally record audio of the page command for re-pages/playback. #6827 (JeffSaxe)

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

13 years agoAllow channels in ChanSpy to belong to mutiple spygroups #7072 (anthm)
BJ Weschke [Wed, 3 May 2006 22:25:08 +0000 (22:25 +0000)]
Allow channels in ChanSpy to belong to mutiple spygroups #7072 (anthm)

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

13 years ago Provide the ability to adjust txgain/rxgain on a channel level via the CHANNEL(...
BJ Weschke [Wed, 3 May 2006 22:02:50 +0000 (22:02 +0000)]
 Provide the ability to adjust txgain/rxgain on a channel level via the CHANNEL() function

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

13 years ago Correct call parking behavior when there is no courtesytone specified. #6306 (murf)
BJ Weschke [Wed, 3 May 2006 21:39:24 +0000 (21:39 +0000)]
 Correct call parking behavior when there is no courtesytone specified. #6306 (murf)

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

13 years agoMerged revisions 24567 via svnmerge from
BJ Weschke [Wed, 3 May 2006 21:11:23 +0000 (21:11 +0000)]
Merged revisions 24567 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r24567 | bweschke | 2006-05-03 15:58:10 -0500 (Wed, 03 May 2006) | 3 lines

 Correct application documentation to make users aware that certain options cannot be used in conjunction with others. #6666 (chotaire)

........

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

13 years ago Make sure that callers kicked from queue because of joinempty and leavewhenempty...
BJ Weschke [Wed, 3 May 2006 20:47:34 +0000 (20:47 +0000)]
 Make sure that callers kicked from queue because of joinempty and leavewhenempty have an event logged with regard to the reason for their departure. #6559 (Corydon76)

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

13 years ago Log hold time and talktime in queue_log when blind transfers are made by queue membe...
BJ Weschke [Wed, 3 May 2006 20:31:58 +0000 (20:31 +0000)]
 Log hold time and talktime in queue_log when blind transfers are made by queue members. #7038 (alphaqueue) w/documentation mods added

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

13 years ago Implement and document RINGNOANSWER queue logging functionality to "tattle" on bad...
BJ Weschke [Wed, 3 May 2006 20:14:54 +0000 (20:14 +0000)]
 Implement and document RINGNOANSWER queue logging functionality to "tattle" on bad queue members.

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

13 years ago Fix autofill behavior in app_queue and document it's functionality in queues.conf...
BJ Weschke [Wed, 3 May 2006 20:01:30 +0000 (20:01 +0000)]
 Fix autofill behavior in app_queue and document it's functionality in queues.conf.sample and UPGRADE.txt

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

13 years agosuppress a compiler warning
Russell Bryant [Wed, 3 May 2006 19:10:41 +0000 (19:10 +0000)]
suppress a compiler warning

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

13 years agoMerged revisions 24496 via svnmerge from
Russell Bryant [Wed, 3 May 2006 18:33:10 +0000 (18:33 +0000)]
Merged revisions 24496 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r24496 | russell | 2006-05-03 14:31:20 -0400 (Wed, 03 May 2006) | 6 lines

fix up "make rpm"
- don't reference the gzipped man page, because we don't store them
  compressed anymore
- add some files that currently were not listed
(issue #6837)

........

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

13 years agoremove variable declarations in the middle of two blocks.
Luigi Rizzo [Wed, 3 May 2006 18:22:04 +0000 (18:22 +0000)]
remove variable declarations in the middle of two blocks.
While at it, normalize the surrounding code.

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

13 years agoremove useless variables, and argument checks for functions
Luigi Rizzo [Wed, 3 May 2006 17:44:30 +0000 (17:44 +0000)]
remove useless variables, and argument checks for functions
that can safely handle a NULL argument.

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

13 years agodocument that ast_cdr_answer is happy with a NULL argument
Luigi Rizzo [Wed, 3 May 2006 17:37:47 +0000 (17:37 +0000)]
document that ast_cdr_answer is happy with a NULL argument

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

13 years agono point in clearing a local variable just before return
Luigi Rizzo [Wed, 3 May 2006 17:30:37 +0000 (17:30 +0000)]
no point in clearing a local variable just before return

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

13 years agomore simplifications
Luigi Rizzo [Wed, 3 May 2006 17:07:56 +0000 (17:07 +0000)]
more simplifications

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

13 years agoconsistent rule for goto...
Luigi Rizzo [Wed, 3 May 2006 16:58:16 +0000 (16:58 +0000)]
consistent rule for goto...

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

13 years agoremove another useless nonterminal
Luigi Rizzo [Wed, 3 May 2006 16:46:55 +0000 (16:46 +0000)]
remove another useless nonterminal

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

13 years agoremove a useless nonterminal
Luigi Rizzo [Wed, 3 May 2006 16:38:50 +0000 (16:38 +0000)]
remove a useless nonterminal

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

13 years agomore simplifications
Luigi Rizzo [Wed, 3 May 2006 16:37:14 +0000 (16:37 +0000)]
more simplifications

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

13 years agoremove more shift-reduce conflicts
Luigi Rizzo [Wed, 3 May 2006 16:34:31 +0000 (16:34 +0000)]
remove more shift-reduce conflicts

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

13 years agoremove a redundant rule
Luigi Rizzo [Wed, 3 May 2006 16:33:00 +0000 (16:33 +0000)]
remove a redundant rule

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

13 years agoreduce shift/reduce warnings
Luigi Rizzo [Wed, 3 May 2006 16:28:48 +0000 (16:28 +0000)]
reduce shift/reduce warnings

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

13 years agosimplify case_statements
Luigi Rizzo [Wed, 3 May 2006 16:12:31 +0000 (16:12 +0000)]
simplify case_statements

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

13 years agoswitch statement in one place
Luigi Rizzo [Wed, 3 May 2006 16:08:35 +0000 (16:08 +0000)]
switch statement in one place

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

13 years agoUpdate chan_iax2 to use linkedlists.h for users and peers. Modify the way get_from_jb...
Joshua Colp [Wed, 3 May 2006 16:07:03 +0000 (16:07 +0000)]
Update chan_iax2 to use linkedlists.h for users and peers. Modify the way get_from_jb and expire_registry works to get rid of certain crash scenarios. Finally - change the way expire_registry works when realtime autoclear is enabled to be a bit more efficient.

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

13 years agocommon syntax for context name
Luigi Rizzo [Wed, 3 May 2006 16:00:49 +0000 (16:00 +0000)]
common syntax for context name

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