Commit Graph

255 Commits

Author SHA1 Message Date
Kevin P. Fleming 2b8338cb52 more file version tags
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming 0e6762dd5f remove experimental module version tags
add per-file revision tags and 'show version files' CLI command


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 20:27:51 +00:00
Kevin P. Fleming 1bac31d6bd more efficient (and understandable) ast_channel_walk_locked, and vastly more efficient ast_channel_by_name_locked (bug #4265)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 02:29:18 +00:00
Kevin P. Fleming 723d6b5be8 more ast_copy_string() conversion
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-05 16:32:16 +00:00
Kevin P. Fleming b972421945 don't try to copy NULL appdata (bug #4422)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-05 16:08:44 +00:00
Kevin P. Fleming 7a2d5cbb3e make ast_waitstream_* return value compatible with platforms that use unsigned char by default (bug #4455)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-05 15:04:43 +00:00
Kevin P. Fleming fdbb400a0b use ast_cli_register_multiple() for pbx CLI commands
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 03:09:20 +00:00
Kevin P. Fleming db402ee5d6 allow ast_add_extension2 to accept a NULL destructor (bug #4411)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 02:21:07 +00:00
Kevin P. Fleming 23472dd2c0 support configurable batch posting of CDRs (off by default) (bug #3883)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 01:42:31 +00:00
Russell Bryant 2cd9d4c676 fix return value for ExecIfTime when time is outside of the specified range (bug #4380)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-26 15:50:50 +00:00
Mark Spencer 38b7f7b4a4 Add optional call limit
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-18 01:49:13 +00:00
Kevin P. Fleming 9cea81b035 rename SetVar application to Set, deprecate SetVar
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 23:32:38 +00:00
Kevin P. Fleming fa60672d58 add dialplan functions for Caller ID, language and timeouts (bug #4219, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5679 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 17:45:30 +00:00
Russell Bryant 15623c07d1 clarify docs on ImportVar (that's for you, mog :p)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14 00:36:55 +00:00
Mark Spencer fa2381c19c Fix formatting of functions (bug #4196, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 17:10:58 +00:00
Mark Spencer 087eb40b76 Fix double unlock of hintlock (bug #4205)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 16:54:53 +00:00
Anthony Minessale II 6b7677e842 expose function execution routines and warn about trying to set a read-only cdr var
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05 15:07:49 +00:00
Kevin P. Fleming 4d2537ae11 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: https://origsvn.digium.com/svn/asterisk/trunk@5583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05 05:39:33 +00:00
Kevin P. Fleming a0f2a2e7c4 remove hardcoded CDR() support from pbx_builtin_setvar_helper in favor of already-implemented CDR() function
make SetVar() options actually work as documented
remove SetVar() 'c' and 'r' options, since the CDR() function can provide this functionality
add 'r' option to CDR() function to control recursive retrieval/storage
(inspired by bug #4143, but without the SetVar syntax changes)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 15:56:44 +00:00
Kevin P. Fleming b9bda6aa41 add MD5 and CHECK_MD5 functions, deprecate MD5 and MD5Check apps (bug #4123)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 04:05:34 +00:00
Kevin P. Fleming 8c087b7d73 make verbosity of function registration match apps/manager events/etc.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5544 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-01 23:09:28 +00:00
Kevin P. Fleming b1826af735 add SIP_HEADER function, mark SIPGetHeader app deprecated (will be removed on 2005-05-31)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-01 18:37:37 +00:00
Kevin P. Fleming 8634ef9e4a don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 17:00:33 +00:00
Kevin P. Fleming bced63033d make 'goto' APIs aware of auto-processing loops, so they know exactly when to set the requested priority or one priority lower
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 15:04:26 +00:00
Kevin P. Fleming fefe2e8b4f protect ResponseTimeout and DigitTimeout apps from crashing when called in non-PBX channels (bug #4078)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5510 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-27 02:48:25 +00:00
Kevin P. Fleming 199add9567 phase 1 of header include cleanup (bug #4067)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22 13:11:34 +00:00
Kevin P. Fleming 06de953fbc add ability to send transferring party to a dialplan target after they blind transfer another party (bug #4056, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22 02:55:14 +00:00
Kevin P. Fleming 1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Kevin P. Fleming 6d05d785be correct default language setting for Background() app (bug #4044)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-20 16:11:16 +00:00
Mark Spencer f933db8c24 Fix docs for digit/response timeout to mention default values (bug #4050)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-20 14:40:47 +00:00
Mark Spencer d3213d7f47 Fix locking issue (bug #4041)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-17 03:44:19 +00:00
Mark Spencer 4b7e548d92 Add MusicOnHold to waitexten, update Background to use newstyle options (bug #4000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-15 05:47:40 +00:00
Russell Bryant 7bffc0459c add missing newlines, fix misspelling of nonexistent (bug #4027)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 23:33:47 +00:00
Kevin P. Fleming 7e3e619497 further thought says '!' is a better early-match wildcard (bug #3889, take 2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-03 22:24:17 +00:00
Kevin P. Fleming ee9c852b4d add 'early-match' wildcard for extension patterns (bug #3889)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-03 21:32:33 +00:00
Kevin P. Fleming 0403510bbd Fix up formatting and a few typos/poor grammar in pbx.c (bug #3924)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 19:56:35 +00:00
Kevin P. Fleming 793040a782 revert previous commit... was the wrong fix (my first oops)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 19:39:58 +00:00
Kevin P. Fleming 3cc8b20876 ensure that variables supplied to ast_pbx_outgoing_exten are applied to the channel even in 'sync' mode (bug #3922, for HEAD only)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 19:24:29 +00:00
Mark Spencer b02fd7a66d Make sure ExecIf stuff returns properly (bug #3864)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-29 06:18:58 +00:00
Mark Spencer eb91006b7c Allow functions to be written to (bug #2278, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-29 06:16:49 +00:00
Russell Bryant cd0655bf89 formatting fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-26 21:01:59 +00:00
Mark Spencer 6546acebfb Add comments for hints (bug #3783)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-17 21:05:10 +00:00
Mark Spencer 0b23f4a6a7 Merge builtin If function (bug #3779)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5189 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-17 20:20:37 +00:00
Mark Spencer 5e8a912baf Fix serious typo (code segment was only enabled with verbose!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-14 05:51:20 +00:00
Mark Spencer d42e070073 Unbreak expression handling from addition of function variables
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-05 05:21:45 +00:00
Mark Spencer 18d9b26cf9 Rework channel structure to eliminate "pvt" portion of channel (bug #3573)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-04 06:47:24 +00:00
Mark Spencer fba0b595ab Add registerable functional variables (bug #3636, with doc mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5136 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-04 06:36:18 +00:00
Mark Spencer 233e26b112 Fix SetVar (bug #3668) and g + transfer (#3650)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-26 03:57:10 +00:00
Mark Spencer 5a9f337de0 Add execiftime, remove duplicate agent logoff CLI
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-25 00:25:28 +00:00
Mark Spencer b6c4282a03 Merge anthm's CDR updates (bug #3595)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-23 22:48:47 +00:00