dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

337 Commits

Author SHA1 Message Date
tilghman d634012c4e Remove deprecated apps and funcs
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43439 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 19:35:29 +00:00
tilghman e8ef9fd3ba Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43364 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 20:40:39 +00:00
kpfleming 99788749f1 move ODBC API into ast_ namespace
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43311 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 04:57:20 +00:00
mattf b759835a90 Various updates from PCadach's chan_h323-live branch
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43294 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 21:07:49 +00:00
murf 411f01b40e As per discussion on bug 7862, the problem wasn't the fact that the 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-08 16:44:38 +00:00
murf b644e296ba With respect to bug 7862, the syntax and description are misleading to 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-07 04:23:00 +00:00
tilghman cfbbdd26d5 Missing field terminator
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42034 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-05 17:23:50 +00:00
bweschke c1f28d707c Some changes/fixes for func_curl. curl_global_init is only supposed to be 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-09-03 19:07:58 +00:00
mogorman 73925ee14a everything that loads a config that needs a config file to run
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-31 21:00:20 +00:00
russell 71708ac949 oops.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41545 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 04:19:54 +00:00
russell 7ab2e8a729 The behavior of REGEX when it did not match was not defined by the docs, so
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-31 04:07:35 +00:00
kpfleming 0ba6df7e01 GNU make already knows how to quietly ignore non-existent files in 'include' directives
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41209 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-26 23:58:47 +00:00
kpfleming 8b0c007ad9 merge new_loader_completion branch, including (at least):
- 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-21 02:11:39 +00:00
tilghman 69a1a8ff24 Convert func_odbc to use the prepare_and_execute callback, which helps with a database reconnection issue (bug 7693)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40632 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20 15:46:00 +00:00
file 3ce8f8c39b 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)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40226 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17 16:29:44 +00:00
tilghman e63bd04ff0 Move curl version test to autoconf script
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37678 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15 21:39:26 +00:00
kpfleming 51482ed964 more Makefile cleanup and consistency stuff
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-15 19:59:35 +00:00
kpfleming 84cc5e8bd0 move rules file to prepare for generic rules file
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37222 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06 21:04:28 +00:00
tilghman c3f025f5e6 Merged revisions 37143 via svnmerge from
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-06 13:50:54 +00:00
tilghman 668c080264 Don't attempt to run a regcomp if we haven't even parsed arguments correctly
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36777 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-03 06:32:35 +00:00
tilghman 14ce4301aa Revert the previous change to FILTER and fix the embedded documentation instead.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36543 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01 16:03:51 +00:00
russell 7940aa5a61 fix the parsing of options in the FILTER function to match the documentation.
(issue #7465)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36504 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-01 14:42:42 +00:00
kpfleming 673e53a328 use new (separate) dependencies file from menuselect
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-25 08:50:14 +00:00
kpfleming 41af2260b7 The Eurostar Commit! (it's amazing how much work you can get done on a 150 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-24 19:43:31 +00:00
russell c28707b6f1 remove various commands that remove old modules since they have been there a
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-23 01:29:41 +00:00
russell 9b1d7f9fa8 - convert the 'uninstall' target to use separate targets to process each
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 15:38:13 +00:00
russell ddb0e59eb0 - specify that 'depend' is a .PHONY target
- 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 15:08:08 +00:00
russell 0bb78235cb - specify that 'all' is a .PHONY target
- 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-22 14:09:18 +00:00
russell b70a7c6a7c add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
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-22 11:27:03 +00:00
russell 31fff75d63 don't blow up in the sub Makefiles if menuselect.makeopts is not present. This
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-19 00:14:16 +00:00
kpfleming 73c525e6e2 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 18:54:56 +00:00
russell 745248fa58 remove the need to have to re-run make after a default menuselect.makeopts
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-07 16:03:31 +00:00
kpfleming bb0b421ea8 use module names, not file names, in menuselect
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-05 20:46:27 +00:00
oej 3e24132b57 Make tonezone writeable in CHANNEL() (from my old func_tonezone.c)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32018 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-04 11:47:51 +00:00
rizzo 602f285e57 this file contained the body twice, so remove the second instance.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30699 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-29 05:13:13 +00:00
tilghman 42d036b2d1 Deprecate SetGlobalVar, replacing it with a dialplan function
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30677 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-28 15:10:19 +00:00
tilghman e56f74c0de Should use the named handle, not one hardcoded
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30653 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-27 18:19:16 +00:00
markster 25efaf1f71 Lets not commit things that cause Asterisk to break when config files aren't present.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30490 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-26 03:08:15 +00:00
russell 7fb949653f - mark some applications deprecated that already have replacements
- 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-25 19:07:31 +00:00
russell d686e9230b add DB_DELETE function for the common case of retrieving and deleting a key in
a single operation (issue #7214, twilson)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30241 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25 15:40:38 +00:00
tilghman 96ba011628 Escaping commas within fields isn't always desireable.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29364 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 03:40:31 +00:00
russell e9b1b115e3 fix the build of func_realtime and aelparse with MTX_PROFILE enabled
(issue #7187, #7188, casper)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 00:41:36 +00:00
file 03d241f35c Add SPRINTF dialplan function made by the ever insaneful Corydon (issue #7078 reported by Corydon76)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28016 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-18 00:00:32 +00:00
tilghman ca4fd89b4e Argument macro janitor for func_odbc, fixes #7171
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27522 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-16 21:14:01 +00:00
russell 45bce86540 fix bogus patch to allow setting the CDR amaflags. (The original patch in
issue #7166 was fine.)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27269 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-16 03:18:22 +00:00
mogorman 2da5b6f355 allow func_cdr to set amaflags patch provided by
bug 7166


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27231 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-15 19:46:26 +00:00
tilghman 5ba9ee4d04 Merged revisions 27051 via svnmerge from
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-11 23:16:27 +00:00
russell 7554f54ea8 use the channel lock wrappers (issue #7120, Mithraen)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26528 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 15:30:59 +00:00
russell d99b677f35 remove almost all of the checks of the result from ast_strdupa() or alloca().
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-10 13:22:15 +00:00
bweschke 9cefc64cdf Fix output delimiters and add prefix parameter to func_odbc #7025 (Corydon76)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25234 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-06 13:36:29 +00:00
bweschke cf7dd4c53a Provide the ability to adjust txgain/rxgain on a channel level via the CHANNEL() function
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24621 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 22:02:50 +00:00
russell b8de621a5e suppress a compiler warning
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24534 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 19:10:41 +00:00
rizzo 940cef14e9 remove variable declarations in the middle of two blocks.
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-03 18:22:04 +00:00
bweschke e93a85edf0 Introducing the REALTIME() dialplan function
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24376 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 22:46:12 +00:00
kpfleming 29f496ef12 Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:11:45 +00:00
rizzo 56b186cc11 more NULL "" equivalence in CLI fields.
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-21 10:51:31 +00:00
russell 184bfd1c04 update res_odbc to support pooled connections
(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-18 18:16:32 +00:00
rizzo a849373bc0 remove some unnecessary braces
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20170 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 22:55:58 +00:00
tilghman 0d933f8a05 Compatibility fixes for loader changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20075 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 18:44:24 +00:00
rizzo 3664249356 This rather large commit changes the way modules are loaded.
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-14 14:08:19 +00:00
tilghman 52a359c8dd Bugs 6883, 6930: compiler warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19095 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 05:37:05 +00:00
kpfleming e4880150b1 since the module API is changing, it's a good time to const-ify the description() and key() return values
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 22:01:19 +00:00
tilghman a52b96290e Bug 6670 - Additional parameters to the CHANNEL func
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14870 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25 05:24:52 +00:00
rizzo f700d93bf8 Do the (expensive) LOCAL_USER_ADD only after we are sure
that arguments are valid.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14785 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-24 18:33:48 +00:00
tilghman 8cbd10e054 Bug 6699 - Fix for ENUMLOOKUP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13710 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-21 05:54:04 +00:00
oej 566af08e49 README files have changed names, better change references too :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12572 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-12 17:27:57 +00:00
tilghman e7f4d1bd28 Sun's shell: just different enough to cause problems
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11505 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-01 17:57:43 +00:00
tilghman c3f0ff1ef4 Bug 6619 - Fix Solaris issue with doubled [[
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11478 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-01 06:15:35 +00:00
tilghman 4f1ce1ea49 Move conditional compilation for CURL from apps/ to funcs/
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10961 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 23:43:06 +00:00
kpfleming 00eb2ed1c1 correct documentation typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10960 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 23:38:05 +00:00
mogorman 15e5f0999a minor fixes to commit 10934 from bug#6257
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10959 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 23:36:53 +00:00
tilghman d14ce4c739 Bug 6417 - Allow retrieval of raw CDR values
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10953 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 23:12:41 +00:00
mogorman eaf5d33648 added function QUOTE into strings, which allows
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-23 22:59:16 +00:00
tilghman ec65ad3b78 Move CURL function from apps/ to funcs/
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10932 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 22:27:49 +00:00
tilghman 3ffc3c23aa Some sick individuals use SQL queries longer than 512 bytes in the dialplan. ;-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 19:26:22 +00:00
kpfleming 9c4950dff3 add 'consumed' argument to ast_get_time_t, so callers can know how many 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-23 17:13:57 +00:00
kpfleming 12c605e61b revert change to ENUM functionality (go back to supplying a default zone)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10823 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-22 23:07:34 +00:00
kpfleming 298fa6c9e1 merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10805 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-22 22:53:49 +00:00
kpfleming d94c9147f9 set keywords property correctly
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-21 17:15:17 +00:00
russell 5134a87422 suppress compiler warning
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10286 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-16 17:21:56 +00:00
russell c72e5e1b38 remove the uses of the deprecated STANDARD_LOCAL_USER
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10241 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15 20:11:56 +00:00
kpfleming c97e52dc7e add KEYPADHASH dialplan function (issue #6441)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10113 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15 00:59:01 +00:00
kpfleming 728842d73f handle longer ENUM lookup results (issue #6476)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10112 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15 00:51:21 +00:00
kpfleming 15db46a445 add API function for parsing strings to time_t (issue #6320, with mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10105 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15 00:24:24 +00:00
kpfleming 0be5cc8fb2 don't force a default zone for ENUM() lookups, use the configuration file (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-14 21:57:26 +00:00
markster 6dacce7f24 Fix build issues...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14 19:08:12 +00:00
russell 4c6776c6d7 remove LOCAL_USER_ACF_ADD since it is now the same as LOCAL_USER_ADD
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9800 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-13 20:12:50 +00:00
russell dcdfdeb537 use the zone and options set by the arg parsing macros
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9719 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12 19:26:15 +00:00
kpfleming e217105bfc ensure that dependencies are rebuilt after 'make update' so that builds 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-12 16:52:42 +00:00
kpfleming 5d9ed5739a major dialplan functions update
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-12 04:28:58 +00:00
kpfleming 32337b7e7f use auto-build for apps, simplify variable setting
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9564 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 17:12:05 +00:00
kpfleming dda3cfe4a0 use auto-build for res modules too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 16:44:15 +00:00
kpfleming 7af82de9e9 prepare to use auto-build rules in other Makefiles
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9551 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 16:30:23 +00:00
kpfleming c5e42c6158 set standard properties on all non-binary files
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9549 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 16:15:11 +00:00
tilghman bde9850ff5 Fix compile time warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9548 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 16:13:03 +00:00
kpfleming 801e0575cd remove last vestiges of pbx_functions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9471 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 03:21:09 +00:00
kpfleming 5f90b9bebd build function modules independently (no more pbx_functions.so)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9469 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11 03:14:05 +00:00
tilghman d36e97804d Bug 6322 - Implementation of SHA1 in Asterisk (plus dialplan function to use it)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9138 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-03 22:37:29 +00:00
kpfleming 21d21f89c0 use string fields for some stuff in ast_channel
const-ify some more APIs
remove 'type' field from ast_channel, in favor of the one in the channel's tech structure
allow string field module users to specify the 'chunk size' for pool allocations
update chan_alsa to be compatible with recent const-ification patches


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01 23:05:28 +00:00
mogorman 4ef13bdcda Allows for user to uninstall asterisk binaries
bug 6177


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01 18:39:41 +00:00
tilghman f0b67955ad Bug 6378 - deprecate CHECK_MD5 function
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8883 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-30 06:07:05 +00:00
oej 353cec56ea Reverting change in revision 8539 - fixed wrong problem. Sorry.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8548 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24 17:47:41 +00:00
oej e5f9da6e43 Issue #6323, FreeBSD compatibility with compilation of func_odbc.c (reported by nulbyte)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8539 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24 13:53:45 +00:00
mogorman 4df94f3769 code clean up and macro implementation from
bug 6247


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8505 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-23 18:07:12 +00:00
tilghman 7272fcf49e Bug 6262 - New function STRPTIME
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8428 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-22 08:09:02 +00:00
russell 252fb982f4 on this pass, only remove duplicate log messages
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8403 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 20:57:06 +00:00
russell b14bdc5a12 revert my pass through the tree to remove checks of the result of ast_strdupa
(revisions 8378 through 8381)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8387 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 17:50:04 +00:00
russell 41cb10c756 remove useless checks of the result of ast_strdupa
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8380 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 08:23:57 +00:00
tilghman 03a07603de Argh, another ERROR that should have been DEBUG
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8104 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-16 18:41:18 +00:00
tilghman d4489b1d3e Change a debugging message committed with the wrong level
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8103 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-16 18:39:01 +00:00
russell a1447ba856 remove redundant CFLAGS for BSD which are already set in the main Makefile (issue #6250)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8101 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-16 17:51:35 +00:00
bweschke 4bd6f65902 More code optimization with the new argument macros #6253
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8099 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-16 17:31:30 +00:00
tilghman 01ec86ea48 Clarify description of ARRAY function
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8080 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-15 18:08:04 +00:00
tilghman 103a3594e7 Bug 6238 - Janitor - update to app_args macros
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8076 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-14 19:30:37 +00:00
tilghman 4a7d7c7ba6 Merged revisions 8074 via svnmerge from
/branches/1.2


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8075 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-14 19:08:03 +00:00
mogorman f5498b059f Added macros from 6198 and 6203. also added better
error reporting in func_cut


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7989 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11 19:52:29 +00:00
mogorman dea4f0a665 6186 amd 6187 with minor revisions. added arg
parsing from macro.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7945 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-10 16:08:28 +00:00
tilghman 9b9ed4da74 Fix indentation
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7929 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-10 03:23:38 +00:00
mogorman fab9f25c13 committing 5924 with minor white space changes
and adding it to the Makefile for functions.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7921 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-10 01:52:34 +00:00
tilghman 603f6f0ce3 Bug 5961 - new RAND() function
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7920 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-10 00:55:45 +00:00
russell ad9e5112e2 remove unnecessary check before ast_strlen_zero (issue #6179)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7901 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-09 18:29:03 +00:00
russell 27f789a679 Merged revisions 7773 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7773 | russell | 2006-01-04 02:06:50 -0500 (Wed, 04 Jan 2006) | 2 lines

use a more correct way of determining the size of the destination buffer

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7774 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-04 07:08:08 +00:00
russell ab6566173e update doxygen docs to specify authors
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30 21:18:06 +00:00
tilghman 1cff911871 Bug 5906 - ARRAY dialplan function
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7648 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-27 06:50:25 +00:00
tilghman c12493b765 Add SQL_ESC to allow single ticks to be escaped
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7642 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-27 02:02:23 +00:00
tilghman e19e560da2 Bug 5327 - new function FILTER and optional argument to CALLERID
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7614 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-23 21:03:25 +00:00
kpfleming a30c7a43dc don't try to build func_odbc when ODBC headers/libraries are not present
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7589 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-22 03:49:41 +00:00
tilghman 4ca4b36d90 Bug 5055 - Simple SQL commands from the dialplan
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7576 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-21 18:43:10 +00:00
tilghman 6aacd0c128 Bug 5440 - Add STAT() dialplan function
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7575 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-21 17:09:54 +00:00
tilghman f69d0e646b First field was truncated.
(Don't kill me; this attempted merge didn't work because the paths changed.)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7498 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-16 00:55:39 +00:00
tilghman f23c1fcb31 Properly move these functions over to the funcs directory (since they no longer contain apps)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7496 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-15 19:05:41 +00:00
tilghman 3365b1cc9f Bug 5858 - Make the chanvars.c functions return a 'const char *'
This should prevent us from unintentionally changing variable
values when they're returned from pbx_builtin_getvar_helper.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7304 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-03 19:25:33 +00:00
kpfleming 24c1e3c222 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
kpfleming 6c54a7cf87 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7220 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:09:49 +00:00
twisted a569ddb582 issue #5791
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7135 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-20 04:48:24 +00:00
kpfleming 615fc64a77 issue #5693
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7058 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-10 23:42:45 +00:00
russell 465d1d7712 make app_queue 1.2 jump compliant (issue #5580)
add missing includes of stdio.h
remove some unused and duplicate headers


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7026 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 04:48:00 +00:00
kpfleming df706a8900 issue #5648
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7011 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 01:55:31 +00:00
kpfleming ae35e4e069 major update to arg/option parsing APIs and documentation
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6953 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-03 21:19:11 +00:00
kpfleming 4d4023555b issue #4678
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6936 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01 21:53:30 +00:00
russell 2c3b3edc86 Doxygen documentation update from oej (issue #5505)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24 20:12:06 +00:00
russell 01ddee76b0 add missing STANDARD_HANGUP_LOCALUSERS
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6827 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-18 21:06:48 +00:00
russell 81205f2fd3 implement TXTCIDNAME as a dialplan function and mark the application deprecated
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6813 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-18 03:02:06 +00:00
russell a3a280b42b clean up function to be more consistent with coding guidelines
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6808 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-17 17:54:32 +00:00
kpfleming 73fbc1fc89 initialize variable
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6786 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-14 00:45:38 +00:00
russell 498f9c4b94 provide the correct string to evaluate with the given regex, instead of the
entire string provided as input to the REGEX function..  Also, use the
provided buffer to store the result.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6744 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-12 01:09:04 +00:00
kpfleming a4c24a32cf correct cygwin detection (issue #5328)
handle parallel make better (issue #5328)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6725 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-05 00:17:57 +00:00
kpfleming 22c8583cbf ensure result buffer is initialized (issue #5285)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6652 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-25 20:47:00 +00:00
kpfleming 95fe2b8fd4 update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 20:46:50 +00:00
kpfleming fa8ea94c17 extensive ENUM support update, including ENUMLOOKUP() dialplan function (issue #5201 with mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6579 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 01:36:15 +00:00
kpfleming 475a3fdb24 clean up, use make functions instead of subshells, remove unused stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6449 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-30 02:54:02 +00:00
kpfleming 20d98bd2c7 add dialplan functions for URI encoding/decoding (issue #4857)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6442 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-29 22:54:54 +00:00
kpfleming 29b2d390fa handle whitepace around expression
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6390 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-23 22:03:24 +00:00
twisted 5999f98b1b Fix description text for IF function. (Bug #4966)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6336 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-15 17:06:30 +00:00
russell a5a093ff6f only check for an existing cdr when about to set an arbitrary cdr variable (bug #4848)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6277 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-03 21:34:48 +00:00
russell 58b2bb1ecc make GROUP set group@categroy instead of category@group
ensure that GROUP_COUNT still returns "0", even if no group was found


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6245 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-28 21:16:02 +00:00
russell cab50baaaf don't crash if no group is specified (bug #4836)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6237 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-27 22:43:18 +00:00
russell cb335c54bd squash a warning
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6196 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25 18:34:40 +00:00
russell c8309d217d add ability to set or read both callerid name and num in one call to the function
This one is for you, Mark :-p


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6188 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25 17:26:59 +00:00
russell 1952459258 Allow manager originate to specifiy more than one variable to be set.
Allow manager originate and spool files to set writable dialplan functions,
including those that use the pipe symbol to seperate arguments.
Allow CDR dialplan function to be able to set the account code and userfield.
This deprecates the use of the Account header in manager originate and spool
files, as well as the SetAccount and SetCDRUserField applications.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6147 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 23:24:51 +00:00
kpfleming ff15e0fa53 add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6146 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 23:00:47 +00:00
russell 20ef59e571 add a dialplan function to get and set the music on hold class
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6115 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-12 22:50:45 +00:00
kpfleming e4c73c5b8d move tools used during build into build_tools subdirectory
clean up Makefile headers


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5942 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-20 17:26:08 +00:00
kpfleming f417b6d804 add MATH() dialplan function (bug #4473, with mods)
deprecate the Math() application


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5895 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-09 22:59:08 +00:00
kpfleming 01f4a36120 enable version string for this module, since it's standalone
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5874 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-07 16:11:06 +00:00
kpfleming 6f0f46299c more file version tags
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 22:12:19 +00:00
kpfleming b2cbb6a75d remove experimental module version tags
add per-file revision tags and 'show version files' CLI command


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 20:27:51 +00:00
kpfleming a74f3f93f4 add support for per-module version numbers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5862 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 18:31:29 +00:00
kpfleming ca10c312b6 clean up logic functions code and help texts
add IFTIME function (bug #4394, with mods)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5836 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-03 21:04:04 +00:00
kpfleming cfd99de79e make IF dialplan function handle quoted strings properly (bug #4322, with API mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5750 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-20 16:30:13 +00:00
markster d9270da550 Add SET function (bug #4335)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5745 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-19 20:38:51 +00:00
kpfleming 86deae0165 minor doc fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5743 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-19 20:31:39 +00:00
markster d45857c558 Cache result from database function reads (conf call)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5741 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-19 17:49:14 +00:00
russell 52b212d27c add DB_EXISTS function to be able to check if a key exists in the database
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5715 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-18 23:38:25 +00:00
russell 8508675ead prevent copying of NULL (bug #4307)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5708 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-17 16:45:42 +00:00
kpfleming 6fa490c732 add EVAL function, deprecate Eval application (bug #4277)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5689 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 23:53:11 +00:00
kpfleming 025aeb8f62 add dialplan functions for Caller ID, language and timeouts (bug #4219, with mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5679 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 17:45:30 +00:00
markster f23e021126 Removed unnecessary strip (bug #4181)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5608 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-08 18:11:55 +00:00
markster 55bc25751a Update groupcount / db documentation (bug #4200, etc)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5606 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-08 17:17:34 +00:00
markster 9eeaaa3915 Convert app_db to function variables (bug #4201)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5604 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-08 17:08:25 +00:00
russell ea506055f2 add my name for the functions I wrote
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5593 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-07 05:33:44 +00:00
markster 16b0b362a3 Build as a single executable, work around Makefile issue
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5590 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-05 17:39:18 +00:00
kpfleming 8b926a7bc7 clean up file headers
restore appropriate copyrights for functions that came from files with copyrights listed


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5587 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-05 12:48:52 +00:00
kpfleming 6fa82b10b2 correct build on platforms that require PIC objects (bug #4179)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5586 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-05 12:43:04 +00:00
kpfleming 1a2c87a2ba ensure generated files are ignored by CVS
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5585 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-05 05:56:34 +00:00
kpfleming d02cf29997 add STRFTIME dialplan function (bug #4098, modified to use new funcs subdirectory)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5584 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-05 05:50:11 +00:00
kpfleming 6a262d98ee major re-work of dialplan functions, including:
- locking of functions list during registration/unregistration/searching
 - rename of function description structure to be consistent with the rest of the API
 - addition of 'desc' element to description structure, for detailed description (like applications)
 - addition of 'show function' CLI command to show function details
 - conversion of existing functions to use uppercase names to match policy
 - creation of new 'pbx_functions.so' module to contain standard 'builtin' functions
 - removal of all builtin functions from pbx.c and apps and placement into new 'funcs' directory


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5583 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-05 05:39:33 +00:00