diff options
author | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-13 23:00:27 +0000 |
---|---|---|
committer | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-13 23:00:27 +0000 |
commit | f4c87434056e864e8ab69c797fb8b626b71871ee (patch) | |
tree | e788b74e5bda477eec1fc515ac993439c6db3423 /include | |
parent | d8cfd530bc843373369e210c86e5a2b1bd8591aa (diff) |
Add option to hide console connect messages
(closes issue #14222)
Reported by: jamesgolovich
Patches:
asterisk-hideconnect.diff.txt uploaded by jamesgolovich (license 176)
Tested by: otherwiseguy
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168585 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/options.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/options.h b/include/asterisk/options.h index 54295e8ad..065d0c9a1 100644 --- a/include/asterisk/options.h +++ b/include/asterisk/options.h @@ -88,6 +88,8 @@ enum ast_option_flags { AST_OPT_FLAG_INITIATED_SECONDS = (1 << 26), /*! Force black background */ AST_OPT_FLAG_FORCE_BLACK_BACKGROUND = (1 << 27), + /*! Hide remote console connect messages on console */ + AST_OPT_FLAG_HIDE_CONSOLE_CONNECT = (1 << 28), }; /*! These are the options that set by default when Asterisk starts */ @@ -119,6 +121,7 @@ enum ast_option_flags { #define ast_opt_verb_file ast_test_flag(&ast_options, AST_OPT_FLAG_VERBOSE_FILE) #define ast_opt_light_background ast_test_flag(&ast_options, AST_OPT_FLAG_LIGHT_BACKGROUND) #define ast_opt_force_black_background ast_test_flag(&ast_options, AST_OPT_FLAG_FORCE_BLACK_BACKGROUND) +#define ast_opt_hide_connect ast_test_flag(&ast_options, AST_OPT_FLAG_HIDE_CONSOLE_CONNECT) extern struct ast_flags ast_options; |