summaryrefslogtreecommitdiff
path: root/pbx.c
AgeCommit message (Collapse)Author
2005-11-06Convert some built-in applications to use new args parsing macros.Russell Bryant
Change ast_cdr_reset to take a pointer to an ast_flags structure instead of an integer for flags. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-03major update to arg/option parsing APIs and documentationKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31fix various bugs related to list handling of channel variables (issue #5548)Kevin P. Fleming
use nolock lists for channel variables, since no locks are needed (these lists are either temporary or protected by the channel's own lock) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26clean up a lot of doxygen errors and warnings (issue #5522)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26change ast_strlen_zero to also check for the string to be definedRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26more doxygenification (issue #5513)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26Allow limitation by loadavg not just calls (should be BSD friendly)...Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24Doxygen documentation update from oej (issue #5505)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18The amazing disappearing and reappearing patch... This time with ↵Mark Spencer
documentation explaining it. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18Setting variables should NOT overwrite prefixed (sorry! revert of 5444)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18Be sure to not consider prefix on variable updates (bug #5444)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18Fix truth of stringsMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13use English states in 'show hints' CLI commandKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04If you're hanging up channels, be sure we clean it up...Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-29re-factor variable/function name parsing, and add substring support to ↵Kevin P. Fleming
function results (issue #5284) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-26one more oops (when global variables need substitutions)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-26oopsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-26minor code and stack space optimizationsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-26minor optimizationsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-24Don't crash on recursive show extension foo@bar...Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6632 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-16clean up singular vs. plural output for the 'show dialplan' CLI commandRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6623 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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