mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
Merge "options.c: Remove 'internal_timing' notice"
This commit is contained in:
@@ -355,13 +355,6 @@ void load_asterisk_conf(void)
|
||||
/* Transmit SLINEAR silence while a channel is being recorded or DTMF is being generated on a channel */
|
||||
} else if (!strcasecmp(v->name, "transmit_silence_during_record") || !strcasecmp(v->name, "transmit_silence")) {
|
||||
ast_set2_flag(&ast_options, ast_true(v->value), AST_OPT_FLAG_TRANSMIT_SILENCE);
|
||||
/* Enable internal timing */
|
||||
} else if (!strcasecmp(v->name, "internal_timing")) {
|
||||
if (!ast_opt_remote) {
|
||||
fprintf(stderr,
|
||||
"NOTICE: The internal_timing option is no longer needed.\n"
|
||||
" It will always be enabled if you have a timing module loaded.\n");
|
||||
}
|
||||
} else if (!strcasecmp(v->name, "mindtmfduration")) {
|
||||
if (sscanf(v->value, "%30u", &option_dtmfminduration) != 1) {
|
||||
option_dtmfminduration = AST_MIN_DTMF_DURATION;
|
||||
|
Reference in New Issue
Block a user