diff options
author | Joshua Colp <jcolp@digium.com> | 2008-02-26 19:14:04 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2008-02-26 19:14:04 +0000 |
commit | 2a7eac9940db9041bf015b178d3841ea0bc9eba5 (patch) | |
tree | fa17112c46ada09909b0b9249cccd62784ed3308 /main/pbx.c | |
parent | a616346c6d369767648ecf4d949f7448ca2b2fde (diff) |
Add an 'e' option to ResetCDR which re-enables a CDR that has been disabled.
(closes issue #11170)
Reported by: kratzers
Patches:
ResetCDR.1.diff uploaded by kratzers (license 307)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/pbx.c')
-rw-r--r-- | main/pbx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/pbx.c b/main/pbx.c index e59ee9ea8..d790dddf1 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -589,6 +589,7 @@ static struct pbx_builtin { " w -- Store the current CDR record before resetting it.\n" " a -- Store any stacked records.\n" " v -- Save CDR variables.\n" + " e -- Enable CDR only (negate effects of NoCDR).\n" }, { "Ringing", pbx_builtin_ringing, @@ -6846,6 +6847,7 @@ AST_APP_OPTIONS(resetcdr_opts, { AST_APP_OPTION('w', AST_CDR_FLAG_POSTED), AST_APP_OPTION('a', AST_CDR_FLAG_LOCKED), AST_APP_OPTION('v', AST_CDR_FLAG_KEEP_VARS), + AST_APP_OPTION('e', AST_CDR_FLAG_POST_ENABLE), }); /*! |