[asterisk-commits] jrose: branch 10 r375485 - in /branches/10: ./ apps/app_mixmonitor.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 30 13:56:05 CDT 2012


Author: jrose
Date: Tue Oct 30 13:55:58 2012
New Revision: 375485

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=375485
Log:
mixmonitor: Add a test event

This test event is being used to fix the  mixmonitor_audiohook_inherit
test.
........

Merged revisions 375484 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/10/   (props changed)
    branches/10/apps/app_mixmonitor.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/apps/app_mixmonitor.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/apps/app_mixmonitor.c?view=diff&rev=375485&r1=375484&r2=375485
==============================================================================
--- branches/10/apps/app_mixmonitor.c (original)
+++ branches/10/apps/app_mixmonitor.c Tue Oct 30 13:55:58 2012
@@ -52,6 +52,7 @@
 #include "asterisk/autochan.h"
 #include "asterisk/manager.h"
 #include "asterisk/mod_format.h"
+#include "asterisk/test.h"
 
 /*** DOCUMENTATION
 	<application name="MixMonitor" language="en_US">
@@ -464,6 +465,13 @@
 
 		ast_audiohook_lock(&mixmonitor->audiohook);
 	}
+
+	/* Test Event */
+	ast_test_suite_event_notify("MIXMONITOR_END", "Channel: %s\r\n"
+									"File: %s\r\n",
+									mixmonitor->autochan->chan->name,
+									mixmonitor->filename);
+
 	ast_audiohook_unlock(&mixmonitor->audiohook);
 
 	ast_autochan_destroy(mixmonitor->autochan);




More information about the asterisk-commits mailing list