remove hardcoded CDR() support from pbx_builtin_setvar_helper in favor of 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
This commit is contained in:
Kevin P. Fleming
2005-05-04 15:56:44 +00:00
parent ba9b384f58
commit a0f2a2e7c4
2 changed files with 85 additions and 75 deletions
-2
View File
@@ -23,8 +23,6 @@
#define AST_CDR_FLAG_POSTED (1 << 1)
#define AST_CDR_FLAG_LOCKED (1 << 2)
#define AST_CDR_FLAG_CHILD (1 << 3)
#define AST_CDR_FLAG_SETVAR (1 << 4)
#define AST_CDR_FLAG_RECUR (1 << 5)
#define AST_CDR_NOANSWER (1 << 0)
#define AST_CDR_BUSY (1 << 1)