asterisk/asterisk.git
16 years agosupport "make distclean" as well as "make dist-clean" for the picky people
Russell Bryant [Fri, 28 Apr 2006 17:39:54 +0000 (17:39 +0000)]
support "make distclean" as well as "make dist-clean" for the picky people

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

16 years agofix spelling typo -- what's a Diaplan?
Russell Bryant [Fri, 28 Apr 2006 17:17:46 +0000 (17:17 +0000)]
fix spelling typo -- what's a Diaplan?

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

16 years agofix sending the group numbers for a sip peer over the manager interface
Russell Bryant [Fri, 28 Apr 2006 16:50:32 +0000 (16:50 +0000)]
fix sending the group numbers for a sip peer over the manager interface
(issue #7046)

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

16 years agonote that group assignments must be from 0 to 63 (issue #7048)
Russell Bryant [Fri, 28 Apr 2006 16:42:42 +0000 (16:42 +0000)]
note that group assignments must be from 0 to 63 (issue #7048)

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

16 years agowhitespace - format the source in a more readable way;
Luigi Rizzo [Fri, 28 Apr 2006 16:39:25 +0000 (16:39 +0000)]
whitespace - format the source in a more readable way;
On passing, define the macros as do {... } while (0) to
be free of unwanted side effects.

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

16 years agomake the 'runtest' filter less strict on line numbers.
Luigi Rizzo [Fri, 28 Apr 2006 15:51:31 +0000 (15:51 +0000)]
make the 'runtest' filter less strict on line numbers.

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

16 years agosimplify handling of line numbers
Luigi Rizzo [Fri, 28 Apr 2006 15:42:13 +0000 (15:42 +0000)]
simplify handling of line numbers

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

16 years agofix last known bug in computing columb numbers in error messages
Luigi Rizzo [Fri, 28 Apr 2006 15:33:05 +0000 (15:33 +0000)]
fix last known bug in computing columb numbers in error messages

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

16 years agofix a bug in computing line numbers
Luigi Rizzo [Fri, 28 Apr 2006 15:24:30 +0000 (15:24 +0000)]
fix a bug in computing line numbers

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

16 years ago- fix miscalculation in column numbers when multiple tabs
Luigi Rizzo [Fri, 28 Apr 2006 14:17:03 +0000 (14:17 +0000)]
- fix miscalculation in column numbers when multiple tabs
  or empty lines are involved;
- change linku1() to return the head of the list (unused at the moment);
- ignore the source line number in runtests as they change with the
  source and cause mismatches in the comparison with the reference output.

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

16 years agolast batch of npval -> npval2 changes
Luigi Rizzo [Fri, 28 Apr 2006 11:20:21 +0000 (11:20 +0000)]
last batch of npval -> npval2 changes

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

16 years agomore npval -> npval2 changes
Luigi Rizzo [Fri, 28 Apr 2006 10:06:10 +0000 (10:06 +0000)]
more npval -> npval2 changes

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

16 years agominor cleanup
Luigi Rizzo [Fri, 28 Apr 2006 06:40:40 +0000 (06:40 +0000)]
minor cleanup

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

16 years agomore npval -> npval2 conversions
Luigi Rizzo [Fri, 28 Apr 2006 06:26:27 +0000 (06:26 +0000)]
more npval -> npval2 conversions

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

16 years agoremove this option for now, because it can only be enabled when
Russell Bryant [Fri, 28 Apr 2006 00:59:30 +0000 (00:59 +0000)]
remove this option for now, because it can only be enabled when
optimizations aren't being used

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

16 years agoadd STACK_BACKTRACES to the CFLAGS selectable in menuselect
Russell Bryant [Thu, 27 Apr 2006 21:26:24 +0000 (21:26 +0000)]
add STACK_BACKTRACES to the CFLAGS selectable in menuselect

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

16 years agofix destructor for pval objects (thanks to Steve Murphy);
Luigi Rizzo [Thu, 27 Apr 2006 21:09:52 +0000 (21:09 +0000)]
fix destructor for pval objects (thanks to Steve Murphy);
rearrange initial part of ael.flex for flexibility.

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

16 years agowhen doing the checks necessary for chan_phone, look for all of the linux
Russell Bryant [Thu, 27 Apr 2006 20:34:48 +0000 (20:34 +0000)]
when doing the checks necessary for chan_phone, look for all of the linux
headers it uses, not just ixjuser.h (issue #7049, different fix)

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

16 years agoalways call the destructor
Luigi Rizzo [Thu, 27 Apr 2006 20:23:49 +0000 (20:23 +0000)]
always call the destructor

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

16 years agodocument variable and options used.
Luigi Rizzo [Thu, 27 Apr 2006 20:08:42 +0000 (20:08 +0000)]
document variable and options used.

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

16 years agodocument options, move objects of the same type close to
Luigi Rizzo [Thu, 27 Apr 2006 19:51:59 +0000 (19:51 +0000)]
document options, move objects of the same type close to
each other so it is evident what they are.

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

16 years agoslightly restructure a block to reduce nesting,
Luigi Rizzo [Thu, 27 Apr 2006 19:29:14 +0000 (19:29 +0000)]
slightly restructure a block to reduce nesting,
mark some missing error checks

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

16 years agoBlocked revisions 22954 via svnmerge
Joshua Colp [Thu, 27 Apr 2006 19:14:59 +0000 (19:14 +0000)]
Blocked revisions 22954 via svnmerge

........
r22954 | file | 2006-04-27 16:11:47 -0300 (Thu, 27 Apr 2006) | 2 lines

Queue(somequeue,,,,) -> interpreted as Queue(somequeue,,,,0) (issue #7044 reported nathan fixed by jsmith - sort of)

........

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

16 years agoimore npval -> npval2 conversions
Luigi Rizzo [Thu, 27 Apr 2006 19:14:07 +0000 (19:14 +0000)]
imore npval -> npval2 conversions

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

16 years agodont free unallocated block ,and dont close a fd
Matt O'Gorman [Thu, 27 Apr 2006 18:57:45 +0000 (18:57 +0000)]
dont free unallocated block ,and dont close a fd
we never opened. bug #7045

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

16 years agoallows for chan_zap to have all channels reloaded
Matt O'Gorman [Thu, 27 Apr 2006 18:53:47 +0000 (18:53 +0000)]
allows for chan_zap to have all channels reloaded
via zap restart patch from bug 6955

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

16 years agoAdd option 'I' which allows you to record your name, but not review it. This rocks...
Joshua Colp [Thu, 27 Apr 2006 18:51:45 +0000 (18:51 +0000)]
Add option 'I' which allows you to record your name, but not review it. This rocks! (issue #7037 reported by jon with minor mods done by moi)

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

16 years agomore npval2 replacement, mark XXX dubious arguments
Luigi Rizzo [Thu, 27 Apr 2006 18:26:37 +0000 (18:26 +0000)]
more npval2 replacement, mark XXX dubious arguments

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

16 years agomore npval -> npval2 replacement, and a fix for a likely
Luigi Rizzo [Thu, 27 Apr 2006 18:18:12 +0000 (18:18 +0000)]
more npval -> npval2 replacement, and a fix for a likely
bug (marked XXX)

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

16 years agointroduce a simplified interface for npval and start using it
Luigi Rizzo [Thu, 27 Apr 2006 18:09:20 +0000 (18:09 +0000)]
introduce a simplified interface for npval and start using it

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

16 years agoformatting fixes
Luigi Rizzo [Thu, 27 Apr 2006 17:59:09 +0000 (17:59 +0000)]
formatting fixes

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

16 years agoChange channel locking to API, nifty janitor project. (issue #7039 reported by Mithraen)
Joshua Colp [Thu, 27 Apr 2006 17:53:52 +0000 (17:53 +0000)]
Change channel locking to API, nifty janitor project. (issue #7039 reported by Mithraen)

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

16 years ago- add missing IXJUSER to menuselect-deps.in
Russell Bryant [Thu, 27 Apr 2006 17:52:12 +0000 (17:52 +0000)]
- add missing IXJUSER to menuselect-deps.in
- don't check for a private function when looking for nbs
- fix the path to ixjuser.h

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

16 years agouse ast_calloc for memory allocations
Luigi Rizzo [Thu, 27 Apr 2006 17:43:49 +0000 (17:43 +0000)]
use ast_calloc for memory allocations

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

16 years agofix a couple of bugs in arguments to npval
Luigi Rizzo [Thu, 27 Apr 2006 17:39:55 +0000 (17:39 +0000)]
fix a couple of bugs in arguments to npval

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

16 years agoremove some commented-out code
Luigi Rizzo [Thu, 27 Apr 2006 17:16:41 +0000 (17:16 +0000)]
remove some commented-out code

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

16 years agofinish packing yylloc into macros
Luigi Rizzo [Thu, 27 Apr 2006 17:10:15 +0000 (17:10 +0000)]
finish packing yylloc into macros

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

16 years agoadd some comments to the code
Luigi Rizzo [Thu, 27 Apr 2006 17:00:09 +0000 (17:00 +0000)]
add some comments to the code

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

16 years agomore formatting cleanup
Luigi Rizzo [Thu, 27 Apr 2006 16:40:25 +0000 (16:40 +0000)]
more formatting cleanup

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

16 years agoMake sure we use the correct event type when we're moving channels around :-)
Matthew Fredrickson [Thu, 27 Apr 2006 16:20:39 +0000 (16:20 +0000)]
Make sure we use the correct event type when we're moving channels around :-)

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

16 years agomore dup removal
Luigi Rizzo [Thu, 27 Apr 2006 11:43:34 +0000 (11:43 +0000)]
more dup removal

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

16 years agomore duplicate removal
Luigi Rizzo [Thu, 27 Apr 2006 11:34:44 +0000 (11:34 +0000)]
more duplicate removal

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

16 years agoremove duplicated code
Luigi Rizzo [Thu, 27 Apr 2006 11:20:26 +0000 (11:20 +0000)]
remove duplicated code

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

16 years agostaticize c_prevword()
Luigi Rizzo [Thu, 27 Apr 2006 10:13:39 +0000 (10:13 +0000)]
staticize c_prevword()

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

16 years agomore indentation fixes
Luigi Rizzo [Thu, 27 Apr 2006 08:37:40 +0000 (08:37 +0000)]
more indentation fixes

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

16 years agouse asprintf instead of malloc
Luigi Rizzo [Thu, 27 Apr 2006 08:31:18 +0000 (08:31 +0000)]
use asprintf instead of malloc

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

16 years agomore formatting cleanup
Luigi Rizzo [Thu, 27 Apr 2006 08:24:00 +0000 (08:24 +0000)]
more formatting cleanup

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

16 years agoput the default misdn.trace to /var/log/asterisk/misdn.log for better integration...
Christian Richter [Thu, 27 Apr 2006 08:23:53 +0000 (08:23 +0000)]
put the default misdn.trace to /var/log/asterisk/misdn.log for better integration of existing log structure

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

16 years agomore indentation fixes
Luigi Rizzo [Thu, 27 Apr 2006 06:44:38 +0000 (06:44 +0000)]
more indentation fixes

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

16 years agomore formatting cleanup
Luigi Rizzo [Thu, 27 Apr 2006 02:29:32 +0000 (02:29 +0000)]
more formatting cleanup

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

16 years agocleanup formatting to emphsize common code blocks
Luigi Rizzo [Thu, 27 Apr 2006 02:00:35 +0000 (02:00 +0000)]
cleanup formatting to emphsize common code blocks

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

16 years agomove similar blocks close to each other to make similarities
Luigi Rizzo [Thu, 27 Apr 2006 01:35:52 +0000 (01:35 +0000)]
move similar blocks close to each other to make similarities
more evident

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

16 years agonormalize and simplify the code for keeping track of line and column number.
Luigi Rizzo [Thu, 27 Apr 2006 01:27:07 +0000 (01:27 +0000)]
normalize and simplify the code for keeping track of line and column number.

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

16 years agodefine some flex constants for character sets.
Luigi Rizzo [Thu, 27 Apr 2006 01:07:24 +0000 (01:07 +0000)]
define some flex constants for character sets.
partly fix indentation and normalize code layout.

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

16 years agoonly define HAVE_SOMELIB if somelib's header file was found as well
Russell Bryant [Thu, 27 Apr 2006 00:10:56 +0000 (00:10 +0000)]
only define HAVE_SOMELIB if somelib's header file was found as well

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

16 years agouncomment some functions in the flex code that were actually
Luigi Rizzo [Thu, 27 Apr 2006 00:05:05 +0000 (00:05 +0000)]
uncomment some functions in the flex code that were actually
used in the bison code - detected by making aelparse compile
again.

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

16 years agouse \t to indicate a tab, and fix indentation for
Luigi Rizzo [Wed, 26 Apr 2006 23:36:05 +0000 (23:36 +0000)]
use \t to indicate a tab, and fix indentation for
the whitespace-handling rules

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

16 years agoremove common blocks of code with a macro (waiting for a better
Luigi Rizzo [Wed, 26 Apr 2006 23:18:03 +0000 (23:18 +0000)]
remove common blocks of code with a macro (waiting for a better
solution).

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

16 years agostaticize some variables
Luigi Rizzo [Wed, 26 Apr 2006 23:08:47 +0000 (23:08 +0000)]
staticize some variables

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

16 years agocomment behaviour of pbcwhere in preparation for its use
Luigi Rizzo [Wed, 26 Apr 2006 22:56:18 +0000 (22:56 +0000)]
comment behaviour of pbcwhere in preparation for its use
in more places.

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

16 years agoremove unused variable
Luigi Rizzo [Wed, 26 Apr 2006 22:45:37 +0000 (22:45 +0000)]
remove unused variable

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

16 years agoinclude/asterisk/ael_structs.h:
Luigi Rizzo [Wed, 26 Apr 2006 22:41:16 +0000 (22:41 +0000)]
include/asterisk/ael_structs.h:
  - protect against multiple includes of ael_structs.h
  - remove prototypes for unused or undeclared functions

pbx/ael/ael.y
  - staticize functions as appropriate
  - constify arguments
  - remove useless extern

pbx/ael/ael.flex
  - ifdef out unused functions

pbx/pbx_ael.c
  - constify some variables and arguments
  - ifdef out unused functions
  - staticize functions as appropriate

update generated files accordingly

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

16 years agoadds new function QUEUE_WAITING_COUNT and a few
Matt O'Gorman [Wed, 26 Apr 2006 22:04:42 +0000 (22:04 +0000)]
adds new function QUEUE_WAITING_COUNT and a few
warnings if the queue you are looking for in this
function and other queue functions is not found.
patch from 7036

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

16 years agomore janitor work, patch from bug 6975.
Matt O'Gorman [Wed, 26 Apr 2006 21:44:25 +0000 (21:44 +0000)]
more janitor work, patch from bug 6975.

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

16 years agoMerged revisions 22596 via svnmerge from
Matt O'Gorman [Wed, 26 Apr 2006 19:22:55 +0000 (19:22 +0000)]
Merged revisions 22596 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r22596 | mogorman | 2006-04-26 14:18:55 -0500 (Wed, 26 Apr 2006) | 3 lines

do not allow for users to forward voicemail to
themselves, patch from 7001

........

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

16 years agoadds two new applications, exitwhile, and continuewhile
Matt O'Gorman [Wed, 26 Apr 2006 18:49:07 +0000 (18:49 +0000)]
adds two new applications, exitwhile, and continuewhile
patch from bug 6994.

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

16 years agowhitespace-only change:
Luigi Rizzo [Wed, 26 Apr 2006 18:43:29 +0000 (18:43 +0000)]
whitespace-only change:
partly fix indentation/formatting of the bison source,
and of the generated file

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

16 years agowhitespace-only change:
Luigi Rizzo [Wed, 26 Apr 2006 18:40:09 +0000 (18:40 +0000)]
whitespace-only change:
fix formatting and indentation of the flex file,
and regenerate the ael_lex.c

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

16 years agoFacility decoding doesn't work proper yet
Christian Richter [Wed, 26 Apr 2006 14:51:32 +0000 (14:51 +0000)]
Facility decoding doesn't work proper yet

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

16 years agoadd the missing prototype for the included asprintf
Russell Bryant [Wed, 26 Apr 2006 13:18:32 +0000 (13:18 +0000)]
add the missing prototype for the included asprintf

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

16 years agoanother Solaris compatability fix - this makes sure u_int64_t is defined
Russell Bryant [Wed, 26 Apr 2006 02:16:30 +0000 (02:16 +0000)]
another Solaris compatability fix - this makes sure u_int64_t is defined

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

16 years agoBug 7032 - Remove deprecated use of ${CALLERIDNUM}
Tilghman Lesher [Tue, 25 Apr 2006 22:38:31 +0000 (22:38 +0000)]
Bug 7032 - Remove deprecated use of ${CALLERIDNUM}

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

16 years agoAEL is no longer considered experimental :)
Russell Bryant [Tue, 25 Apr 2006 20:51:55 +0000 (20:51 +0000)]
AEL is no longer considered experimental  :)

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

16 years agodon't rely on default search paths for finding local include files
Kevin P. Fleming [Tue, 25 Apr 2006 18:29:02 +0000 (18:29 +0000)]
don't rely on default search paths for finding local include files

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

16 years agoif an external library is found, but the associated header file is not, just
Russell Bryant [Tue, 25 Apr 2006 17:22:38 +0000 (17:22 +0000)]
if an external library is found, but the associated header file is not, just
move on without including support for this library.  However, if --with-lib
is explicitly specified, then error out noting the situation.

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

16 years agowrong path in include file.
Luigi Rizzo [Tue, 25 Apr 2006 17:08:41 +0000 (17:08 +0000)]
wrong path in include file.
Maybe it compiled on some platform because of extra -I
statements in the Makefiles.

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

16 years agofix variable declaration in the middle of a block
Luigi Rizzo [Tue, 25 Apr 2006 17:06:37 +0000 (17:06 +0000)]
fix variable declaration in the middle of a block

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

16 years agodon't list strcompat.o as a dependency in the build_tools Makefile. It is
Russell Bryant [Tue, 25 Apr 2006 13:45:43 +0000 (13:45 +0000)]
don't list strcompat.o as a dependency in the build_tools Makefile.  It is
already listed in the target in the main Makefile.

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

16 years agoremove a bashism ...
Russell Bryant [Tue, 25 Apr 2006 06:07:43 +0000 (06:07 +0000)]
remove a bashism ...

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

16 years agoapparently some systems may have ncurses that doesn't provide backwards compat
Russell Bryant [Tue, 25 Apr 2006 05:53:58 +0000 (05:53 +0000)]
apparently some systems may have ncurses that doesn't provide backwards compat
with curses.  So, check for both and use whatever is found

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

16 years agoanother little Solaris fix, unset LIBS before building libmxml
Russell Bryant [Tue, 25 Apr 2006 05:35:11 +0000 (05:35 +0000)]
another little Solaris fix, unset LIBS before building libmxml

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

16 years agomenuselect needs strcompat.o for strsep on Solaris
Russell Bryant [Tue, 25 Apr 2006 05:26:02 +0000 (05:26 +0000)]
menuselect needs strcompat.o for strsep on Solaris

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

16 years agocheck for automake before aclocal, so that the error message says automake
Russell Bryant [Mon, 24 Apr 2006 21:32:41 +0000 (21:32 +0000)]
check for automake before aclocal, so that the error message says automake
is missing instead of aclocal, since that's where aclocal comes from

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

16 years agoMove clueful 'h' more central; alias ESC to left arrow and make ESC quit on main...
Tilghman Lesher [Mon, 24 Apr 2006 20:01:14 +0000 (20:01 +0000)]
Move clueful 'h' more central; alias ESC to left arrow and make ESC quit on main menu

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

16 years agoadd a note indicating that you can press 'h' for help
Russell Bryant [Mon, 24 Apr 2006 19:15:43 +0000 (19:15 +0000)]
add a note indicating that you can press 'h' for help

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

16 years agoremove properties added as a part of the AEL merge
Russell Bryant [Mon, 24 Apr 2006 18:47:05 +0000 (18:47 +0000)]
remove properties added as a part of the AEL merge

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

16 years agoremove some files we don't need
Russell Bryant [Mon, 24 Apr 2006 18:41:44 +0000 (18:41 +0000)]
remove some files we don't need

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

16 years agoMerge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer...
Kevin P. Fleming [Mon, 24 Apr 2006 17:41:27 +0000 (17:41 +0000)]
Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer considered experimental :-)

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

16 years agoprint a message before running the autotools
Russell Bryant [Mon, 24 Apr 2006 17:34:35 +0000 (17:34 +0000)]
print a message before running the autotools

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

16 years agofix kevin's silly typos
Russell Bryant [Mon, 24 Apr 2006 17:24:03 +0000 (17:24 +0000)]
fix kevin's silly typos

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

16 years agoDeprecate prefixed options in voicemail
Tilghman Lesher [Mon, 24 Apr 2006 17:20:41 +0000 (17:20 +0000)]
Deprecate prefixed options in voicemail

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

16 years agoThanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf...
Kevin P. Fleming [Mon, 24 Apr 2006 17:11:45 +0000 (17:11 +0000)]
Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!

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

16 years agoFix CDR builds when includes are in freetds directory off include
Mark Spencer [Mon, 24 Apr 2006 03:40:12 +0000 (03:40 +0000)]
Fix CDR builds when includes are in freetds directory off include

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

16 years agoBug 6710 - Move default datetime string to each language function, so each language...
Tilghman Lesher [Sun, 23 Apr 2006 15:26:55 +0000 (15:26 +0000)]
Bug 6710 - Move default datetime string to each language function, so each language can have its own default

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

16 years ago- Add doxygen documentation for sipsock_read locking
Olle Johansson [Sun, 23 Apr 2006 06:22:29 +0000 (06:22 +0000)]
- Add doxygen documentation for sipsock_read locking
- Improve documentation of pedantic
  (related to issue #7016)

  From the air above Russia...

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

16 years agoAdded "Operator Services" connection mode for Zap channels, and the 'O' option
Jim Dixon [Sat, 22 Apr 2006 11:30:06 +0000 (11:30 +0000)]
Added "Operator Services" connection mode for Zap channels, and the 'O' option
in app_dial to support the use of this mode.

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

16 years agoconvert to use ast_stream_and_wait
Luigi Rizzo [Fri, 21 Apr 2006 20:57:29 +0000 (20:57 +0000)]
convert to use ast_stream_and_wait

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

16 years agoconvert to use ast_strem_and_wait
Luigi Rizzo [Fri, 21 Apr 2006 20:51:55 +0000 (20:51 +0000)]
convert to use ast_strem_and_wait

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

16 years agoconvert to use ast_stream_and_wait
Luigi Rizzo [Fri, 21 Apr 2006 20:39:50 +0000 (20:39 +0000)]
convert to use ast_stream_and_wait

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

16 years agomove wait_and_stream to ast_wait_and_stream() because equivalent
Luigi Rizzo [Fri, 21 Apr 2006 20:28:32 +0000 (20:28 +0000)]
move wait_and_stream to ast_wait_and_stream() because equivalent
code is replicated in way too many places not to have a global
function for that.

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