From b97375bc72d01557442ed5e13539c1a8562670c6 Mon Sep 17 00:00:00 2001 From: file Date: Thu, 5 Oct 2006 19:57:16 +0000 Subject: Merged revisions 44501 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44501 | file | 2006-10-05 15:55:41 -0400 (Thu, 05 Oct 2006) | 2 lines Treat busy control frames as hangup in the file streaming core (issue #8097 reported by eldadran) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44502 f38db490-d61c-443f-a65b-d21fe96a405b --- main/file.c | 1 + 1 file changed, 1 insertion(+) (limited to 'main/file.c') diff --git a/main/file.c b/main/file.c index 180133dc2..20c68cf84 100644 --- a/main/file.c +++ b/main/file.c @@ -1051,6 +1051,7 @@ static int waitstream_core(struct ast_channel *c, const char *breakon, case AST_FRAME_CONTROL: switch(fr->subclass) { case AST_CONTROL_HANGUP: + case AST_CONTROL_BUSY: ast_frfree(fr); return -1; case AST_CONTROL_RINGING: -- cgit v1.2.3