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

13 years agoIssue #7074 - Problem with long contact lines
Olle Johansson [Wed, 3 May 2006 12:46:29 +0000 (12:46 +0000)]
Issue #7074 - Problem with long contact lines

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

13 years ago Remove the svnmerge-integrated property accidentally merged in from the func_realtim...
BJ Weschke [Wed, 3 May 2006 12:31:26 +0000 (12:31 +0000)]
 Remove the svnmerge-integrated property accidentally merged in from the func_realtime branch merge last night.

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

13 years agotest commit to ensure the server is happy again
Kevin P. Fleming [Wed, 3 May 2006 12:29:39 +0000 (12:29 +0000)]
test commit to ensure the server is happy again

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

13 years agoIntroducing the REALTIME() dialplan function
BJ Weschke [Tue, 2 May 2006 22:46:12 +0000 (22:46 +0000)]
Introducing the REALTIME() dialplan function

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

13 years agoanother instance of context name
Luigi Rizzo [Tue, 2 May 2006 20:50:18 +0000 (20:50 +0000)]
another instance of context name

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

13 years agofix a bug previously introduced in the handling of timespec.
Luigi Rizzo [Tue, 2 May 2006 20:44:56 +0000 (20:44 +0000)]
fix a bug previously introduced in the handling of timespec.
Fortunately we have regression tests!

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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