summaryrefslogtreecommitdiff
path: root/pbx.c
AgeCommit message (Collapse)Author
2005-09-14slightly clear argument processingKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6592 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-13check call limit in ast_pbx_start(), instead of waiting until background ↵Kevin P. Fleming
thread has been launched (needed for issue #5131) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07remove useless buffer initializations (issue #5134)Kevin P. Fleming
convert pbx_dundi to use ast_copy_string) (issue #5134) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-02remove unused header and old commentKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01don't unlock a channel we didn't lockKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-29massive upgrade to SUBSCRIBE, device state and messaging support (issue #3644)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-29don't make expression evaluator allocate a memory buffer for each resultKevin P. Fleming
to be returned; use the buffers already present in the PBX for this purpose update testexpr2/check_expr to allocate buffers for expression evaluation git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-27preserve hint watchers and laststate across 'extensions reload' (issue #2522)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-22add count to 'show functions' CLI command (issue #4991)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-19fix execiftime and include some code cleanup while we're at it (bug #4380)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6343 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-15Fix misspelling of "Launching" in pbx.c (Bug #<4964)Josh Roberson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-19formatting fixes (bug #4736)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15Allow manager originate to specifiy more than one variable to be set.Russell Bryant
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: https://origsvn.digium.com/svn/asterisk/trunk@6147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15phase two of string portability stuff:Kevin P. Fleming
don't need ast_ prefixes on functions use individual #defines for function presence add vasprintf to portability library git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15ensure that channels that are busy/congested are marked AST_STATE_BUSY (bug ↵Kevin P. Fleming
#4706) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6136 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12add 'exit context' and 'only stop on match' options to Background app (bug ↵Kevin P. Fleming
#4511) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-10define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSIONRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08queue device state changes and handle them serially in a background threadKevin P. Fleming
optimize device state related functions add ast_get_channel_by_name_prefix to allow searching for matching channels in O(1) operation git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-20use ast_build_string() to build strings into buffers, and general cleanup of ↵Kevin P. Fleming
variable serializing functions used by 'show channel' (bug #4558) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06more file version tagsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06remove experimental module version tagsKevin P. Fleming
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-06more efficient (and understandable) ast_channel_walk_locked, and vastly more ↵Kevin P. Fleming
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-05more ast_copy_string() conversionKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-05don't try to copy NULL appdata (bug #4422)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-05make ast_waitstream_* return value compatible with platforms that use ↵Kevin P. Fleming
unsigned char by default (bug #4455) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03use ast_cli_register_multiple() for pbx CLI commandsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03allow ast_add_extension2 to accept a NULL destructor (bug #4411)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03support configurable batch posting of CDRs (off by default) (bug #3883)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-26fix return value for ExecIfTime when time is outside of the specified range ↵Russell Bryant
(bug #4380) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-18Add optional call limitMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15rename SetVar application to Set, deprecate SetVarKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15add dialplan functions for Caller ID, language and timeouts (bug #4219, with ↵Kevin P. Fleming
mods) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5679 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14clarify docs on ImportVar (that's for you, mog :p)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08Fix formatting of functions (bug #4196, with mods)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08Fix double unlock of hintlock (bug #4205)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05expose function execution routines and warn about trying to set a read-only ↵Anthony Minessale II
cdr var git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05major re-work of dialplan functions, including:Kevin P. Fleming
- 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-04remove hardcoded CDR() support from pbx_builtin_setvar_helper in favor of ↵Kevin P. Fleming
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-04add MD5 and CHECK_MD5 functions, deprecate MD5 and MD5Check apps (bug #4123)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-01make verbosity of function registration match apps/manager events/etc.Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5544 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-01add SIP_HEADER function, mark SIPGetHeader app deprecated (will be removed ↵Kevin P. Fleming
on 2005-05-31) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29don't use '%i' at all, since we have no current use cases that need non ↵Kevin P. Fleming
base-10 parsing (bug #4110) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29make 'goto' APIs aware of auto-processing loops, so they know exactly when ↵Kevin P. Fleming
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-27protect ResponseTimeout and DigitTimeout apps from crashing when called in ↵Kevin P. Fleming
non-PBX channels (bug #4078) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5510 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22phase 1 of header include cleanup (bug #4067)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22add ability to send transferring party to a dialplan target after they blind ↵Kevin P. Fleming
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-21use double-quotes instead of angle-brackets for non-system include files ↵Kevin P. Fleming
(bug #4058) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-20correct default language setting for Background() app (bug #4044)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-20Fix docs for digit/response timeout to mention default values (bug #4050)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-17Fix locking issue (bug #4041)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5481 65c4cc65-6c06-0410-ace0-fbb531ad65f3