From 4e717c8ea696acb714bd9457902cd0b0891f9788 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Thu, 5 Oct 2006 19:55:41 +0000 Subject: [PATCH] Treat busy control frames as hangup in the file streaming core (issue #8097 reported by eldadran) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44501 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/file.c b/file.c index 6bbfc60ab1..1e65abc6f6 100644 --- a/file.c +++ b/file.c @@ -1028,6 +1028,7 @@ int ast_waitstream(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: