Skip to content
Snippets Groups Projects
Commit 3b354716 authored by Joshua Colp's avatar Joshua Colp
Browse files

Merged revisions 81369 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81369 | file | 2007-08-30 11:23:40 -0300 (Thu, 30 Aug 2007) | 4 lines

(issue #10599)
Reported by: dimas
Handle the -1 control subclass during feature dialing (it indicates to stop sounds).

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 16696af3
No related branches found
No related tags found
No related merge requests found
......@@ -1625,6 +1625,13 @@ static struct ast_channel *ast_feature_request_and_dial(struct ast_channel *call
f = NULL;
ready=1;
break;
} 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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment