asterisk/asterisk.git
14 years ago- fix typo in rtp.c, devicestate.h
Olle Johansson [Tue, 2 May 2006 20:31:39 +0000 (20:31 +0000)]
- fix typo in rtp.c, devicestate.h
- add information about subscriptions and realtime dial plans in sip.conf.sample

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

14 years agosimplify case statements
Luigi Rizzo [Tue, 2 May 2006 20:18:02 +0000 (20:18 +0000)]
simplify case statements

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

14 years agoone more instance of assignment
Luigi Rizzo [Tue, 2 May 2006 20:13:58 +0000 (20:13 +0000)]
one more instance of assignment

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

14 years agoglobal_statement is really an assignment statement
Luigi Rizzo [Tue, 2 May 2006 20:11:24 +0000 (20:11 +0000)]
global_statement is really an assignment statement

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

14 years ago Make certain ast_stopstream() sets the channel's stream members to NULL after closin...
BJ Weschke [Tue, 2 May 2006 20:06:21 +0000 (20:06 +0000)]
 Make certain ast_stopstream() sets the channel's stream members to NULL after closing them. #7067 (jcomellas)

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

14 years ago Don't bring in r24295 into /trunk since it's going to have it's own different patch.
BJ Weschke [Tue, 2 May 2006 20:03:35 +0000 (20:03 +0000)]
 Don't bring in r24295 into /trunk since it's going to have it's own different patch.

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

14 years ago Record bridge channel unique id in "CONNECT" queue_log entry and the corresponding...
BJ Weschke [Tue, 2 May 2006 19:18:36 +0000 (19:18 +0000)]
 Record bridge channel unique id in "CONNECT" queue_log entry and the corresponding manager event. #6522 (nording) w/ documentation additions where appropriate

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

14 years agoexpressions used in if, while, switch are all of the same kind
Luigi Rizzo [Tue, 2 May 2006 19:17:49 +0000 (19:17 +0000)]
expressions used in if, while, switch are all of the same kind
(it remains to see why 'random' gives 16 shift/reduce conflicts...)

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

14 years agomacro statements can be empty
Luigi Rizzo [Tue, 2 May 2006 18:51:33 +0000 (18:51 +0000)]
macro statements can be empty

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

14 years agoempty arglists are valid
Luigi Rizzo [Tue, 2 May 2006 18:48:47 +0000 (18:48 +0000)]
empty arglists are valid

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

14 years agorename the rule for context names properly
Luigi Rizzo [Tue, 2 May 2006 18:45:18 +0000 (18:45 +0000)]
rename the rule for context names properly

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

14 years agosimplify handling of 'include' lists
Luigi Rizzo [Tue, 2 May 2006 18:41:57 +0000 (18:41 +0000)]
simplify handling of 'include' lists

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

14 years ago... and use a single rule for timespec
Luigi Rizzo [Tue, 2 May 2006 18:33:15 +0000 (18:33 +0000)]
... and use a single rule for timespec

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

14 years agouse a single rule to parse timeranges hh:mm-hh:mm
Luigi Rizzo [Tue, 2 May 2006 18:23:41 +0000 (18:23 +0000)]
use a single rule to parse timeranges hh:mm-hh:mm

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

14 years agoif/ifTime/random statements are all the same thing
Luigi Rizzo [Tue, 2 May 2006 18:08:27 +0000 (18:08 +0000)]
if/ifTime/random statements are all the same thing

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

14 years agoincludedname is just a regular word_or_default name,
Luigi Rizzo [Tue, 2 May 2006 17:58:57 +0000 (17:58 +0000)]
includedname is just a regular word_or_default name,
no need for a separate nonterminal

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

14 years agoremove useless 'extern' declaration
Luigi Rizzo [Tue, 2 May 2006 17:37:33 +0000 (17:37 +0000)]
remove useless 'extern' declaration

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

14 years agoinstead of just building local object files for ast_expr2.o and ast_expr2f.o,
Russell Bryant [Tue, 2 May 2006 17:17:19 +0000 (17:17 +0000)]
instead of just building local object files for ast_expr2.o and ast_expr2f.o,
actually link to them as well

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

14 years agoallow for a non-optimized build that does not get installed
Russell Bryant [Tue, 2 May 2006 17:15:37 +0000 (17:15 +0000)]
allow for a non-optimized build that does not get installed

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

