aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
AgeCommit message (Collapse)AuthorFilesLines
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
2006-02-23Move CURL function from apps/ to funcs/tilghman1-0/+193
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10932 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23Some sick individuals use SQL queries longer than 512 bytes in the dialplan. ↵tilghman1-4/+4
;-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23add 'consumed' argument to ast_get_time_t, so callers can know how many ↵kpfleming1-1/+1
characters were used in the parser update pbx_dundi to use ast_get_time_t eliminate some compiler warnings git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10871 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-22revert change to ENUM functionality (go back to supplying a default zone)kpfleming1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10823 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-22merge rizzo's patch to make compiler warnings stop the build, and fix a ↵kpfleming1-1/+1
bunch of warnings found git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10805 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-21set keywords property correctlykpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-16suppress compiler warningrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10286 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15remove the uses of the deprecated STANDARD_LOCAL_USERrussell3-6/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10241 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15add KEYPADHASH dialplan function (issue #6441)kpfleming1-0/+45
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10113 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15handle longer ENUM lookup results (issue #6476)kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10112 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15add API function for parsing strings to time_t (issue #6320, with mods)kpfleming1-8/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10105 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14don't force a default zone for ENUM() lookups, use the configuration file ↵kpfleming1-3/+0
(issue #6036, with update to UPGRADE.txt) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10047 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14Fix build issues...markster1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-13remove LOCAL_USER_ACF_ADD since it is now the same as LOCAL_USER_ADDrussell3-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9800 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12use the zone and options set by the arg parsing macrosrussell1-4/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9719 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12ensure that dependencies are rebuilt after 'make update' so that builds ↵kpfleming1-2/+5
don't break when files are removed/renamed git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9691 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12major dialplan functions updatekpfleming20-849/+934
deprecate LANGUAGE() and MUSICCLASS(), in favor of CHANNEL() git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9674 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11use auto-build for apps, simplify variable settingkpfleming1-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9564 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11use auto-build for res modules tookpfleming1-4/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11prepare to use auto-build rules in other Makefileskpfleming1-7/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9551 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11set standard properties on all non-binary fileskpfleming2-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9549 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11Fix compile time warningstilghman2-2/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9548 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11remove last vestiges of pbx_functionskpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9471 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11build function modules independently (no more pbx_functions.so)kpfleming21-527/+764
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9469 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-03Bug 6322 - Implementation of SHA1 in Asterisk (plus dialplan function to use it)tilghman2-1/+70
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9138 f38db490-d61c-443f-a65b-d21fe96a405b