mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 08:40:16 +00:00
(closes issue #10618)
Reported by: dimas Don't pass through the stopped sounds frame.... just drop it. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@81403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1230,14 +1230,7 @@ static struct ast_channel *ast_feature_request_and_dial(struct ast_channel *call
|
|||||||
f = NULL;
|
f = NULL;
|
||||||
ready=1;
|
ready=1;
|
||||||
break;
|
break;
|
||||||
} else if (f->subclass == -1) {
|
} else if (f->subclass != -1) {
|
||||||
if (option_verbose > 2)
|
|
||||||
ast_verbose( VERBOSE_PREFIX_3 "%s stopped sounds\n", chan->name);
|
|
||||||
ast_indicate(caller, -1);
|
|
||||||
ast_frfree(f);
|
|
||||||
f = NULL;
|
|
||||||
break;
|
|
||||||
} else {
|
|
||||||
ast_log(LOG_NOTICE, "Don't know what to do about control frame: %d\n", f->subclass);
|
ast_log(LOG_NOTICE, "Don't know what to do about control frame: %d\n", f->subclass);
|
||||||
}
|
}
|
||||||
/* else who cares */
|
/* else who cares */
|
||||||
|
|||||||
Reference in New Issue
Block a user