14 years agoremove some unneeded local variables.
Luigi Rizzo [Tue, 2 May 2006 14:27:19 +0000 (14:27 +0000)]
remove some unneeded local variables.

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

14 years agouse set_callerid to update callerid with prefix
Christian Richter [Tue, 2 May 2006 14:26:40 +0000 (14:26 +0000)]
use set_callerid to update callerid with prefix

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

14 years agomore usage of nword(). I think the references to source
Luigi Rizzo [Tue, 2 May 2006 14:25:01 +0000 (14:25 +0000)]
more usage of nword(). I think the references to source
line/columns are also correct now.

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

14 years agomore simplifications involving linku1
Luigi Rizzo [Tue, 2 May 2006 14:12:01 +0000 (14:12 +0000)]
more simplifications involving linku1

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

14 years agocorrect linku1() to handle the case tail = NULL correctly.
Luigi Rizzo [Tue, 2 May 2006 14:08:18 +0000 (14:08 +0000)]
correct linku1() to handle the case tail = NULL correctly.
Now the function can be used to simplify other conditional blocks.

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

14 years agoreturning 128 emtpy Frames instead of null frame.
Christian Richter [Tue, 2 May 2006 14:00:37 +0000 (14:00 +0000)]
returning 128 emtpy Frames instead of null frame.

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

14 years agostaticize the list heads from my recent conversions to list macros
Russell Bryant [Tue, 2 May 2006 04:40:09 +0000 (04:40 +0000)]
staticize the list heads from my recent conversions to list macros

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

14 years agoThe build of aelparse was still broken in some cases, so instead of having to
Russell Bryant [Tue, 2 May 2006 03:03:27 +0000 (03:03 +0000)]
The build of aelparse was still broken in some cases, so instead of having to
keep figuring out workarounds for build issues on various platforms, just go
ahead and remove what started all of this.  Two instances of ast_calloc have
been changed to calloc in pbx/ael/ael.y.

ast_copy_string isn't actually needed here because the only place it is used is
in ast_expr2f.c.  However, the utils Makefile already builds its own
ast_expr2f.o with -DSTANDALONE, which makes it use strncpy instead of
ast_copy_string.

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

14 years agoMerged revisions 24097 via svnmerge from
Tilghman Lesher [Tue, 2 May 2006 02:24:58 +0000 (02:24 +0000)]
Merged revisions 24097 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r24097 | tilghman | 2006-05-01 21:12:52 -0500 (Mon, 01 May 2006) | 2 lines

Prompt does not request '#' to end input, so the application should not require it

........

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

14 years agoBug 7062 - Rename ael2 CLI commands to ael
Tilghman Lesher [Mon, 1 May 2006 22:07:18 +0000 (22:07 +0000)]
Bug 7062 - Rename ael2 CLI commands to ael

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

14 years agoMerged revisions 24019 via svnmerge from
Tilghman Lesher [Mon, 1 May 2006 21:48:30 +0000 (21:48 +0000)]
Merged revisions 24019 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r24019 | tilghman | 2006-05-01 15:44:24 -0500 (Mon, 01 May 2006) | 2 lines

Bug 6864 - drop realtime priority on ALL external processes

........

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

14 years agoadd missing functions - see the comment in the file explaining
Luigi Rizzo [Mon, 1 May 2006 20:44:26 +0000 (20:44 +0000)]
add missing functions - see the comment in the file explaining
in detail why this is needed and that hopefully this is a
temporary workaround.

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

14 years agoMerged revisions 23988 via svnmerge from
BJ Weschke [Mon, 1 May 2006 19:35:53 +0000 (19:35 +0000)]
Merged revisions 23988 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r23988 | bweschke | 2006-05-01 14:34:29 -0500 (Mon, 01 May 2006) | 3 lines

 Correct a condition from the prior patch that could happen in rare circumstances and cause a core dump. Thanks Qwell!

........

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

14 years agoMerged revisions 23985 via svnmerge from
BJ Weschke [Mon, 1 May 2006 19:32:47 +0000 (19:32 +0000)]
Merged revisions 23985 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r23985 | bweschke | 2006-05-01 14:26:43 -0500 (Mon, 01 May 2006) | 3 lines

 Make sure that when someone 0's out while recording a msg and then chooses to DELETE the recorded file, the .txt file isn't left around by itself to cause problems later. #7061 (dimitripietro reporting, blitzrage confirmed)

