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
1.2
Joshua Colp 20 years ago
parent 8684599f6c
commit 4e717c8ea6

@ -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:

Loading…
Cancel
Save