aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
AgeCommit message (Collapse)AuthorFilesLines
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
2006-05-18Add SPRINTF dialplan function made by the ever insaneful Corydon (issue ↵file1-0/+145
#7078 reported by Corydon76) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28016 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-16Argument macro janitor for func_odbc, fixes #7171tilghman1-47/+39
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27522 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-16fix bogus patch to allow setting the CDR amaflags. (The original patch inrussell1-1/+1
issue #7166 was fine.) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27269 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-15allow func_cdr to set amaflags patch provided bymogorman1-0/+2
bug 7166 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27231 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11Merged revisions 27051 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r27051 | tilghman | 2006-05-11 18:02:57 -0500 (Thu, 11 May 2006) | 2 lines Bug 7086 - pbx_checkcondition substitution, so that arbitrary strings are true (for regex) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10use the channel lock wrappers (issue #7120, Mithraen)russell1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26528 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10remove almost all of the checks of the result from ast_strdupa() or alloca().russell1-6/+2
As it turns out, all of these checks were useless, because alloca will never return NULL. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26451 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-06 Fix output delimiters and add prefix parameter to func_odbc #7025 (Corydon76)bweschke1-163/+132
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25234 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 Provide the ability to adjust txgain/rxgain on a channel level via the ↵bweschke1-1/+11
CHANNEL() function git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24621 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03suppress a compiler warningrussell1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24534 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03remove variable declarations in the middle of two blocks.rizzo1-31/+20
While at it, normalize the surrounding code. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24495 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02Introducing the REALTIME() dialplan functionbweschke1-0/+186
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24376 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have ↵kpfleming3-25/+28
autoconf and menuselect tools for Asterisk! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21more NULL "" equivalence in CLI fields.rizzo1-4/+5
Mark a place where we don't clear a buffer while we probably should. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21820 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-18update res_odbc to support pooled connectionsrussell1-9/+9
(from tilghman's developer branch, res_odbc_rewrite) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21181 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14remove some unnecessary bracesrizzo1-26/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20170 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14Compatibility fixes for loader changestilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20075 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14This rather large commit changes the way modules are loaded. rizzo21-198/+126
As partly documented in loader.c and include/asterisk/module.h, modules are now expected to return all of their methods and flags into a structure 'mod_data', and are normally loaded with RTLD_NOW | RTLD_LOCAL, so symbols are resolved immediately and conflicts should be less likely. Only in a small number of cases (res_*, typically) modules are loaded RTLD_GLOBAL, so they can export symbols. The core of the change is only the two files loader.c and include/asterisk/module.h, all the rest is simply adaptation of the existing modules to the new API, a rather mechanical (but believe me, time and finger-consuming!) process whose detail you can figure out by svn diff'ing any single module. Expect some minor compilation issue after this change, please report it on mantis http://bugs.digium.com/view.php?id=6968 so we collect all the feedback in one place. I am just sorry that this change missed SVN version number 20000! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11Bugs 6883, 6930: compiler warningstilghman1-8/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19095 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08since the module API is changing, it's a good time to const-ify the ↵kpfleming21-42/+42
description() and key() return values git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25Bug 6670 - Additional parameters to the CHANNEL functilghman1-1/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14870 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-24Do the (expensive) LOCAL_USER_ADD only after we are surerizzo1-2/+2
that arguments are valid. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14785 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-21Bug 6699 - Fix for ENUMLOOKUPtilghman1-9/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13710 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-12README files have changed names, better change references too :-)oej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12572 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-01Sun's shell: just different enough to cause problemstilghman1-0/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11505 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-01Bug 6619 - Fix Solaris issue with doubled [[tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11478 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23Move conditional compilation for CURL from apps/ to funcs/tilghman1-0/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10961 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23correct documentation typokpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10960 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23minor fixes to commit 10934 from bug#6257 mogorman1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10959 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23Bug 6417 - Allow retrieval of raw CDR valuestilghman1-4/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10953 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23added function QUOTE into strings, which allowsmogorman1-0/+32
for quoted strings, and escapes them properly. slightly modified patch from bug #6257 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10934 f38db490-d61c-443f-a65b-d21fe96a405b