........

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

14 years agomake sure non-inlined versions of ast_copy_string and _ast_calloc are available
Russell Bryant [Mon, 1 May 2006 19:23:43 +0000 (19:23 +0000)]
make sure non-inlined versions of ast_copy_string and _ast_calloc are available
in the cases where they are needed (issue #7054)

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

14 years agogit-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23952 65c4cc65-6c06-0410...
Russell Bryant [Mon, 1 May 2006 15:13:10 +0000 (15:13 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23952 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago- convert the list of dialplan function to the list macros
Russell Bryant [Mon, 1 May 2006 15:09:51 +0000 (15:09 +0000)]
- convert the list of dialplan function to the list macros
- add missing locking of the functions list in the "show functions" CLI command

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

14 years agoremove \n from the end of a couple of synopsis fields
Russell Bryant [Mon, 1 May 2006 14:57:48 +0000 (14:57 +0000)]
remove \n from the end of a couple of synopsis fields

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

14 years agodon't put bogus paths like -L/lib into link commands
Kevin P. Fleming [Mon, 1 May 2006 10:34:20 +0000 (10:34 +0000)]
don't put bogus paths like -L/lib into link commands
do the QT check properly

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

14 years agodo the check for VoiceTronix support using C++
Kevin P. Fleming [Mon, 1 May 2006 10:03:44 +0000 (10:03 +0000)]
do the check for VoiceTronix support using C++
set the library/header include parameters properly for the search

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

14 years agodo check for ixjuser.h in a way that can actually succeed :-)
Kevin P. Fleming [Mon, 1 May 2006 09:38:32 +0000 (09:38 +0000)]
do check for ixjuser.h in a way that can actually succeed :-)

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

14 years agoDon't return stack pointers from functions (especially since the code will attempt...
Tilghman Lesher [Mon, 1 May 2006 03:58:13 +0000 (03:58 +0000)]
Don't return stack pointers from functions (especially since the code will attempt to free() them later)

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

14 years agoconvert the applications list to the list macros
Russell Bryant [Mon, 1 May 2006 03:14:21 +0000 (03:14 +0000)]
convert the applications list to the list macros

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

14 years agoremove an extra newline, none of the other synopsis fields for apps have one
Russell Bryant [Mon, 1 May 2006 03:02:06 +0000 (03:02 +0000)]
remove an extra newline, none of the other synopsis fields for apps have one

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

14 years ago- convert permission lists to use list macros
Russell Bryant [Mon, 1 May 2006 01:26:37 +0000 (01:26 +0000)]
- convert permission lists to use list macros
- remove unused precachesend and precachereceive variables from dundi_peer

This concludes the visit to pbx_dundi ...

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

14 years agoconver the lists of dundi packets to use the list macros
Russell Bryant [Mon, 1 May 2006 00:56:04 +0000 (00:56 +0000)]
conver the lists of dundi packets to use the list macros

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

14 years agomove some code used only --with-pri in the proper
Luigi Rizzo [Mon, 1 May 2006 00:51:38 +0000 (00:51 +0000)]
move some code used only --with-pri in the proper
conditionally-compiled area.

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

14 years ago- convert the dundi precache list to use the list macros
Russell Bryant [Mon, 1 May 2006 00:33:24 +0000 (00:33 +0000)]
- convert the dundi precache list to use the list macros
- change an instance of malloc+memset to ast_calloc

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

14 years agomore simplifications
Luigi Rizzo [Mon, 1 May 2006 00:31:47 +0000 (00:31 +0000)]
more simplifications

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

14 years agoalways trim the trailing ';'
Luigi Rizzo [Mon, 1 May 2006 00:27:27 +0000 (00:27 +0000)]
always trim the trailing ';'

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

14 years agocomment usage of contexts
Luigi Rizzo [Mon, 1 May 2006 00:20:11 +0000 (00:20 +0000)]
comment usage of contexts

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

14 years agofix dereferencing freed memory
Luigi Rizzo [Mon, 1 May 2006 00:02:12 +0000 (00:02 +0000)]
fix dereferencing freed memory

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

14 years agoswitch a couple of operands.
Luigi Rizzo [Sun, 30 Apr 2006 23:53:22 +0000 (23:53 +0000)]
switch a couple of operands.
This gives slightly different results from the previous code
on syntax errors, but it actually makes fewer mistakes so
i think it is an improvement. Additionally, it makes the
code more uniform (the other call of reset_argcount
occurs after LP and not before).

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

14 years agoput back some simplifications, this time really tested
Luigi Rizzo [Sun, 30 Apr 2006 23:31:43 +0000 (23:31 +0000)]
put back some simplifications, this time really tested
(ael_lex.c manually deleted, runtest passed)

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

14 years agorevert ael.flex to the last correct version.
Luigi Rizzo [Sun, 30 Apr 2006 23:21:49 +0000 (23:21 +0000)]
revert ael.flex to the last correct version.
For some reason the makefile did not regenerate the
ael_lex.c file correctly so i was not testing the changes.

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

14 years agoanother small set of simplifications
Luigi Rizzo [Sun, 30 Apr 2006 23:04:58 +0000 (23:04 +0000)]
another small set of simplifications

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

14 years ago- convert the lists of dundi_transactions to the list macros
Russell Bryant [Sun, 30 Apr 2006 23:01:50 +0000 (23:01 +0000)]
- convert the lists of dundi_transactions to the list macros
- remove an unused variable, keypending, from the dundi_peer struct

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

14 years agosimplify logic (runtest passed).
Luigi Rizzo [Sun, 30 Apr 2006 22:56:41 +0000 (22:56 +0000)]
simplify logic (runtest passed).

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

14 years agoremove macro defined that is no longer needed
Kevin P. Fleming [Sun, 30 Apr 2006 17:53:37 +0000 (17:53 +0000)]
remove macro defined that is no longer needed

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

14 years agouse proper method of detecting OSS support on Linux and FreeBSD
Kevin P. Fleming [Sun, 30 Apr 2006 17:49:50 +0000 (17:49 +0000)]
use proper method of detecting OSS support on Linux and FreeBSD

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

14 years agoremove remaining MFC/R2 stuff
Kevin P. Fleming [Sun, 30 Apr 2006 17:25:01 +0000 (17:25 +0000)]
remove remaining MFC/R2 stuff

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

14 years agoMerged revisions 23705 via svnmerge from
Kevin P. Fleming [Sun, 30 Apr 2006 15:48:56 +0000 (15:48 +0000)]
Merged revisions 23705 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r23705 | kpfleming | 2006-04-30 10:46:22 -0500 (Sun, 30 Apr 2006) | 2 lines

remove a pointless comparison, since the buffer is smaller than the length being checked for

........

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

14 years agofix a libtonezone detection issue on FreeBSD
Russell Bryant [Sun, 30 Apr 2006 15:29:38 +0000 (15:29 +0000)]
fix a libtonezone detection issue on FreeBSD

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

14 years agoadd a command-line flag and option to force forking, even with -v or -d
Kevin P. Fleming [Sun, 30 Apr 2006 14:55:05 +0000 (14:55 +0000)]
add a command-line flag and option to force forking, even with -v or -d
rename a flag to have the proper name

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

14 years agoMerged revisions 23673 via svnmerge from
Kevin P. Fleming [Sun, 30 Apr 2006 14:28:25 +0000 (14:28 +0000)]
Merged revisions 23673 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r23673 | kpfleming | 2006-04-30 09:27:56 -0500 (Sun, 30 Apr 2006) | 2 lines

allow top-level OPTIMIZE setting to affect builds in these subdirectories too

........

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

14 years agofix up the app_rpt.o target. oops! (Thanks to Denis Smirnov on the -dev list)
Russell Bryant [Sun, 30 Apr 2006 14:12:14 +0000 (14:12 +0000)]
fix up the app_rpt.o target.  oops!  (Thanks to Denis Smirnov on the -dev list)

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

14 years agodocument the removal of MFC/R2 support
Kevin P. Fleming [Sun, 30 Apr 2006 14:10:48 +0000 (14:10 +0000)]
document the removal of MFC/R2 support

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

14 years agoremove unusable MFC/R2 support
Kevin P. Fleming [Sun, 30 Apr 2006 14:09:13 +0000 (14:09 +0000)]
remove unusable MFC/R2 support

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

14 years agomore nword() usages, and mark some dubious places.
Luigi Rizzo [Sun, 30 Apr 2006 14:06:04 +0000 (14:06 +0000)]
more nword() usages, and mark some dubious places.

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

14 years agointroduce a new frontend to npval for the very common case
Luigi Rizzo [Sun, 30 Apr 2006 13:57:08 +0000 (13:57 +0000)]
introduce a new frontend to npval for the very common case
of creating an object for a tring value PV_WORD.
Start using it.

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

14 years agoMerged revisions 23638 via svnmerge from
Kevin P. Fleming [Sun, 30 Apr 2006 13:56:37 +0000 (13:56 +0000)]
Merged revisions 23638 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r23638 | kpfleming | 2006-04-30 08:55:59 -0500 (Sun, 30 Apr 2006) | 2 lines

let the compiler determine whether hardware or software floating point should be used (like we do in the editline subdirectory)

........

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

14 years agoMerged revisions 23636 via svnmerge from
Kevin P. Fleming [Sun, 30 Apr 2006 13:39:49 +0000 (13:39 +0000)]
Merged revisions 23636 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r23636 | kpfleming | 2006-04-30 08:38:22 -0500 (Sun, 30 Apr 2006) | 4 lines

remove extraneous -m64 flag that is not needed
(these are coming from Debian patches <G>)

........

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

14 years agoanother client for switchlist_block
Luigi Rizzo [Sun, 30 Apr 2006 12:46:15 +0000 (12:46 +0000)]
another client for switchlist_block

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

14 years agomore merge of common blocks through intermediate rules.
Luigi Rizzo [Sun, 30 Apr 2006 12:44:54 +0000 (12:44 +0000)]
more merge of common blocks through intermediate rules.

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

14 years agomake destroy_pval able to handle a NULL value
Luigi Rizzo [Sun, 30 Apr 2006 12:30:08 +0000 (12:30 +0000)]
make destroy_pval able to handle a NULL value
(the warning should be removed);
define a 'elements_block' rule to simplify some other rules
removing duplicated code - runtests seems happy with this.

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

14 years agoremove some commented-out code
Luigi Rizzo [Sun, 30 Apr 2006 12:14:33 +0000 (12:14 +0000)]
remove some commented-out code

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

14 years agosimplify updating the token position markers
Luigi Rizzo [Sun, 30 Apr 2006 12:12:39 +0000 (12:12 +0000)]
simplify updating the token position markers

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

14 years agosimplify CFLAGS handling for subdirectories
Kevin P. Fleming [Sun, 30 Apr 2006 11:40:06 +0000 (11:40 +0000)]
simplify CFLAGS handling for subdirectories
don't put paths into the include search path when they are not needed
don't auto-rebuild the AEL bison/flex output based on make dependencies (the generated files are already checked in, and the timestamps generated by a checkout will usually cause them to be overwritten)

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

14 years agoMerged revisions 23580 via svnmerge from
Kevin P. Fleming [Sun, 30 Apr 2006 11:20:09 +0000 (11:20 +0000)]
Merged revisions 23580 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r23580 | kpfleming | 2006-04-30 06:19:04 -0500 (Sun, 30 Apr 2006) | 2 lines

ensure that the script output is correctly generated when the system's character set does not use the English lowercase/uppercase character groups

........

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

14 years agomore comments
Luigi Rizzo [Sun, 30 Apr 2006 09:24:04 +0000 (09:24 +0000)]
more comments

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

14 years agocomment some code
Luigi Rizzo [Sun, 30 Apr 2006 09:06:28 +0000 (09:06 +0000)]
comment some code

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

14 years agoremove T38_SUPPORT define that is no longer needed
Kevin P. Fleming [Sun, 30 Apr 2006 08:47:47 +0000 (08:47 +0000)]
remove T38_SUPPORT define that is no longer needed

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

14 years agowhen compiling ast_expr2 from utils/ the current directory
Luigi Rizzo [Sun, 30 Apr 2006 08:35:49 +0000 (08:35 +0000)]
when compiling ast_expr2 from utils/ the current directory
is utils/ so the compiler fails to find the header which is in ../
(at least on FreeBSD; this works on linux but it may be due to
differences in gmake).
For the time being, fix it by adding -I.. to the includes.
However i think a proper fix is to make sure that ast_expr2
is built using the rules in the top-level makefile instead
of those in the subdirectory.

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

14 years agomore simplifications in the bison sources,
Luigi Rizzo [Sun, 30 Apr 2006 08:21:46 +0000 (08:21 +0000)]
more simplifications in the bison sources,
more annotation with XXX of dubious code.
(The code still passes tests)

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

14 years agoremove attribute checking... it was an attempt to support older GCC compilers but...
Kevin P. Fleming [Sun, 30 Apr 2006 06:50:53 +0000 (06:50 +0000)]
remove attribute checking... it was an attempt to support older GCC compilers but is not worth the effort :-)

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

