Always play beep
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@994 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
2b7b0152d2
commit
b4f4a3a814
|
@ -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)
|
||||
|
|
Reference in New Issue