]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 44501 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Thu, 5 Oct 2006 19:57:16 +0000 (19:57 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 5 Oct 2006 19:57:16 +0000 (19:57 +0000)
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@44502 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/file.c

index 180133dc2b8f4045b950265ae156b8c3453315b9..20c68cf8468198c790435bbd7adea715514ccc0b 100644 (file)
@@ -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: