mirror of https://github.com/sipwise/asterisk.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
502 B
12 lines
502 B
--- apps/app_voicemail.c (revisión: 203718)
|
|
+++ apps/app_voicemail.c (revisión: 203719)
|
|
@@ -8510,7 +8510,7 @@
|
|
if ((s = ast_variable_retrieve(cfg, "general", "minmessage"))) {
|
|
if (sscanf(s, "%d", &x) == 1) {
|
|
vmminmessage = x;
|
|
- if (maxsilence <= vmminmessage)
|
|
+ if (maxsilence / 1000 >= vmminmessage)
|
|
ast_log(LOG_WARNING, "maxsilence should be less than minmessage or you may get empty messages\n");
|
|
} else {
|
|
ast_log(LOG_WARNING, "Invalid min message time length\n");
|