asterisk/asterisk.git
15 years agouse ast_calloc instaed of calloc, and remove a couple of duplicated
Russell Bryant [Wed, 10 May 2006 19:45:45 +0000 (19:45 +0000)]
use ast_calloc instaed of calloc, and remove a couple of duplicated
error messages

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

15 years agoand chan_iax2 gets smaller... remove the old jitterbuffer
Kevin P. Fleming [Wed, 10 May 2006 16:14:26 +0000 (16:14 +0000)]
and chan_iax2 gets smaller... remove the old jitterbuffer

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

15 years agoremove some chekc sof the result of ast_mutex_lock (issue #7119, Mithraen)
Russell Bryant [Wed, 10 May 2006 15:41:23 +0000 (15:41 +0000)]
remove some chekc sof the result of ast_mutex_lock (issue #7119, Mithraen)

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

15 years agosupport reload say.conf to ease testing
Luigi Rizzo [Wed, 10 May 2006 15:38:54 +0000 (15:38 +0000)]
support reload say.conf to ease testing

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

15 years agouse the channel lock wrappers (issue #7120, Mithraen)
Russell Bryant [Wed, 10 May 2006 15:30:59 +0000 (15:30 +0000)]
use the channel lock wrappers (issue #7120, Mithraen)

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

15 years agogerman syntax for numbers from christian richter
Luigi Rizzo [Wed, 10 May 2006 15:30:37 +0000 (15:30 +0000)]
german syntax for numbers from christian richter

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

15 years agouse the channel lock wrappers (issue #7128)
Russell Bryant [Wed, 10 May 2006 15:17:58 +0000 (15:17 +0000)]
use the channel lock wrappers (issue #7128)

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

15 years agoFix buglet on debug
Mark Spencer [Wed, 10 May 2006 15:13:26 +0000 (15:13 +0000)]
Fix buglet on debug

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

15 years agoupdate the ->indicate() callback for the new arguments
Kevin P. Fleming [Wed, 10 May 2006 15:00:33 +0000 (15:00 +0000)]
update the ->indicate() callback for the new arguments

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

15 years agosuppress the output from generating defaults.h and versions.h, as well as
Russell Bryant [Wed, 10 May 2006 14:35:38 +0000 (14:35 +0000)]
suppress the output from generating defaults.h and versions.h, as well as
checking the cleancount

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

15 years agoremove almost all of the checks of the result from ast_strdupa() or alloca().
Russell Bryant [Wed, 10 May 2006 13:22:15 +0000 (13:22 +0000)]
remove almost all of the checks of the result from ast_strdupa() or alloca().
As it turns out, all of these checks were useless, because alloca will never
return NULL.

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

15 years agoremove a debug message and make the exit keys not be case sensitive
Russell Bryant [Wed, 10 May 2006 13:05:17 +0000 (13:05 +0000)]
remove a debug message and make the exit keys not be case sensitive
inside of a category menu

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

15 years agoensure that control frames with payload can be sent to channel drivers via ->indicate()
Kevin P. Fleming [Wed, 10 May 2006 12:24:11 +0000 (12:24 +0000)]
ensure that control frames with payload can be sent to channel drivers via ->indicate()
update iax2_indicate to pass control frame payload to the connected channel
add an API call for sending an indication with payload, and use it for control frames with payload

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

15 years agofix indentation of two large blocks
Luigi Rizzo [Wed, 10 May 2006 12:17:25 +0000 (12:17 +0000)]
fix indentation of two large blocks

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

15 years agofix a couple of misindented lines;
Luigi Rizzo [Wed, 10 May 2006 11:38:43 +0000 (11:38 +0000)]
fix a couple of misindented lines;
prepare reduce nesting level in a couple of blocks by
inverting an if () statement (indentation change to be committed
separately).

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

15 years agoadd missing rule
Luigi Rizzo [Wed, 10 May 2006 10:48:29 +0000 (10:48 +0000)]
add missing rule

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

15 years agoprovide a correct return value in case everything goes well,
Luigi Rizzo [Wed, 10 May 2006 10:41:38 +0000 (10:41 +0000)]
provide a correct return value in case everything goes well,
so you won't get random failures running menuselect.

Detected by -Wall -Werror

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

15 years agouse 'switch' insteaf of multiple 'if'
Luigi Rizzo [Wed, 10 May 2006 10:10:03 +0000 (10:10 +0000)]
use 'switch' insteaf of multiple 'if'

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

15 years agoAllow media to go directly between IAX endpoints while signalling still
Mark Spencer [Wed, 10 May 2006 09:09:16 +0000 (09:09 +0000)]
Allow media to go directly between IAX endpoints while signalling still
goes through the existing path.

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

15 years agodocument special character interpretation.
Luigi Rizzo [Wed, 10 May 2006 07:45:14 +0000 (07:45 +0000)]
document special character interpretation.

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

15 years agoindentation fixes
Luigi Rizzo [Wed, 10 May 2006 07:19:29 +0000 (07:19 +0000)]
indentation fixes

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

15 years agoprevent a warning for uninitialized variable.
Luigi Rizzo [Wed, 10 May 2006 07:13:23 +0000 (07:13 +0000)]
prevent a warning for uninitialized variable.

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

15 years ago Implement new support for "meetme list <confno> concise"
BJ Weschke [Wed, 10 May 2006 02:57:20 +0000 (02:57 +0000)]
 Implement new support for "meetme list <confno> concise"

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

15 years agoimplement the new sorting algorithm for extensions,
Luigi Rizzo [Tue, 9 May 2006 18:34:30 +0000 (18:34 +0000)]
implement the new sorting algorithm for extensions,
see the documentation near functions ext_cmp1() and ext_cmp().

All sorting decisions are now in one place so it is easy
to revise them.

NOTE
the major change is that now most specific patterns come first,
so there might be differences in how diaplans behave.
If you really really really need to revert to the old sorting order
while you adapt your dialplan, you can uncomment the '#if 0' line
in ext_cmp().

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

15 years agovarious doxygen fixes
Kevin P. Fleming [Tue, 9 May 2006 16:24:07 +0000 (16:24 +0000)]
various doxygen fixes

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

15 years agoclear memory before passing to ASTOBJ_INIT
Luigi Rizzo [Tue, 9 May 2006 16:19:24 +0000 (16:19 +0000)]
clear memory before passing to ASTOBJ_INIT
Mayne it is unnecessary, but otherwise there code believes
the mutex is already initialized.

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

15 years agoFormatting fix
Olle Johansson [Tue, 9 May 2006 15:17:12 +0000 (15:17 +0000)]
Formatting fix

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

15 years agoMake sure that we don't accept an answer on an inbound call and don't permit asterisk...
Mark Spencer [Tue, 9 May 2006 15:01:10 +0000 (15:01 +0000)]
Make sure that we don't accept an answer on an inbound call and don't permit asterisk to answer an outbound call

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

15 years agoremove rule for running bootstrap, it's only safe to run it manually now
Kevin P. Fleming [Tue, 9 May 2006 14:43:00 +0000 (14:43 +0000)]
remove rule for running bootstrap, it's only safe to run it manually now

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

15 years agouse an enum for control frame types
Kevin P. Fleming [Tue, 9 May 2006 14:25:57 +0000 (14:25 +0000)]
use an enum for control frame types
support sending control frames with payload

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

15 years agominor cleanups and removal of duplicate prototypes
Kevin P. Fleming [Tue, 9 May 2006 14:25:31 +0000 (14:25 +0000)]
minor cleanups and removal of duplicate prototypes

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

15 years ago This app is deprecated in /trunk, and thus, the change should not come forward.
BJ Weschke [Tue, 9 May 2006 14:21:33 +0000 (14:21 +0000)]
 This app is deprecated in /trunk, and thus, the change should not come forward.

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

15 years agoremove duplicate atof() invokation
Luigi Rizzo [Tue, 9 May 2006 13:55:33 +0000 (13:55 +0000)]
remove duplicate atof() invokation

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

15 years agonormalize code, remove some useless casts
Luigi Rizzo [Tue, 9 May 2006 13:52:01 +0000 (13:52 +0000)]
normalize code, remove some useless casts

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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