14 years agoremove unneeded define - it is already in asterisk.h
Russell Bryant [Sun, 30 Apr 2006 05:27:57 +0000 (05:27 +0000)]
remove unneeded define - it is already in asterisk.h

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

14 years agoconvert the dundi_request list to use the list macros
Russell Bryant [Sun, 30 Apr 2006 05:24:10 +0000 (05:24 +0000)]
convert the dundi_request list to use the list macros

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

14 years agoconvert existing comments to doxygen format
Russell Bryant [Sun, 30 Apr 2006 05:15:53 +0000 (05:15 +0000)]
convert existing comments to doxygen format

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

14 years agofix indentation for this function
Russell Bryant [Sun, 30 Apr 2006 05:09:34 +0000 (05:09 +0000)]
fix indentation for this function

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

14 years agoimmediately handle ast_strdupa result so that one more level of indentation
Russell Bryant [Sun, 30 Apr 2006 05:07:52 +0000 (05:07 +0000)]
immediately handle ast_strdupa result so that one more level of indentation
can be removed from this function

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

14 years agofix the indentation of a large block
Russell Bryant [Sun, 30 Apr 2006 05:06:14 +0000 (05:06 +0000)]
fix the indentation of a large block

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

14 years agohandle a memory allocation failure immediately so the following large block
Russell Bryant [Sun, 30 Apr 2006 05:02:07 +0000 (05:02 +0000)]
handle a memory allocation failure immediately so the following large block
does not have to be indented

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

