Use recommended option, not deprecated option.
(closes issue #16515) Reported by: ManChicken git-svn-id: http://svn.digium.com/svn/asterisk/trunk@236667 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
ac6c802dd9
commit
fb644319d1
|
@ -10965,7 +10965,7 @@ static int load_config(int reload)
|
||||||
if (sscanf(val, "%30d", &x) == 1) {
|
if (sscanf(val, "%30d", &x) == 1) {
|
||||||
vmminsecs = x;
|
vmminsecs = x;
|
||||||
if (maxsilence / 1000 >= vmminsecs) {
|
if (maxsilence / 1000 >= vmminsecs) {
|
||||||
ast_log(AST_LOG_WARNING, "maxsilence should be less than minmessage or you may get empty messages\n");
|
ast_log(AST_LOG_WARNING, "maxsilence should be less than minsecs or you may get empty messages\n");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ast_log(AST_LOG_WARNING, "Invalid min message time length\n");
|
ast_log(AST_LOG_WARNING, "Invalid min message time length\n");
|
||||||
|
|
Reference in New Issue