diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-14 16:49:34 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-14 16:49:34 +0000 |
commit | 9389382205fe3a7183fcb261d80cbedefbfb1404 (patch) | |
tree | 7273f74c1ece370bc512199dd9d468648ed255a5 /include/asterisk/options.h | |
parent | 1a9990d3b8ace6487c0231d6b9d6cc197a8f2aed (diff) |
add an option to cdr.conf that enables ending CDRs before executing
the "h" extension as opposed to afterwards (issue #6193)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12896 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/options.h')
-rw-r--r-- | include/asterisk/options.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asterisk/options.h b/include/asterisk/options.h index 4c4031a5a..73d98b275 100644 --- a/include/asterisk/options.h +++ b/include/asterisk/options.h @@ -69,7 +69,9 @@ enum ast_option_flags { /*! Transmit Silence during Record() */ AST_OPT_FLAG_TRANSMIT_SILENCE = (1 << 17), /*! Suppress some warnings */ - AST_OPT_FLAG_DONT_WARN = (1 << 18) + AST_OPT_FLAG_DONT_WARN = (1 << 18), + /*! End CDRs before the 'h' extension */ + AST_OPT_END_CDR_BEFORE_H_EXTEN = (1 << 19) }; #define ast_opt_exec_includes ast_test_flag(&ast_options, AST_OPT_FLAG_EXEC_INCLUDES) @@ -91,6 +93,7 @@ enum ast_option_flags { #define ast_opt_reconnect ast_test_flag(&ast_options, AST_OPT_FLAG_RECONNECT) #define ast_opt_transmit_silence ast_test_flag(&ast_options, AST_OPT_FLAG_TRANSMIT_SILENCE) #define ast_opt_dont_warn ast_test_flag(&ast_options, AST_OPT_FLAG_DONT_WARN) +#define ast_opt_end_cdr_before_h_exten ast_test_flag(&ast_options, AST_OPT_END_CDR_BEFORE_H_EXTEN) extern struct ast_flags ast_options; |