summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJenkins2 <jenkins2@gerrit.asterisk.org>2018-03-20 11:16:52 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2018-03-20 11:16:52 -0500
commitf863f1f91bfcaa2b8a184a5edbfaf7b52930bdf8 (patch)
tree4688f591fecb7eb453c66c37d8b24d645be3f31b /include
parent05ac34fe85d2a3b320143ef5dd69c28a3569b966 (diff)
parent5d097f82367f61bdae7d799c7815e69ba089d6d6 (diff)
Merge "channel.c: Allow generic plc then channel formats are equal"
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/options.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/options.h b/include/asterisk/options.h
index 78f596a88..fc366caa5 100644
--- a/include/asterisk/options.h
+++ b/include/asterisk/options.h
@@ -98,6 +98,8 @@ enum ast_option_flags {
AST_OPT_FLAG_LOCK_CONFIG_DIR = (1 << 29),
/*! Generic PLC */
AST_OPT_FLAG_GENERIC_PLC = (1 << 30),
+ /*! Generic PLC onm equal codecs */
+ AST_OPT_FLAG_GENERIC_PLC_ON_EQUAL_CODECS = (1 << 31),
};
/*! These are the options that set by default when Asterisk starts */
@@ -134,6 +136,7 @@ enum ast_option_flags {
#define ast_opt_lock_confdir ast_test_flag(&ast_options, AST_OPT_FLAG_LOCK_CONFIG_DIR)
#define ast_opt_generic_plc ast_test_flag(&ast_options, AST_OPT_FLAG_GENERIC_PLC)
#define ast_opt_ref_debug ast_test_flag(&ast_options, AST_OPT_FLAG_REF_DEBUG)
+#define ast_opt_generic_plc_on_equal_codecs ast_test_flag(&ast_options, AST_OPT_FLAG_GENERIC_PLC_ON_EQUAL_CODECS)
/*! Maximum log level defined by PJPROJECT. */
#define MAX_PJ_LOG_MAX_LEVEL 6