[asterisk-commits] jrose: trunk r375498 - in /trunk: ./ apps/app_mixmonitor.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Oct 30 14:20:36 CDT 2012
Author: jrose
Date: Tue Oct 30 14:20:33 2012
New Revision: 375498
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=375498
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
........
Merged revisions 375486 from http://svn.asterisk.org/svn/asterisk/branches/11
Modified:
trunk/ (props changed)
trunk/apps/app_mixmonitor.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.
Modified: trunk/apps/app_mixmonitor.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_mixmonitor.c?view=diff&rev=375498&r1=375497&r2=375498
==============================================================================
--- trunk/apps/app_mixmonitor.c (original)
+++ trunk/apps/app_mixmonitor.c Tue Oct 30 14:20:33 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