Commit Graph

337 Commits (81598fa082bf5ef82fcd0380c7183897fc640324)

Author SHA1 Message Date
Steve Murphy 9836efb5fb This commit closes bug 7605, and half-closes 7638. The AEL code has been redistributed/repartitioned to allow code re-use both inside and outside of Asterisk. This commit introduces the utils/conf2ael program, and an external config-file reader, for both normal config files, and for extensions.conf (context, exten, prio); It provides an API for programs outside of asterisk to use to play with the dialplan and config files.
18 years ago
Steve Murphy d9b52497f0 Merged revisions 79255 via svnmerge from
18 years ago
Russell Bryant 668a334f85 Add another big set of doxygen documentation improvements from snuffy.
18 years ago
Joshua Colp d9aee5e353 Merged revisions 77869 via svnmerge from
18 years ago
Steve Murphy 8a7732f067 via 10206, I have added an option (e) to Dial to allow the h exten to get run on peer. Had to upgrade ast_flag stuff to 64 bits to do this.
18 years ago
Steve Murphy 6a4efe5d5a In regards to changes for 9508, expr2 system choking on floating point numbers, I'm adding this update to round out (no pun intended) and make this FP-capable version of the Expr2 stuff interoperate better with previous integer-only usage, by providing Functions syntax, with 20 builtin functions for floating pt to integer conversions, and some general floating point math routines that might commonly be used also. Along with this, I made it so if a function was not a builtin, it will try and find it in the ast_custom_function list, and if found, execute it and collect the results. Thus, you can call system functions like CDR(), CHANNEL(), etc, from within $\[..\] exprs, without having to wrap them in $\{...\} (curly brace) notation. Did a valgrind on the standalone and made sure there's no mem leaks. Looks good. Updated the docs, too.
18 years ago
Steve Murphy 94b934c8f6 Merged revisions 72933 via svnmerge from
18 years ago
Steve Murphy 52efde5c65 Merged revisions 67526 via svnmerge from
18 years ago
Steve Murphy 1613b4e58e Merged revisions 59145 via svnmerge from
18 years ago
Steve Murphy 91a9b97a73 Merged revisions 57426 via svnmerge from
18 years ago
Steve Murphy bf0fbdd09b Merged revisions 52052 via svnmerge from
19 years ago
Kevin P. Fleming 87b9abc892 Merged revisions 49676 via svnmerge from
19 years ago
Steve Murphy 6c7f4c1e32 Jason is having problems with the inclusion of <err.h>; it appears to be unnecessary for sucessful builds, so I either removed or commented out the inclusions from all the AEL related code. New outputs from bison/flex are included, etc.
19 years ago
Kevin P. Fleming 920de98f68 Merged revisions 48554 via svnmerge from
19 years ago
Kevin P. Fleming 89c41e2403 Merged revisions 48525 via svnmerge from
19 years ago
Russell Bryant aabf2ce6f0 Merged revisions 47331 via svnmerge from
19 years ago
Russell Bryant 0f621aa13e check for failure after call to calloc() (issue #8295)
19 years ago
Joshua Colp 980ce017ec Add support for manager hooks, so you could fire off manager events over IRC if you were crazy enough. (issue #5161 reported by anthm with mods by moi)
19 years ago
Steve Murphy 6d81c47801 These changes submitted by moy via bug 6992, to add a Dial 'End' event to asterisk. I include some changes to astman to cover other events that have been added.
19 years ago
Joshua Colp 6948019465 Merged revisions 46377 via svnmerge from
19 years ago
Russell Bryant 283b1bdeb3 Merged revisions 46067 via svnmerge from
19 years ago
Steve Murphy d752a6e521 astman was slightly weirding out over the new Dial and Newcallerid events
19 years ago
Kevin P. Fleming cd0457d14e Merged revisions 44436 via svnmerge from
19 years ago
Luigi Rizzo d16122c826 correct libraries for astman, at least so i think...
19 years ago
Kevin P. Fleming e92c34cc38 Merged revisions 44055 via svnmerge from
19 years ago
Kevin P. Fleming 89050169c8 Merged revisions 43996-43997,44008,44011-44012 via svnmerge from
19 years ago
Jason Parker 8699205857 be a little more consistent with our variable usage
19 years ago
Jason Parker 9177d1143b Change the includes to work on FreeBSD
19 years ago
Jason Parker f18cbf77df Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.c
19 years ago
Kevin P. Fleming be29512d1e more makefile tweaks to keep targets from being run when they don't need to be
19 years ago
Russell Bryant 1627052cf1 suppress compiler warning
19 years ago
Steve Murphy d5572fac38 My apologies, I missed the compiler warning in a previous commit for the ael_main.c;
19 years ago
Kevin P. Fleming d12f54f90b GNU make already knows how to quietly ignore non-existent files in 'include' directives
19 years ago
Steve Murphy 51132bbdbf Changes to fix all problems reported in 7804 are included here.
19 years ago
Joshua Colp fbe03b3f30 Another compile time warning bites the dust
19 years ago
Kevin P. Fleming 53b1c97c9a build muted by default, since there is no Makefile target for it anymore
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Steve Murphy 1d2b76a0f8 added a -q for quiet, option to aelparse
19 years ago
Steve Murphy f56d340b1c This commit adds the enhancemnt per bug 7606, adding
19 years ago
Kevin P. Fleming 396ef6f9e7 use LDFLAGS and LIBS properly, and allow dependencies to provide LDFLAGS if needed (although none do today)
19 years ago
Russell Bryant bb628eac98 pointer signedness warnings
19 years ago
Kevin P. Fleming 4f826452cf make the build output less noisy (optional, can be controlled by the NOISY_BUILD variable in the top-level Makefile)
19 years ago
Russell Bryant 48ae9f0d4f - convert the 'uninstall' target to use separate targets to process each
19 years ago
Russell Bryant 55e8a60363 - specify that 'depend' is a .PHONY target
19 years ago
Russell Bryant 9db0520ff9 - specify that 'all' is a .PHONY target
19 years ago
Russell Bryant c399a06450 add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
19 years ago
Kevin P. Fleming 241cd6163a minor fix
19 years ago
Russell Bryant 171992e505 don't use ast_copy_string when building for an external tool
19 years ago
Russell Bryant 89672b86d0 don't redefine PATH_MAX
19 years ago
Russell Bryant 0e140be311 convert a few more uses of AST_CONFIG_MAX_PATH to use PATH_MAX
19 years ago
Kevin P. Fleming 274ce731e2 move autoconfig.h to the include/asterisk directory so it will get installed
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Kevin P. Fleming e856010714 use module names, not file names, in menuselect
19 years ago
Joshua Colp 3872b97683 Be gone foul Makefile usage! er I mean use the correct variable... UTILS instead of TARGET. (issue #7239 reported by casper)
19 years ago
Kevin P. Fleming 0661a76fc7 don't force the compiler name
19 years ago
Russell Bryant 3d022d073a fix the build of func_realtime and aelparse with MTX_PROFILE enabled
19 years ago
Russell Bryant 4a8ed5c136 we have to build local copies of aelflex.o, aelbison.o, and pbx_ael.o as well
19 years ago
Russell Bryant c91382a0a0 Merged revisions 28790 via svnmerge from
19 years ago
Tilghman Lesher 9d07a0ffc6 Don't try to build aelparse if pbx_ael is disabled in menuselect (otherwise the build breaks)
19 years ago
Kevin P. Fleming b4b36d6b83 remove incorrect Makefile rule that was causing aelparse to be rebuilt unnecessarily
19 years ago
Kevin P. Fleming a4e7ae1537 don't let make use implicit rules for bison/flex output files
19 years ago
Russell Bryant 7c46ef67ad instead of just building local object files for ast_expr2.o and ast_expr2f.o,
19 years ago
Russell Bryant 34e0ae0e6a The build of aelparse was still broken in some cases, so instead of having to
19 years ago
Luigi Rizzo e635b463fc add missing functions - see the comment in the file explaining
19 years ago
Russell Bryant d2e78c7b35 make sure non-inlined versions of ast_copy_string and _ast_calloc are available
19 years ago
Kevin P. Fleming 7343d311f1 simplify CFLAGS handling for subdirectories
19 years ago
Kevin P. Fleming 3878a2a9fb and now with the correct filenames
19 years ago
Kevin P. Fleming 24f241bc72 add the other two files that should have been on this target... oops
19 years ago
Kevin P. Fleming 54d6194340 fix up dependencies for aelparse so that bison/flex will not be run to rebuild source files (that should _only_ be done manually)
19 years ago
Luigi Rizzo d19f767c3c uncomment some functions in the flex code that were actually
19 years ago
Kevin P. Fleming 5f58cc8770 Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer considered experimental :-)
19 years ago
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
19 years ago
Luigi Rizzo 2876a25505 add 'show threads' and 'show profile' commands.
19 years ago
Olle Johansson 13bcb6ed7d Update to code documentation and developer guidelines.
19 years ago
Kevin P. Fleming e6fb895741 remove file for testing
19 years ago
Kevin P. Fleming e9a9823e94 test pre-commit script
19 years ago
Kevin P. Fleming e7c198453d ensure that dependencies are rebuilt after 'make update' so that builds don't break when files are removed/renamed
19 years ago
Matt O'Gorman 7d03c33e0a Allows for user to uninstall asterisk binaries
20 years ago
Russell Bryant 3d93e85ade don't leak almost 200 bytes for each new channel and store the active
20 years ago
Russell Bryant 4a7cec937d remove redundant CFLAGS for BSD which are already set in the main Makefile (issue #6250)
20 years ago
Russell Bryant fcbe928353 Merged revisions 7404,7406,7425,7427,7429-7430 via svnmerge from
20 years ago
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
20 years ago
Kevin P. Fleming c14588af86 remove remaining .cvsignore files
20 years ago
Kevin P. Fleming 7ffb604a2f issue #4678
20 years ago
Mark Spencer 06320f5790 Fix build of CVS head on Solaris (bug #5527)
20 years ago
Kevin P. Fleming 59584f5744 fix compiler warnings
20 years ago
Russell Bryant 463ad17f5d fix build on older versions of mac osx, thanks twisted!
20 years ago
Russell Bryant 858e90fe57 make ouput a little bit more informative
20 years ago
Kevin P. Fleming b8f23573fa more license/copyright header updates (thanks Ian!)
20 years ago
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
20 years ago
Russell Bryant 99b3d9206d delete streamplayer with 'make clean'
20 years ago
Kevin P. Fleming 72437b1dba more BSD portability fixes (issue #5155)
20 years ago
Kevin P. Fleming 4c2377ddd9 first set of Cygwin portability stuff (issue #4678)
20 years ago
Kevin P. Fleming 9519f6c5f4 clean up, use make functions instead of subshells, remove unused stuff
20 years ago
Kevin P. Fleming 0f03a734b1 don't make expression evaluator allocate a memory buffer for each result
20 years ago
Russell Bryant a07997b961 fix build for OpenBSD (bug #5019)
20 years ago
Kevin P. Fleming f52192183c fix build on FreeBSD (issue #5003)
20 years ago
Kevin P. Fleming 26ed14a7e4 add file to ignore list
20 years ago
Kevin P. Fleming ff971379f4 support new format for musiconhold.conf (issue #4908)
20 years ago
Kevin P. Fleming 6bf31cae9e add man pages (bug #4515)
20 years ago
Kevin P. Fleming e3ddd96fec enhance check_expr to check for parsing errors in dialplans (bug #4556)
20 years ago
Kevin P. Fleming 0e9d920a60 move tools used during build into build_tools subdirectory
20 years ago
Kevin P. Fleming 4ec448cc76 add check_expr to 'make clean' and CVS ignore list
20 years ago
Kevin P. Fleming d64c3d63fd add tool to check extensions.conf files for problems with new expression parser (bug #4491)
20 years ago
Kevin P. Fleming 59a0f860bd fix astman build
20 years ago
Russell Bryant 8791d21995 hopefully the last commit to make things happy
20 years ago
Russell Bryant 89de7daba9 fix usage of const char (bug #4388)
20 years ago
Russell Bryant 5a1d81ac57 get rid of some compilation warnings
20 years ago
Kevin P. Fleming 0f6315b6b2 fix build with older popt.h (bug #4225)
20 years ago
Matthew Fredrickson e70d3db697 Fix 'make clean' bug in for app (Bug 4230)
20 years ago
Mark Spencer 6f76e2b705 Fix to makefile (bug #4215)
20 years ago
Kevin P. Fleming 1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
20 years ago
Kevin P. Fleming 7438526620 fix various compiler warnings (bug #3938)
20 years ago
Mark Spencer a0a2592025 Fix cross compiling (bug #3868)
20 years ago
Mark Spencer f9cfe60312 Add support for Solaris/x86 (bug #3064)
20 years ago
Russell Bryant 0c30452423 update copyright headers for 2005
21 years ago
Mark Spencer 4bd99a2bd2 Fix typo for bug #3142
21 years ago
Mark Spencer 2184f91230 Add stereoize (bug #3142), faster than soxmix
21 years ago
Mark Spencer 8eab29c445 Fix small issue with smsq and sub addresses (bug #3338)
21 years ago
Mark Spencer d6471bec31 Merge Olle's comment patch (bug #3097)
21 years ago
Mark Spencer 05e5da6083 Fix silly error in makefile (bug #3081)
21 years ago
Mark Spencer e58083c1f9 DISA fix, makefile fix (bug #3049)
21 years ago
Mark Spencer 76de8d70a8 Fix it so TARGET always has at least one thing in it (bug #3049)
21 years ago
Mark Spencer 7a5dfd65ba Fix minor makefile issues (bug #3036)
21 years ago
Mark Spencer 8c68897d1e smsq issues (bug #3025)
21 years ago
Mark Spencer 30bc3eec6e Merge sms stuff and move to "utils" subdir (bug #2973)
21 years ago
Mark Spencer 0fc1ef8c9d Fix astman build on FreeBSD (bug #2119)
21 years ago
Mark Spencer 044ad2e2e7 Merge remaining audit patch (save dlfcn.c)
21 years ago
Mark Spencer 9740f51d00 Update default astman types for newer newt (bug #1578)
21 years ago
Mark Spencer d3f9887589 gethostbyname isn't reentrant, who knew...
21 years ago
James Golovich 2655e5c7b9 Make astman ignore 'StatusComplete' events.
22 years ago
Mark Spencer e0544c3eb5 Various warning cleanups
22 years ago
Mark Spencer b0500e1945 Code cleanups (bug #66)
22 years ago
Matteo Brancaleoni 7640e83360 Sun Mar 16 07:00:01 CET 2003
22 years ago
Matteo Brancaleoni 0ce1ae2a36 lun mar 10 21:39:02 CET 2003
22 years ago
Mark Spencer 8104433a4c Version 0.3.0 from FTP
23 years ago
Mark Spencer 0ee3f68ba2 Version 0.2.0 from FTP
23 years ago