From 3b53a9cdb302417e42928225266a763bf826b9be Mon Sep 17 00:00:00 2001 From: Matthew Jordan Date: Mon, 22 Aug 2011 19:19:44 +0000 Subject: Merged revisions 332817 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r332817 | mjordan | 2011-08-22 13:15:51 -0500 (Mon, 22 Aug 2011) | 4 lines Review: https://reviewboard.asterisk.org/r/1364/ This update adds a new AMI event, TestEvent, which is enabled when the TEST_FRAMEWORK compiler flag is defined. It also adds initial usage of this event to app_voicemail. The TestEvent AMI event is used extensively by the voicemail tests in the Asterisk Test Suite. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@332844 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/file.c | 1 + 1 file changed, 1 insertion(+) (limited to 'main/file.c') diff --git a/main/file.c b/main/file.c index 6912a37bc..f1e590385 100644 --- a/main/file.c +++ b/main/file.c @@ -1410,6 +1410,7 @@ int ast_stream_and_wait(struct ast_channel *chan, const char *file, const char * { int res = 0; if (!ast_strlen_zero(file)) { + ast_test_suite_event_notify("PLAYBACK", "Message: %s", file); res = ast_streamfile(chan, file, chan->language); if (!res) { res = ast_waitstream(chan, digits); -- cgit v1.2.3