From 83cfc475d98496f283b49734635d486e4eea9924 Mon Sep 17 00:00:00 2001 From: markster Date: Sun, 29 Jun 2003 04:03:09 +0000 Subject: [PATCH] Make voicemail2 save video too, if available git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1133 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_voicemail2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/app_voicemail2.c b/apps/app_voicemail2.c index ed729f8c2..719a785d1 100755 --- a/apps/app_voicemail2.c +++ b/apps/app_voicemail2.c @@ -870,6 +870,9 @@ static int play_and_record(struct ast_channel *chan, char *playfile, char *recor ast_frfree(f); break; } + } else if (f->frametype == AST_FRAME_VIDEO) { + /* Write only once */ + ast_writestream(others[0], f); } else if (f->frametype == AST_FRAME_DTMF) { if (f->subclass == '#') { if (option_verbose > 2)