Always play beep

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2003-05-11 18:37:41 +00:00
parent 11ee28639d
commit 8ee8f1e057
1 changed files with 1 additions and 1 deletions

View File

@ -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)