mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-03 20:06:24 +00:00
Set quieted flag when receiving a dtmf tone during playback in speechbackground.
(closes issue #16966) Reported by: asackheim git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@264334 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -735,6 +735,7 @@ static int speech_background(struct ast_channel *chan, void *data)
|
|||||||
if (dtmf_terminator != '\0' && f->subclass == dtmf_terminator) {
|
if (dtmf_terminator != '\0' && f->subclass == dtmf_terminator) {
|
||||||
done = 1;
|
done = 1;
|
||||||
} else {
|
} else {
|
||||||
|
quieted = 1;
|
||||||
if (chan->stream != NULL) {
|
if (chan->stream != NULL) {
|
||||||
ast_stopstream(chan);
|
ast_stopstream(chan);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user