dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

138 Commits

Author SHA1 Message Date
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