Commit Graph

927 Commits (master)

Author SHA1 Message Date
Russell Bryant 42fc890acc The behavior of REGEX when it did not match was not defined by the docs, so
19 years ago
Kevin P. Fleming d12f54f90b GNU make already knows how to quietly ignore non-existent files in 'include' directives
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Tilghman Lesher 6fec811743 Convert func_odbc to use the prepare_and_execute callback, which helps with a database reconnection issue (bug 7693)
19 years ago
Joshua Colp 08b23695b4 Add 'l' option to CDR dialplan function which will cause it to pass the last CDR record to getvar instead of the first. (issue #7689 reported by voipgate)
19 years ago
Tilghman Lesher d99e7d4f8e Move curl version test to autoconf script
19 years ago
Kevin P. Fleming 000ba592b2 more Makefile cleanup and consistency stuff
19 years ago
Kevin P. Fleming 748431f7b6 move rules file to prepare for generic rules file
19 years ago
Tilghman Lesher ebc9c3765b Merged revisions 37143 via svnmerge from
19 years ago
Tilghman Lesher e3482f7f38 Don't attempt to run a regcomp if we haven't even parsed arguments correctly
19 years ago
Tilghman Lesher 2465fd611c Revert the previous change to FILTER and fix the embedded documentation instead.
19 years ago
Russell Bryant df2223416d fix the parsing of options in the FILTER function to match the documentation.
19 years ago
Kevin P. Fleming a579371f43 use new (separate) dependencies file from menuselect
19 years ago
Kevin P. Fleming e61d3d91f3 The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
19 years ago
Russell Bryant 53a56fcfe7 remove various commands that remove old modules since they have been there a
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
Russell Bryant 9f2a6516cf don't blow up in the sub Makefiles if menuselect.makeopts is not present. This
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Russell Bryant 503f99e2e8 remove the need to have to re-run make after a default menuselect.makeopts
19 years ago
Kevin P. Fleming e856010714 use module names, not file names, in menuselect
19 years ago
Olle Johansson 7a60aff3b1 Make tonezone writeable in CHANNEL() (from my old func_tonezone.c)
19 years ago
Luigi Rizzo 7ea0f04a80 this file contained the body twice, so remove the second instance.
19 years ago
Tilghman Lesher 92314f96c5 Deprecate SetGlobalVar, replacing it with a dialplan function
19 years ago
Tilghman Lesher b68fa7a8f2 Should use the named handle, not one hardcoded
19 years ago
Mark Spencer 70defe19fe Lets not commit things that cause Asterisk to break when config files aren't present.
19 years ago
Russell Bryant d2872c914d - mark some applications deprecated that already have replacements
19 years ago
Russell Bryant a96606b329 add DB_DELETE function for the common case of retrieving and deleting a key in
19 years ago
Tilghman Lesher 9e81cc3e0c Escaping commas within fields isn't always desireable.
19 years ago
Russell Bryant 3d022d073a fix the build of func_realtime and aelparse with MTX_PROFILE enabled
19 years ago
Joshua Colp e08dc08ae2 Add SPRINTF dialplan function made by the ever insaneful Corydon (issue #7078 reported by Corydon76)
19 years ago
Tilghman Lesher 912f9f9dc7 Argument macro janitor for func_odbc, fixes #7171
19 years ago
Russell Bryant 8047e8067e fix bogus patch to allow setting the CDR amaflags. (The original patch in
19 years ago
Matt O'Gorman dd0ee63009 allow func_cdr to set amaflags patch provided by
19 years ago
Tilghman Lesher 9fd91e0829 Merged revisions 27051 via svnmerge from
19 years ago
Russell Bryant 932c5c7fd7 use the channel lock wrappers (issue #7120, Mithraen)
19 years ago
Russell Bryant 04ecb29d03 remove almost all of the checks of the result from ast_strdupa() or alloca().
19 years ago
BJ Weschke 3e2079e46c Fix output delimiters and add prefix parameter to func_odbc #7025 (Corydon76)
19 years ago
BJ Weschke a7b1476058 Provide the ability to adjust txgain/rxgain on a channel level via the CHANNEL() function
19 years ago
Russell Bryant a21507a60a suppress a compiler warning
19 years ago
Luigi Rizzo 2d5900391b remove variable declarations in the middle of two blocks.
19 years ago
BJ Weschke a9281a1142 Introducing the REALTIME() dialplan function
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 652ccf5037 more NULL "" equivalence in CLI fields.
19 years ago
Russell Bryant 501ac5189c update res_odbc to support pooled connections
19 years ago
Luigi Rizzo f32e294300 remove some unnecessary braces
19 years ago
Tilghman Lesher b8317169d0 Compatibility fixes for loader changes
19 years ago
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
19 years ago
Tilghman Lesher a55f8848bf Bugs 6883, 6930: compiler warnings
19 years ago
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
19 years ago
Tilghman Lesher 0af770edd1 Bug 6670 - Additional parameters to the CHANNEL func
19 years ago
Luigi Rizzo 82b0400322 Do the (expensive) LOCAL_USER_ADD only after we are sure
19 years ago
Tilghman Lesher 98d91f0464 Bug 6699 - Fix for ENUMLOOKUP
19 years ago
Olle Johansson d61a6c9a1c README files have changed names, better change references too :-)
19 years ago
Tilghman Lesher 8c737ce8b8 Sun's shell: just different enough to cause problems
19 years ago
Tilghman Lesher 4cdf248d82 Bug 6619 - Fix Solaris issue with doubled [[
19 years ago
Tilghman Lesher e912ad9d35 Move conditional compilation for CURL from apps/ to funcs/
19 years ago
Kevin P. Fleming af1331ad56 correct documentation typo
19 years ago
Matt O'Gorman 5f446b24ea minor fixes to commit 10934 from bug#6257
19 years ago
Tilghman Lesher 53936916ec Bug 6417 - Allow retrieval of raw CDR values
19 years ago
Matt O'Gorman a4734960e7 added function QUOTE into strings, which allows
19 years ago
Tilghman Lesher 61d4406b69 Move CURL function from apps/ to funcs/
19 years ago
Tilghman Lesher 516d690aca Some sick individuals use SQL queries longer than 512 bytes in the dialplan. ;-)
19 years ago
Kevin P. Fleming 302c943001 add 'consumed' argument to ast_get_time_t, so callers can know how many characters were used in the parser
19 years ago
Kevin P. Fleming 850397b334 revert change to ENUM functionality (go back to supplying a default zone)
19 years ago
Kevin P. Fleming 6204abdae2 merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found
19 years ago
Kevin P. Fleming bb7325ade8 set keywords property correctly
19 years ago
Russell Bryant 2b357881a7 suppress compiler warning
19 years ago
Russell Bryant a0d438fb6c remove the uses of the deprecated STANDARD_LOCAL_USER
19 years ago
Kevin P. Fleming c5ff2c4f42 add KEYPADHASH dialplan function (issue #6441)
19 years ago
Kevin P. Fleming be6eea0cc1 handle longer ENUM lookup results (issue #6476)
19 years ago
Kevin P. Fleming 4662d58b01 add API function for parsing strings to time_t (issue #6320, with mods)
19 years ago
Kevin P. Fleming c8b087ffcb don't force a default zone for ENUM() lookups, use the configuration file (issue #6036, with update to UPGRADE.txt)
19 years ago
Mark Spencer 59990fc904 Fix build issues...
19 years ago
Russell Bryant 2f2530b8e6 remove LOCAL_USER_ACF_ADD since it is now the same as LOCAL_USER_ADD
19 years ago
Russell Bryant 5869d96050 use the zone and options set by the arg parsing macros
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
Kevin P. Fleming 96bf384e7d major dialplan functions update
19 years ago
Kevin P. Fleming 6aa6819c41 use auto-build for apps, simplify variable setting
19 years ago
Kevin P. Fleming 52c23802d6 use auto-build for res modules too
19 years ago
Kevin P. Fleming 90cca08247 prepare to use auto-build rules in other Makefiles
19 years ago
Kevin P. Fleming e42c6c4f9e set standard properties on all non-binary files
19 years ago
Tilghman Lesher ada97b3723 Fix compile time warnings
19 years ago
Kevin P. Fleming ad7f3e78e4 remove last vestiges of pbx_functions
19 years ago
Kevin P. Fleming a38a7eec61 build function modules independently (no more pbx_functions.so)
19 years ago
Tilghman Lesher 34bcd0e0b6 Bug 6322 - Implementation of SHA1 in Asterisk (plus dialplan function to use it)
20 years ago
Kevin P. Fleming a16ae226b6 use string fields for some stuff in ast_channel
20 years ago
Matt O'Gorman 7d03c33e0a Allows for user to uninstall asterisk binaries
20 years ago
Tilghman Lesher f9811bc198 Bug 6378 - deprecate CHECK_MD5 function
20 years ago
Olle Johansson 293d88108f Reverting change in revision 8539 - fixed wrong problem. Sorry.
20 years ago
Olle Johansson 543cc7e2a4 Issue #6323, FreeBSD compatibility with compilation of func_odbc.c (reported by nulbyte)
20 years ago
Matt O'Gorman 428efda5a9 code clean up and macro implementation from
20 years ago
Tilghman Lesher 7d897634dc Bug 6262 - New function STRPTIME
20 years ago
Russell Bryant 4414f45393 on this pass, only remove duplicate log messages
20 years ago
Russell Bryant 9fa6eb5e07 revert my pass through the tree to remove checks of the result of ast_strdupa
20 years ago
Russell Bryant 2499926195 remove useless checks of the result of ast_strdupa
20 years ago
Tilghman Lesher 109b5baa8d Argh, another ERROR that should have been DEBUG
20 years ago
Tilghman Lesher 7f28989616 Change a debugging message committed with the wrong level
20 years ago
Russell Bryant 4a7cec937d remove redundant CFLAGS for BSD which are already set in the main Makefile (issue #6250)
20 years ago
BJ Weschke fa07ae94ec More code optimization with the new argument macros #6253
20 years ago
Tilghman Lesher 2dec3747df Clarify description of ARRAY function
20 years ago
Tilghman Lesher 9702fac4f8 Bug 6238 - Janitor - update to app_args macros
20 years ago
Tilghman Lesher 3578c5b19d Merged revisions 8074 via svnmerge from
20 years ago
Matt O'Gorman f5b108ac99 Added macros from 6198 and 6203. also added better
20 years ago
Matt O'Gorman 00f2142dc1 6186 amd 6187 with minor revisions. added arg
20 years ago
Tilghman Lesher 0d7fda32fd Fix indentation
20 years ago
Matt O'Gorman d25b128b66 committing 5924 with minor white space changes
20 years ago
Tilghman Lesher 935c80d5e6 Bug 5961 - new RAND() function
20 years ago
Russell Bryant 455f75c9b1 remove unnecessary check before ast_strlen_zero (issue #6179)
20 years ago
Russell Bryant 1d603f5256 Merged revisions 7773 via svnmerge from
20 years ago
Russell Bryant a725468381 update doxygen docs to specify authors
20 years ago
Tilghman Lesher 340f5b67de Bug 5906 - ARRAY dialplan function
20 years ago
Tilghman Lesher dd161bec3b Add SQL_ESC to allow single ticks to be escaped
20 years ago
Tilghman Lesher 5323442db4 Bug 5327 - new function FILTER and optional argument to CALLERID
20 years ago
Kevin P. Fleming 2f66f7cfe9 don't try to build func_odbc when ODBC headers/libraries are not present
20 years ago
Tilghman Lesher 28af98ae95 Bug 5055 - Simple SQL commands from the dialplan
20 years ago
Tilghman Lesher 6c3eda3e5f Bug 5440 - Add STAT() dialplan function
20 years ago
Tilghman Lesher eea40f2025 First field was truncated.
20 years ago
Tilghman Lesher cbab537375 Properly move these functions over to the funcs directory (since they no longer contain apps)
20 years ago
Tilghman Lesher 870f98f02d Bug 5858 - Make the chanvars.c functions return a 'const char *'
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
Josh Roberson ab56f3a571 issue #5791
20 years ago
Kevin P. Fleming 1740d40182 issue #5693
20 years ago
Russell Bryant 987b87662c make app_queue 1.2 jump compliant (issue #5580)
20 years ago
Kevin P. Fleming a0a9769616 issue #5648
20 years ago
Kevin P. Fleming 426360e389 major update to arg/option parsing APIs and documentation
20 years ago
Kevin P. Fleming 7ffb604a2f issue #4678
20 years ago
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
20 years ago
Russell Bryant 907fd55883 add missing STANDARD_HANGUP_LOCALUSERS
20 years ago
Russell Bryant b59ab89e1a implement TXTCIDNAME as a dialplan function and mark the application deprecated
20 years ago
Russell Bryant a863d2b280 clean up function to be more consistent with coding guidelines
20 years ago
Kevin P. Fleming 9a85d06a64 initialize variable
20 years ago
Russell Bryant 33377538b0 provide the correct string to evaluate with the given regex, instead of the
20 years ago
Kevin P. Fleming 0bffff1930 correct cygwin detection (issue #5328)
20 years ago
Kevin P. Fleming d612e3bc27 ensure result buffer is initialized (issue #5285)
20 years ago
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
20 years ago
Kevin P. Fleming 0c8f0e8bdb extensive ENUM support update, including ENUMLOOKUP() dialplan function (issue #5201 with mods)
20 years ago
Kevin P. Fleming 9519f6c5f4 clean up, use make functions instead of subshells, remove unused stuff
20 years ago
Kevin P. Fleming 022cf309e4 add dialplan functions for URI encoding/decoding (issue #4857)
20 years ago
Kevin P. Fleming 6aeb93a629 handle whitepace around expression
20 years ago
Josh Roberson 88ea13f07e Fix description text for IF function. (Bug #4966)
20 years ago
Russell Bryant 6e2aa7c62a only check for an existing cdr when about to set an arbitrary cdr variable (bug #4848)
20 years ago
Russell Bryant 654ff10f8e make GROUP set group@categroy instead of category@group
20 years ago
Russell Bryant bbb33e5c41 don't crash if no group is specified (bug #4836)
20 years ago
Russell Bryant cdf79750c0 squash a warning
20 years ago
Russell Bryant 76b6344760 add ability to set or read both callerid name and num in one call to the function
20 years ago
Russell Bryant a9c7f50a09 Allow manager originate to specifiy more than one variable to be set.
20 years ago
Kevin P. Fleming 22b0f5d306 add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)
20 years ago
Russell Bryant 38717a75c6 add a dialplan function to get and set the music on hold class
20 years ago
Kevin P. Fleming 0e9d920a60 move tools used during build into build_tools subdirectory
20 years ago
Kevin P. Fleming 79392ea53b add MATH() dialplan function (bug #4473, with mods)
20 years ago
Kevin P. Fleming 0db4cee117 enable version string for this module, since it's standalone
20 years ago
Kevin P. Fleming 2b8338cb52 more file version tags
20 years ago
Kevin P. Fleming 0e6762dd5f remove experimental module version tags
20 years ago
Kevin P. Fleming 43cf15e339 add support for per-module version numbers
20 years ago
Kevin P. Fleming b364c1b953 clean up logic functions code and help texts
20 years ago
Kevin P. Fleming 102c76a9c8 make IF dialplan function handle quoted strings properly (bug #4322, with API mods)
20 years ago
Mark Spencer f3cbf61cbf Add SET function (bug #4335)
20 years ago
Kevin P. Fleming 9ebf63696a minor doc fixes
20 years ago
Mark Spencer 9c83ec2f25 Cache result from database function reads (conf call)
20 years ago
Russell Bryant 85d809903b add DB_EXISTS function to be able to check if a key exists in the database
20 years ago
Russell Bryant 376bc46af5 prevent copying of NULL (bug #4307)
20 years ago
Kevin P. Fleming 2638192439 add EVAL function, deprecate Eval application (bug #4277)
20 years ago
Kevin P. Fleming fa60672d58 add dialplan functions for Caller ID, language and timeouts (bug #4219, with mods)
20 years ago
Mark Spencer 49a7a4809a Removed unnecessary strip (bug #4181)
20 years ago
Mark Spencer b33a3aa3e2 Update groupcount / db documentation (bug #4200, etc)
20 years ago
Mark Spencer 0e57cede55 Convert app_db to function variables (bug #4201)
20 years ago
Russell Bryant cccca96058 add my name for the functions I wrote
20 years ago
Mark Spencer cd6ad266b5 Build as a single executable, work around Makefile issue
20 years ago
Kevin P. Fleming 7cd4ac0ee1 clean up file headers
20 years ago
Kevin P. Fleming 6ec28c9f98 correct build on platforms that require PIC objects (bug #4179)
20 years ago
Kevin P. Fleming 59bc293d15 ensure generated files are ignored by CVS
20 years ago
Kevin P. Fleming f01e832eef add STRFTIME dialplan function (bug #4098, modified to use new funcs subdirectory)
20 years ago
Kevin P. Fleming 4d2537ae11 major re-work of dialplan functions, including:
20 years ago