Stop stream when interrupted by '#' or '*' or '0' (bug #1689)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3032 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Mark Spencer 21 years ago
parent 41c995dd18
commit 0004e8a4be

@ -1577,6 +1577,8 @@ static int leave_voicemail(struct ast_channel *chan, char *ext, int silent, int
res = 0;
}
}
if (res > 0)
ast_stopstream(chan);
/* Check for a '*' here in case the caller wants to escape from voicemail to something
other than the operator -- an automated attendant or mailbox login for example */
if (res == '*') {

Loading…
Cancel
Save