aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-24 17:05:22 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-24 17:05:22 +0000
commit519a3103edbcf6d1944fc84c97ddfca7d20c9a58 (patch)
tree62f54b0218be8657930c6c27167d7080aad5dbbc /res
parent0296ea1cda9d51c3f147e2533ac73f4b2017ee9d (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@30001 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r--res/res_agi.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/res_agi.c b/res/res_agi.c
index 8f9654443..14713fcc2 100644
--- a/res/res_agi.c
+++ b/res/res_agi.c
@@ -941,6 +941,9 @@ static int handle_recordfile(struct ast_channel *chan, AGI *agi, int argc, char
return RESULT_FAILURE;
}
+ /* Request a video update */
+ ast_indicate(chan, AST_CONTROL_VIDUPDATE);
+
chan->stream = fs;
ast_applystream(chan,fs);
/* really should have checks */
@@ -1004,6 +1007,9 @@ static int handle_recordfile(struct ast_channel *chan, AGI *agi, int argc, char
}
}
break;
+ case AST_FRAME_VIDEO:
+ ast_writestream(fs, f);
+ break;
}
ast_frfree(f);
if (gotsilence)