aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
AgeCommit message (Collapse)AuthorFilesLines
2007-05-02Some tweaks to satisfy CDR bug 8796, where being in 'h' extension louses up ↵murf1-1/+1
the dst field git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@62737 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-05Fixed a typo introduced via 9156murf1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@57825 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-02further refinement in wording of goto documentation, as per 9156, goto not ↵murf1-10/+19
proceeding to next instruction git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@57458 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-28a small documentation update, to reflect reality in the goto doc strings, as ↵murf1-2/+13
per 9156, Goto does not proceed to next prio if jump fails git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@57118 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-01No wonder FIELDQTY doesn't work with functions... the documentation in pbx.c ↵tilghman1-2/+1
was wrong git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53069 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-31Fix a bunch of places where pthread_attr_init() was called, butrussell1-0/+7
pthread_attr_destroy() was not. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53045 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-12minor documentation clarificationkpfleming1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@50561 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-27Playback() wasn't setting PLAYBACKSTATUS under several circumstances.qwell1-1/+1
Playback() returns -1 on missing args - so should Background() git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43800 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19fixes some verbose vs debug issues. patch from bug 2617mogorman1-5/+6
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@43269 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-24Fix a few issues related to the handling of channel variablesrussell1-3/+1
- in pbx_builtin_serialize_variables(), the variable list traversal would stop on a variables with empty name/values, which is not appropriate - When removing the GROUP variables, use AST_LIST_REMOVE_CURRENT instead of AST_LIST_REMOVE - During masquerading, when copying the variables list from one channel to the other, using AST_LIST_INSERT_TAIL is not valid for appending a whole list. It leaves the tail pointer of the list invalid. Introduce a new macro, AST_LIST_APPEND_LIST that appends a list properly. (issue #7802, softins) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40994 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-18don't set state to BUSY if the channel is already in the UP staterussell1-2/+4
(issue #7376, backported from trunk) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@34655 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-13remove duplicate mutex_unlockrussell1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@33813 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-11fix another place where a frame does not get free'drussell1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@33548 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23backport some mutex initialization and linked list handling fixes from trunkkpfleming1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@29732 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22Bug 7196 - month range did not worktilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@29394 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01add missing locking of the dialplan functions list in the "show functions"russell1-0/+2
CLI command git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@23951 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-18properly handle brace-wrapped strings in variable/function references in the ↵kpfleming1-1/+2
dialplan git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@21237 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13Bug 6957 - variable names beginning with CALLERID weren't substituted correctlytilghman1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@19768 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05Unlock channel on failure so that ast_mutex_destroy doesn't throw a fit ↵file1-4/+10
(issue #6647 reported by casper) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@17702 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31ensure that hint watchers (subscribers) cannot be added or removed while the ↵kpfleming1-6/+21
dialplan is being modified git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@16742 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29Bug 6830 - Let GosubIf work with the same conditions as a GotoIf (change in ↵tilghman1-1/+1
API approved by Russell) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@16192 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29Bug 6835 - Updates to GotoIf help texttilghman1-5/+7
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@16082 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-22Issue #6780 - ast_pbx_outgoing_cdr_failed description fix. (Reported and ↵file1-3/+2
fixed by casper) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@14191 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-12add locking to protect the list of global dialplan variablesrussell1-32/+49
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@12646 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11now that CDR is a loadable module, don't depend on it elsewhere (issue #6460)russell1-5/+14
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@9581 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-22add a modified fix to prevent writing outside of the provided workspace when russell1-25/+23
calculating a substring (issue #6271) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@8418 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21temporarily revert substring fix pending the result of the discussion in ↵russell1-20/+26
issue #6271 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@8414 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21prevent the possibility of writing outside of the available workspace (issue ↵russell1-26/+20
#6271) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@8412 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11fix locking error - lock instead of unlockrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7960 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-13ensure that hangups while incoming calls are in early state are handled ↵kpfleming1-0/+2
properly (issue #5919) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7451 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-08initialize the buffer before using it...kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7386 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-07ensure that hints are allowed to use global variable referenceskpfleming1-0/+10
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7382 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-02inherit channel variables into channels created by Page() application (issue ↵kpfleming1-1/+1
#5888) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7274 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-30fix hint case sensitivity (issue #5856)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7231 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-14finish merging doxygen updates from issue #5605russell1-41/+117
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7096 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11issue #5673kpfleming1-77/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7062 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-09clean up descriptions for built-in applicationsrussell1-154/+155
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7046 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-09issue #5664kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7039 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #2720kpfleming1-0/+20
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7034 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #5569 minus lock.h changeskpfleming1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7024 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #5583kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7010 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06Convert some built-in applications to use new args parsing macros.russell1-13/+27
Change ast_cdr_reset to take a pointer to an ast_flags structure instead of an integer for flags. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6987 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-03major update to arg/option parsing APIs and documentationkpfleming1-20/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6953 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-31fix various bugs related to list handling of channel variables (issue #5548)kpfleming1-1/+1
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: http://svn.digium.com/svn/asterisk/trunk@6900 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26clean up a lot of doxygen errors and warnings (issue #5522)russell1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6865 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26change ast_strlen_zero to also check for the string to be definedrussell1-17/+17
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6862 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26more doxygenification (issue #5513)russell1-16/+16
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6852 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26Allow limitation by loadavg not just calls (should be BSD friendly)...markster1-1/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6850 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24Doxygen documentation update from oej (issue #5505)russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b