[asterisk-commits] jrose: branch 11 r375486 - in /branches/11: ./ apps/app_mixmonitor.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 30 14:09:11 CDT 2012


Author: jrose
Date: Tue Oct 30 14:09:04 2012
New Revision: 375486

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=375486
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
........

Merged revisions 375485 from http://svn.asterisk.org/svn/asterisk/branches/10

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

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

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




More information about the asterisk-commits mailing list