aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-05 19:55:41 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-05 19:55:41 +0000
commit6641f1b6ae6b2e63c0b6940325fa90c86ab2a801 (patch)
treece7afc1a5e42283265a7542c6c40f6d21f22223b /file.c
parentc0266b232dd0e10562129415f0a5d7a7c2707897 (diff)
Treat busy control frames as hangup in the file streaming core (issue #8097 reported by eldadran)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44501 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'file.c')
-rw-r--r--file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/file.c b/file.c
index 6bbfc60ab..1e65abc6f 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: