[asterisk-commits] jrose: branch 1.8 r375484 - /branches/1.8/apps/app_mixmonitor.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Oct 30 13:48:12 CDT 2012
Author: jrose
Date: Tue Oct 30 13:48:06 2012
New Revision: 375484
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=375484
Log:
mixmonitor: Add a test event
This test event is being used to fix the mixmonitor_audiohook_inherit
test.
Modified:
branches/1.8/apps/app_mixmonitor.c
Modified: branches/1.8/apps/app_mixmonitor.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/apps/app_mixmonitor.c?view=diff&rev=375484&r1=375483&r2=375484
==============================================================================
--- branches/1.8/apps/app_mixmonitor.c (original)
+++ branches/1.8/apps/app_mixmonitor.c Tue Oct 30 13:48:06 2012
@@ -51,6 +51,7 @@
#include "asterisk/channel.h"
#include "asterisk/autochan.h"
#include "asterisk/manager.h"
+#include "asterisk/test.h"
/*** DOCUMENTATION
<application name="MixMonitor" language="en_US">
@@ -351,6 +352,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