aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
AgeCommit message (Collapse)AuthorFilesLines
2006-12-11STRFTIME() does not actually require an argument (issue 8540)tilghman1-6/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48382 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-26might as well also document the raw values of the flag varsmurf1-2/+11
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48017 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-26A little bit of func_cdr documentation upgrade-- no bug# involved, although ↵murf1-0/+12
8221 may have inspired it. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48015 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-14Small documentation clarification for URIENCODE. (issue #8294 reported by ↵file1-2/+2
salaud) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47625 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31Issue #8089 - Fix the ENUM support (picking one record by number). Thanks otmar!oej1-2/+6
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46631 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-14update the doc string for both AEL and extensions.conf users.murf1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45143 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-10CHANNEL() function sometime mix parameter and valuepcadach1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44809 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-10Lost of a bit of logic when this was simplified between 1.2 and 1.4 (Bug 8117)tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44808 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)file1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@43933 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20Constify the result of a config retrieval function, to avoid mutilation ↵tilghman1-1/+1
(issue 7983). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43364 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20move ODBC API into ast_ namespacekpfleming1-10/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43311 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19Various updates from PCadach's chan_h323-live branchmattf1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43294 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-08As per discussion on bug 7862, the problem wasn't the fact that the ↵murf1-4/+6
documentation differed from behavior, but rather that users are used to REGEX having that space after the double quote in 1.2.x. So, in keeping with history, I investigated a little deeper, and discovered that the change in behavior was due to the modification of the function to use the AST_DECLARE_APP_ARGS and AST_NONSTANDARD_APP_ARGS() to parse the args. The code to skip the blank was left out. So, what I did was add code to throw out the first blank (space or tab) after the double quote, IF IT IS THERE. If not, nothing is done.Verbage is added to the function description saying that the space is optional, and skipped if it is there. If a space is desired, then the documentation advises putting two spaces there. This should make it compatible for 1.2 users, and not mess up new users who are used to using it with no space. It WILL mess up new users who WANT a space. Hopefully, they will double check the doc strings for this func and add the extra space. Hopefully, this class of new user is very small. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42423 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07With respect to bug 7862, the syntax and description are misleading to ↵murf1-2/+6
users. the syntax included a space after the double quotes between the regex and the data to match. I removed this from the function doc, and added some verbage to make this crystal clear, I hope. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42224 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-05Missing field terminatortilghman1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42034 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-03 Some changes/fixes for func_curl. curl_global_init is only supposed to be ↵bweschke1-2/+13
called once, and if it returns non-zero, we need to give up on further executions with that instance. Additionally, let's set absolute timeout values for the CURL connections to try and prevent possible Zap (and possibly other channel tech) channel lockouts. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41900 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31everything that loads a config that needs a config file to runmogorman1-1/+1
now reports AST_MODULE_LOAD_DECLINE when loading if config file is not there, also fixed an error in res_config_pgsql where it had a non static function when it should. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41633 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31oops.russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41545 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31The behavior of REGEX when it did not match was not defined by the docs, sorussell1-6/+6
define it to provide a result of "0" and change the code appropriately. (issue #7805) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41544 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-26GNU make already knows how to quietly ignore non-existent files in 'include' ↵kpfleming1-4/+1
directives git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41209 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming24-396/+125
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20Convert func_odbc to use the prepare_and_execute callback, which helps with ↵tilghman1-91/+38
a database reconnection issue (bug 7693) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40632 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17Add 'l' option to CDR dialplan function which will cause it to pass the last ↵file1-2/+9
CDR record to getvar instead of the first. (issue #7689 reported by voipgate) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40226 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15Move curl version test to autoconf scripttilghman1-11/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37678 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15more Makefile cleanup and consistency stuffkpfleming1-1/+4
don't reuse LIBS variable from top-level Makefile (oops) build Asterisk binary after subdirs (preparing for embedded modules) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37661 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06move rules file to prepare for generic rules filekpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37222 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06Merged revisions 37143 via svnmerge from tilghman1-7/+6
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r37143 | tilghman | 2006-07-06 08:47:23 -0500 (Thu, 06 Jul 2006) | 2 lines Fix spelling/grammar (issue 7493) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37144 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-03Don't attempt to run a regcomp if we haven't even parsed arguments correctlytilghman1-0/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36777 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01Revert the previous change to FILTER and fix the embedded documentation instead.tilghman1-8/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36543 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01fix the parsing of options in the FILTER function to match the documentation.russell1-1/+1
(issue #7465) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36504 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-25use new (separate) dependencies file from menuselectkpfleming1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24The Eurostar Commit! (it's amazing how much work you can get done on a 150 ↵kpfleming1-44/+2
minute train ride from Paris to London <G>) support the new location for zaptel.h and tonezone.h use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries combine the common rules into a top-level Makefile.rules file remove all (now) unnecessary stuff from subdir Makefiles change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory) alphabetize --with-<foo> options in configure script enhance Net-SNMP support in configure script to provide a --with-netsnmp option fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated add 'optional package' usage to modules now that menuselect can output it allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-23remove various commands that remove old modules since they have been there arussell1-1/+0
sufficient amount of time. Even if they happen to be still present, the main Makefile will spit out a huge warning telling the user that modules not installed by that run of "make install" are present in the modules directory. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35605 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22- convert the 'uninstall' target to use separate targets to process eachrussell1-1/+1
subdirectory instead of a for loop - remove the FORCE target from the main Makefile and add the couple places I used it to the .PHONY target. .PHONY does the same thing and is a built-in more efficient way of doing it. - add a bunch more targets to .PHONY ... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35503 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22- specify that 'depend' is a .PHONY targetrussell1-1/+1
- use separate targets instead of a for loop for doing 'make depend' for each sub directory git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35501 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22- specify that 'all' is a .PHONY targetrussell1-1/+1
- add a copyright header to the build_tools Makefile - remove 'depend' from the 'all' target in agi/ and utils/ since it is handled by the main Makefile already git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35479 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targetsrussell1-0/+2
since they are targets that do not have resulting files and are never listed as prerequisites to real targets. Using .PHONY in this manner improves make performance by never having to check for resulting files. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35415 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-19don't blow up in the sub Makefiles if menuselect.makeopts is not present. Thisrussell1-1/+3
is valid in some cases, such as "make clean". git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34738 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵kpfleming23-87/+90
again :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07remove the need to have to re-run make after a default menuselect.makeoptsrussell1-0/+2
file is generated. This allows a fresh checkout of asterisk to be built and installed with the standard "./configure && make && make install". git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32798 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-05use module names, not file names, in menuselectkpfleming1-3/+5
work around XML parsing bug in menuselect for default sounds package git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32407 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-04Make tonezone writeable in CHANNEL() (from my old func_tonezone.c)oej1-2/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32018 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-29this file contained the body twice, so remove the second instance.rizzo1-99/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30699 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-28Deprecate SetGlobalVar, replacing it with a dialplan functiontilghman1-0/+198
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30677 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-27Should use the named handle, not one hardcodedtilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30653 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-26Lets not commit things that cause Asterisk to break when config files aren't ↵markster1-2/+2
present. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30490 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25- mark some applications deprecated that already have replacementsrussell1-1/+17
- add BLACKLIST and mark LookupBlacklist deprecated - add transfercapability support to CHANNEL and mark SetTransferCapability deprecated (issue #7225, Corydon) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30359 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25add DB_DELETE function for the common case of retrieving and deleting a key inrussell1-0/+49
a single operation (issue #7214, twilson) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30241 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22Escaping commas within fields isn't always desireable.tilghman1-2/+17
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29364 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20fix the build of func_realtime and aelparse with MTX_PROFILE enabledrussell1-1/+1
(issue #7187, #7188, casper) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28895 f38db490-d61c-443f-a65b-d21fe96a405b