aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
AgeCommit message (Collapse)AuthorFilesLines
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)kpfleming1-4/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14slightly clear argument processingkpfleming1-12/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6592 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-13check call limit in ast_pbx_start(), instead of waiting until background ↵kpfleming1-24/+55
thread has been launched (needed for issue #5131) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6568 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07remove useless buffer initializations (issue #5134)kpfleming1-3/+3
convert pbx_dundi to use ast_copy_string) (issue #5134) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6540 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-02remove unused header and old commentkpfleming1-5/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6503 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-01don't unlock a channel we didn't lockkpfleming1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6486 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-29massive upgrade to SUBSCRIBE, device state and messaging support (issue #3644)kpfleming1-4/+30
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6446 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-29don't make expression evaluator allocate a memory buffer for each resultkpfleming1-11/+4
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: http://svn.digium.com/svn/asterisk/trunk@6440 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-27preserve hint watchers and laststate across 'extensions reload' (issue #2522)kpfleming1-3/+86
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6431 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-22add count to 'show functions' CLI command (issue #4991)kpfleming1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6351 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-19fix execiftime and include some code cleanup while we're at it (bug #4380)russell1-28/+32
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6343 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-15Fix misspelling of "Launching" in pbx.c (Bug #<4964)twisted1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6333 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-19formatting fixes (bug #4736)russell1-57/+54
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6162 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15Allow manager originate to specifiy more than one variable to be set.russell1-66/+57
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-15phase two of string portability stuff:kpfleming1-2/+2
don't need ast_ prefixes on functions use individual #defines for function presence add vasprintf to portability library git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6143 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15ensure that channels that are busy/congested are marked AST_STATE_BUSY (bug ↵kpfleming1-0/+2
#4706) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6136 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-12add 'exit context' and 'only stop on match' options to Background app (bug ↵kpfleming1-7/+36
#4511) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6093 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-10define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSIONrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6076 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-08queue device state changes and handle them serially in a background threadkpfleming1-118/+28
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: http://svn.digium.com/svn/asterisk/trunk@6062 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-20use ast_build_string() to build strings into buffers, and general cleanup of ↵kpfleming1-15/+16
variable serializing functions used by 'show channel' (bug #4558) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5944 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06more file version tagskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06remove experimental module version tagskpfleming1-1/+4
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-06more efficient (and understandable) ast_channel_walk_locked, and vastly more ↵kpfleming1-14/+3
efficient ast_channel_by_name_locked (bug #4265) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5853 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05more ast_copy_string() conversionkpfleming1-51/+52
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5849 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05don't try to copy NULL appdata (bug #4422)kpfleming1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5848 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05make ast_waitstream_* return value compatible with platforms that use ↵kpfleming1-1/+1
unsigned char by default (bug #4455) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5846 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-03use ast_cli_register_multiple() for pbx CLI commandskpfleming1-46/+16
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5829 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-03allow ast_add_extension2 to accept a NULL destructor (bug #4411)kpfleming1-0/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5824 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-03support configurable batch posting of CDRs (off by default) (bug #3883)kpfleming1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5823 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-26fix return value for ExecIfTime when time is outside of the specified range ↵russell1-4/+6
(bug #4380) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5773 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-18Add optional call limitmarkster1-1/+32
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5712 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15rename SetVar application to Set, deprecate SetVarkpfleming1-19/+42
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5688 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15add dialplan functions for Caller ID, language and timeouts (bug #4219, with ↵kpfleming1-0/+32
mods) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5679 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-14clarify docs on ImportVar (that's for you, mog :p)russell1-4/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5647 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-08Fix formatting of functions (bug #4196, with mods)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5605 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-08Fix double unlock of hintlock (bug #4205)markster1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5602 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-05expose function execution routines and warn about trying to set a read-only ↵anthm1-3/+1
cdr var git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5589 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-05major re-work of dialplan functions, including:kpfleming1-352/+177
- 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-04remove hardcoded CDR() support from pbx_builtin_setvar_helper in favor of ↵kpfleming1-72/+84
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: http://svn.digium.com/svn/asterisk/trunk@5574 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-04add MD5 and CHECK_MD5 functions, deprecate MD5 and MD5Check apps (bug #4123)kpfleming1-0/+62
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5567 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-01make verbosity of function registration match apps/manager events/etc.kpfleming1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5544 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-01add SIP_HEADER function, mark SIPGetHeader app deprecated (will be removed ↵kpfleming1-1/+1
on 2005-05-31) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5540 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-29don't use '%i' at all, since we have no current use cases that need non ↵kpfleming1-2/+2
base-10 parsing (bug #4110) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5533 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-29make 'goto' APIs aware of auto-processing loops, so they know exactly when ↵kpfleming1-45/+42
to set the requested priority or one priority lower git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5529 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-27protect ResponseTimeout and DigitTimeout apps from crashing when called in ↵kpfleming1-0/+8
non-PBX channels (bug #4078) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5510 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22phase 1 of header include cleanup (bug #4067)kpfleming1-9/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5498 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22add ability to send transferring party to a dialplan target after they blind ↵kpfleming1-2/+1
transfer another party (bug #4056, with mods) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5495 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-19/+19
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-20correct default language setting for Background() app (bug #4044)kpfleming1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5487 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-20Fix docs for digit/response timeout to mention default values (bug #4050)markster1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5485 f38db490-d61c-443f-a65b-d21fe96a405b