aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
AgeCommit message (Collapse)AuthorFilesLines
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
2005-04-17Fix locking issue (bug #4041)markster1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5481 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-15Add MusicOnHold to waitexten, update Background to use newstyle options (bug ↵markster1-39/+95
#4000) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5469 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-13add missing newlines, fix misspelling of nonexistent (bug #4027)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5467 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-03further thought says '!' is a better early-match wildcard (bug #3889, take 2)kpfleming1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5372 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-03add 'early-match' wildcard for extension patterns (bug #3889)kpfleming1-8/+30
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5370 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-01Fix up formatting and a few typos/poor grammar in pbx.c (bug #3924)kpfleming1-50/+59
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5347 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-01revert previous commit... was the wrong fix (my first oops)kpfleming1-7/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5346 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-01ensure that variables supplied to ast_pbx_outgoing_exten are applied to the ↵kpfleming1-0/+7
channel even in 'sync' mode (bug #3922, for HEAD only) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5345 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-29Make sure ExecIf stuff returns properly (bug #3864)markster1-5/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5297 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-29Allow functions to be written to (bug #2278, with mods)markster1-207/+249
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5296 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-26formatting fixesrussell1-14/+14
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5270 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-17Add comments for hints (bug #3783)markster1-21/+48
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5191 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-17Merge builtin If function (bug #3779)markster1-0/+44
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5189 f38db490-d61c-443f-a65b-d21fe96a405b