Commit Graph

125 Commits

Author SHA1 Message Date
Tilghman Lesher 0af770edd1 Bug 6670 - Additional parameters to the CHANNEL func
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25 05:24:52 +00:00
Luigi Rizzo 82b0400322 Do the (expensive) LOCAL_USER_ADD only after we are sure
that arguments are valid.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-24 18:33:48 +00:00
Tilghman Lesher 98d91f0464 Bug 6699 - Fix for ENUMLOOKUP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-21 05:54:04 +00:00
Olle Johansson d61a6c9a1c README files have changed names, better change references too :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-12 17:27:57 +00:00
Tilghman Lesher 8c737ce8b8 Sun's shell: just different enough to cause problems
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-01 17:57:43 +00:00
Tilghman Lesher 4cdf248d82 Bug 6619 - Fix Solaris issue with doubled [[
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-01 06:15:35 +00:00
Tilghman Lesher e912ad9d35 Move conditional compilation for CURL from apps/ to funcs/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10961 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-23 23:43:06 +00:00
Kevin P. Fleming af1331ad56 correct documentation typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10960 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-23 23:38:05 +00:00
Matt O'Gorman 5f446b24ea minor fixes to commit 10934 from bug#6257
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10959 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-23 23:36:53 +00:00
Tilghman Lesher 53936916ec Bug 6417 - Allow retrieval of raw CDR values
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-23 23:12:41 +00:00
Matt O'Gorman a4734960e7 added function QUOTE into strings, which allows
for quoted strings, and escapes them properly.
slightly modified patch from bug #6257


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-23 22:59:16 +00:00
Tilghman Lesher 61d4406b69 Move CURL function from apps/ to funcs/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-23 22:27:49 +00:00
Tilghman Lesher 516d690aca Some sick individuals use SQL queries longer than 512 bytes in the dialplan. ;-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-23 19:26:22 +00:00
Kevin P. Fleming 302c943001 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: https://origsvn.digium.com/svn/asterisk/trunk@10871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-23 17:13:57 +00:00
Kevin P. Fleming 850397b334 revert change to ENUM functionality (go back to supplying a default zone)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-22 23:07:34 +00:00
Kevin P. Fleming 6204abdae2 merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-22 22:53:49 +00:00
Kevin P. Fleming bb7325ade8 set keywords property correctly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-21 17:15:17 +00:00
Russell Bryant 2b357881a7 suppress compiler warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10286 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-16 17:21:56 +00:00
Russell Bryant a0d438fb6c remove the uses of the deprecated STANDARD_LOCAL_USER
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-15 20:11:56 +00:00
Kevin P. Fleming c5ff2c4f42 add KEYPADHASH dialplan function (issue #6441)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-15 00:59:01 +00:00
Kevin P. Fleming be6eea0cc1 handle longer ENUM lookup results (issue #6476)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10112 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-15 00:51:21 +00:00
Kevin P. Fleming 4662d58b01 add API function for parsing strings to time_t (issue #6320, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-15 00:24:24 +00:00
Kevin P. Fleming c8b087ffcb don't force a default zone for ENUM() lookups, use the configuration file (issue #6036, with update to UPGRADE.txt)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 21:57:26 +00:00
Mark Spencer 59990fc904 Fix build issues...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 19:08:12 +00:00
Russell Bryant 2f2530b8e6 remove LOCAL_USER_ACF_ADD since it is now the same as LOCAL_USER_ADD
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-13 20:12:50 +00:00
Russell Bryant 5869d96050 use the zone and options set by the arg parsing macros
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-12 19:26:15 +00:00
Kevin P. Fleming e7c198453d ensure that dependencies are rebuilt after 'make update' so that builds don't break when files are removed/renamed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-12 16:52:42 +00:00
Kevin P. Fleming 96bf384e7d major dialplan functions update
deprecate LANGUAGE() and MUSICCLASS(), in favor of CHANNEL()


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-12 04:28:58 +00:00
Kevin P. Fleming 6aa6819c41 use auto-build for apps, simplify variable setting
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 17:12:05 +00:00
Kevin P. Fleming 52c23802d6 use auto-build for res modules too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 16:44:15 +00:00
Kevin P. Fleming 90cca08247 prepare to use auto-build rules in other Makefiles
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 16:30:23 +00:00
Kevin P. Fleming e42c6c4f9e set standard properties on all non-binary files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 16:15:11 +00:00
Tilghman Lesher ada97b3723 Fix compile time warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 16:13:03 +00:00
Kevin P. Fleming ad7f3e78e4 remove last vestiges of pbx_functions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 03:21:09 +00:00
Kevin P. Fleming a38a7eec61 build function modules independently (no more pbx_functions.so)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 03:14:05 +00:00
Tilghman Lesher 34bcd0e0b6 Bug 6322 - Implementation of SHA1 in Asterisk (plus dialplan function to use it)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-03 22:37:29 +00:00
Kevin P. Fleming a16ae226b6 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: https://origsvn.digium.com/svn/asterisk/trunk@9060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01 23:05:28 +00:00
Matt O'Gorman 7d03c33e0a Allows for user to uninstall asterisk binaries
bug 6177


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01 18:39:41 +00:00
Tilghman Lesher f9811bc198 Bug 6378 - deprecate CHECK_MD5 function
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8883 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-30 06:07:05 +00:00
Olle Johansson 293d88108f Reverting change in revision 8539 - fixed wrong problem. Sorry.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 17:47:41 +00:00
Olle Johansson 543cc7e2a4 Issue #6323, FreeBSD compatibility with compilation of func_odbc.c (reported by nulbyte)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24 13:53:45 +00:00
Matt O'Gorman 428efda5a9 code clean up and macro implementation from
bug 6247


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 18:07:12 +00:00
Tilghman Lesher 7d897634dc Bug 6262 - New function STRPTIME
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-22 08:09:02 +00:00
Russell Bryant 4414f45393 on this pass, only remove duplicate log messages
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 20:57:06 +00:00
Russell Bryant 9fa6eb5e07 revert my pass through the tree to remove checks of the result of ast_strdupa
(revisions 8378 through 8381)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8387 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 17:50:04 +00:00
Russell Bryant 2499926195 remove useless checks of the result of ast_strdupa
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 08:23:57 +00:00
Tilghman Lesher 109b5baa8d Argh, another ERROR that should have been DEBUG
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-16 18:41:18 +00:00
Tilghman Lesher 7f28989616 Change a debugging message committed with the wrong level
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-16 18:39:01 +00:00
Russell Bryant 4a7cec937d remove redundant CFLAGS for BSD which are already set in the main Makefile (issue #6250)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8101 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-16 17:51:35 +00:00
BJ Weschke fa07ae94ec More code optimization with the new argument macros #6253
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-16 17:31:30 +00:00