Always play beep

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Mark Spencer 22 years ago
parent 11ee28639d
commit 8ee8f1e057

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

Loading…
Cancel
Save