From: Joshua Colp Date: Thu, 5 Oct 2006 19:55:41 +0000 (+0000) Subject: Treat busy control frames as hangup in the file streaming core (issue #8097 reported... X-Git-Tag: 1.2.13~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e717c8ea696acb714bd9457902cd0b0891f9788;p=thirdparty%2Fasterisk.git 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 --- 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: