]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Treat busy control frames as hangup in the file streaming core (issue #8097 reported...
authorJoshua Colp <jcolp@digium.com>
Thu, 5 Oct 2006 19:55:41 +0000 (19:55 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 5 Oct 2006 19:55:41 +0000 (19:55 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44501 65c4cc65-6c06-0410-ace0-fbb531ad65f3

file.c

diff --git a/file.c b/file.c
index 6bbfc60ab1666775ea2184f4cdf13f1d37d1cfb0..1e65abc6f6927ff8100a5f5abc76c40e2e139b17 100644 (file)
--- 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: