Fix agent recording issue (bug #4551)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-06-18 16:38:48 +00:00
parent 222b5695e0
commit e74c288783

View File

@@ -447,6 +447,10 @@ static struct ast_frame *agent_read(struct ast_channel *ast)
f = &null_frame;
} else {
p->acknowledged = 1;
/* Use the builtin answer frame for the
recording start check below. */
ast_frfree(f);
f = &answer_frame;
}
}
break;