mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-13 13:28:34 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@168585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user