[asterisk-commits] trunk r29988 - in /trunk: ./ res/res_agi.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed May 24 10:02:55 MST 2006


Author: kpfleming
Date: Wed May 24 12:02:54 2006
New Revision: 29988

URL: http://svn.digium.com/view/asterisk?rev=29988&view=rev
Log:
Merged revisions 29973 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29973 | kpfleming | 2006-05-24 11:59:20 -0500 (Wed, 24 May 2006) | 2 lines

support video recording via AGI 'RECORD FILE' command (issue #7068)

........

Modified:
    trunk/   (props changed)
    trunk/res/res_agi.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: trunk/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_agi.c?rev=29988&r1=29987&r2=29988&view=diff
==============================================================================
--- trunk/res/res_agi.c (original)
+++ trunk/res/res_agi.c Wed May 24 12:02:54 2006
@@ -902,6 +902,9 @@
 			return RESULT_FAILURE;
 		}
 		
+		/* Request a video update */
+		ast_indicate(chan, AST_CONTROL_VIDUPDATE);
+	
 		chan->stream = fs;
 		ast_applystream(chan,fs);
 		/* really should have checks */
@@ -965,6 +968,9 @@
                                         }
                             	}
 				break;
+			case AST_FRAME_VIDEO:
+				ast_writestream(fs, f);
+				break;
 			}
 			ast_frfree(f);
 			if (gotsilence)



More information about the asterisk-commits mailing list