Make voicemail2 save video too, if available

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-06-29 04:03:09 +00:00
parent 817fc344e7
commit 8a20115615

View File

@@ -870,6 +870,9 @@ static int play_and_record(struct ast_channel *chan, char *playfile, char *recor
ast_frfree(f); ast_frfree(f);
break; break;
} }
} else if (f->frametype == AST_FRAME_VIDEO) {
/* Write only once */
ast_writestream(others[0], f);
} else if (f->frametype == AST_FRAME_DTMF) { } else if (f->frametype == AST_FRAME_DTMF) {
if (f->subclass == '#') { if (f->subclass == '#') {
if (option_verbose > 2) if (option_verbose > 2)