14 years ago- convert the list of dundi mappings to use the list macros
Russell Bryant [Sun, 30 Apr 2006 04:59:36 +0000 (04:59 +0000)]
- convert the list of dundi mappings to use the list macros
- change an instance of malloc+memset to use ast_calloc, instead

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

14 years agouse the INSTALL variable instead of "install" directly
Russell Bryant [Sun, 30 Apr 2006 04:34:04 +0000 (04:34 +0000)]
use the INSTALL variable instead of "install" directly

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

14 years agochange a list traversal to use a for loop
Russell Bryant [Sun, 30 Apr 2006 04:28:47 +0000 (04:28 +0000)]
change a list traversal to use a for loop

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

14 years agofix the indentation of a large block of code
Russell Bryant [Sun, 30 Apr 2006 04:26:11 +0000 (04:26 +0000)]
fix the indentation of a large block of code

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

14 years agoimmediately handle a memory allocation failure so the rest of the function
Russell Bryant [Sun, 30 Apr 2006 04:23:09 +0000 (04:23 +0000)]
immediately handle a memory allocation failure so the rest of the function
doesn't have to be indented (indentation still to be fixed)

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

14 years ago- convert some comments to doxygen format
Russell Bryant [Sun, 30 Apr 2006 04:20:20 +0000 (04:20 +0000)]
- convert some comments to doxygen format
- convert the list of dundi peers to use the list macros
- convert a use of malloc+memset to use ast_calloc

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

14 years agoadded an up-queue message mechanism to avoid buffer fillups in the kernel, also chang...
Christian Richter [Sat, 29 Apr 2006 22:56:00 +0000 (22:56 +0000)]
added an up-queue message mechanism to avoid buffer fillups in the kernel, also changed some strdups to ast_strdupa

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

14 years agorevert the last change to this Makefile which removed the rules to build
Russell Bryant [Sat, 29 Apr 2006 19:26:53 +0000 (19:26 +0000)]
revert the last change to this Makefile which removed the rules to build
app_apt.  These rules *are* needed beacause this module uses libtonezone,
so it needs this information from autoconf in case it is located in a
non-standard location.  Also, without it, app_rpt.so would not be linked
with libtonezone at all.

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

14 years agoremove now useless rule for app_rpt (bug 7059)
Luigi Rizzo [Sat, 29 Apr 2006 18:22:08 +0000 (18:22 +0000)]
remove now useless rule for app_rpt (bug 7059)

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