From 8ee8f1e05733920df680071da45632107b69f602 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Sun, 11 May 2003 18:37:41 +0000 Subject: [PATCH] Always play beep git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@994 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_voicemail2.c b/apps/app_voicemail2.c index 3e45375df9..53b7940375 100755 --- a/apps/app_voicemail2.c +++ b/apps/app_voicemail2.c @@ -769,7 +769,7 @@ static int leave_voicemail(struct ast_channel *chan, char *ext, int silent, int free_user(vmu); return 0; } - if (!res && (silent < 2)) { + if (res >= 0) { /* Unless we're *really* silent, try to send the beep */ res = ast_streamfile(chan, "beep", chan->language); if (!res)