Commit graph

8127 commits

Author SHA1 Message Date
Luigi Rizzo
e7d6df39d0 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
2006-04-27 01:27:07 +00:00
Luigi Rizzo
2d33128385 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
2006-04-27 01:07:24 +00:00
Russell Bryant
74aecc640b 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
2006-04-27 00:10:56 +00:00
Luigi Rizzo
d19f767c3c 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
2006-04-27 00:05:05 +00:00
Luigi Rizzo
a857016551 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
2006-04-26 23:36:05 +00:00
Luigi Rizzo
f52022fc6f 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
2006-04-26 23:18:03 +00:00
Luigi Rizzo
df5635d844 staticize some variables
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-26 23:08:47 +00:00
Luigi Rizzo
e141352fd9 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
2006-04-26 22:56:18 +00:00
Luigi Rizzo
2904c6956d remove unused variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-26 22:45:37 +00:00
Luigi Rizzo
aaf99191c8 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
2006-04-26 22:41:16 +00:00
Matt O'Gorman
7212fa80ad 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
2006-04-26 22:04:42 +00:00
Matt O'Gorman
6fd00ee7ec more janitor work, patch from bug 6975.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22631 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-26 21:44:25 +00:00
Matt O'Gorman
367de1a73d 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
2006-04-26 19:22:55 +00:00
Matt O'Gorman
d5892657fe 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
2006-04-26 18:49:07 +00:00
Luigi Rizzo
55a24ef8cc 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
2006-04-26 18:43:29 +00:00
Luigi Rizzo
2de9dcb345 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
2006-04-26 18:40:09 +00:00
Christian Richter
2bde492ea9 Facility decoding doesn't work proper yet
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-26 14:51:32 +00:00
Russell Bryant
c2d851de2b add the missing prototype for the included asprintf
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22526 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-26 13:18:32 +00:00
Russell Bryant
046375190a 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
2006-04-26 02:16:30 +00:00
Tilghman Lesher
823f464a5a Bug 7032 - Remove deprecated use of ${CALLERIDNUM}
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-25 22:38:31 +00:00
Russell Bryant
c9d5466773 AEL is no longer considered experimental :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-25 20:51:55 +00:00
Kevin P. Fleming
dcccc2ed71 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
2006-04-25 18:29:02 +00:00
Russell Bryant
5b6e2d16e3 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
2006-04-25 17:22:38 +00:00
Luigi Rizzo
36807ad092 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
2006-04-25 17:08:41 +00:00
Luigi Rizzo
d85048d692 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
2006-04-25 17:06:37 +00:00
Russell Bryant
e7dfb41cce 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
2006-04-25 13:45:43 +00:00
Russell Bryant
68835cd455 remove a bashism ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-25 06:07:43 +00:00
Russell Bryant
e386a192ee 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
2006-04-25 05:53:58 +00:00
Russell Bryant
7918a7a1fd 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
2006-04-25 05:35:11 +00:00
Russell Bryant
5267a6e6a2 menuselect needs strcompat.o for strsep on Solaris
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-25 05:26:02 +00:00
Russell Bryant
ed2918cfd1 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
2006-04-24 21:32:41 +00:00
Tilghman Lesher
b2d355d07f 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
2006-04-24 20:01:14 +00:00
Russell Bryant
72f2bf8135 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
2006-04-24 19:15:43 +00:00
Russell Bryant
73e6f89994 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
2006-04-24 18:47:05 +00:00
Russell Bryant
7b6a016c07 remove some files we don't need
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 18:41:44 +00:00
Kevin P. Fleming
5f58cc8770 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
2006-04-24 17:41:27 +00:00
Russell Bryant
bc50c527f8 print a message before running the autotools
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:34:35 +00:00
Russell Bryant
d255a98243 fix kevin's silly typos
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:24:03 +00:00
Tilghman Lesher
e3f569532f Deprecate prefixed options in voicemail
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:20:41 +00:00
Kevin P. Fleming
574e14cbea 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
2006-04-24 17:11:45 +00:00
Mark Spencer
746c984500 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
2006-04-24 03:40:12 +00:00
Tilghman Lesher
dc8bc37d76 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
2006-04-23 15:26:55 +00:00
Olle Johansson
5873462c2e - 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
2006-04-23 06:22:29 +00:00
Jim Dixon
a83297d85f 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
2006-04-22 11:30:06 +00:00
Luigi Rizzo
b560433a36 convert to use ast_stream_and_wait
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21 20:57:29 +00:00
Luigi Rizzo
d4eea1066b convert to use ast_strem_and_wait
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21 20:51:55 +00:00
Luigi Rizzo
e48275fea3 convert to use ast_stream_and_wait
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21 20:39:50 +00:00
Luigi Rizzo
7e0d402e88 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
2006-04-21 20:28:32 +00:00
Luigi Rizzo
5fa0dc4316 more stncpy/ast_copy_string replacement.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21 18:34:38 +00:00
Luigi Rizzo
11551079cf more strncpy/ast_copy_string replacement.
On passing, simplify code by using strsep() as appropriate



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21 18:26:54 +00:00