mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 22:58:21 +00:00
canceled voicemail emails corrupt wav (bug 2957)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1523,7 +1523,8 @@ static int leave_voicemail(struct ast_channel *chan, char *ext, int silent, int
|
||||
free_user(recip);
|
||||
}
|
||||
}
|
||||
notify_new_message(chan, vmu, msgnum, duration, fmt, chan->callerid);
|
||||
if (ast_fileexists(fn, NULL, NULL))
|
||||
notify_new_message(chan, vmu, msgnum, duration, fmt, chan->callerid);
|
||||
} else {
|
||||
res = ast_streamfile(chan, "vm-mailboxfull", chan->language);
|
||||
if (!res)
|
||||
|
Reference in New Issue
Block a user