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 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@375498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
9a80b5da22
commit
1e59b210af
|
@ -55,6 +55,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
|||
#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 @@ static void *mixmonitor_thread(void *obj)
|
|||
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue