mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 03:48:02 +00:00
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
This commit is contained in:
@@ -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 == '*') {
|
||||
|
||||
Reference in New Issue
Block a user