mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Properly stopsteram on meetme (bug #6137)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1396,9 +1396,10 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
|
||||
if (!menu_active) {
|
||||
menu_active = 1;
|
||||
/* Record this sound! */
|
||||
if (!ast_streamfile(chan, "conf-adminmenu", chan->language))
|
||||
if (!ast_streamfile(chan, "conf-adminmenu", chan->language)) {
|
||||
dtmf = ast_waitstream(chan, AST_DIGIT_ANY);
|
||||
else
|
||||
ast_stopstream(chan);
|
||||
} else
|
||||
dtmf = 0;
|
||||
} else
|
||||
dtmf = f->subclass;
|
||||
@@ -1475,9 +1476,10 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
|
||||
/* User menu */
|
||||
if (!menu_active) {
|
||||
menu_active = 1;
|
||||
if (!ast_streamfile(chan, "conf-usermenu", chan->language))
|
||||
if (!ast_streamfile(chan, "conf-usermenu", chan->language)) {
|
||||
dtmf = ast_waitstream(chan, AST_DIGIT_ANY);
|
||||
else
|
||||
ast_stopstream(chan);
|
||||
} else
|
||||
dtmf = 0;
|
||||
} else
|
||||
dtmf = f->subclass;
|
||||
|
Reference in New Issue
Block a user