mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 16:20:37 +00:00
app_voicemail/app: Remove test events that were duplicated by r421059
Moving the test event raised when a file is played back (which occurred in r421059) broke the ever loving snot out of the voicemail tests. This caused duplicate test events to get raised, as app_voicemail and main/app were raising events prior to call ast_streamfile. The voicemail tests did not enjoy getting multiple events. Since raising the playback event in ast_streamfile is far more useful to the vast majority of tests, this patch keeps the call there and simply removes the extraneous calls that duplicated the event. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@421125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -823,7 +823,6 @@ int ast_play_and_wait(struct ast_channel *chan, const char *fn)
|
||||
{
|
||||
int d = 0;
|
||||
|
||||
ast_test_suite_event_notify("PLAYBACK", "Message: %s", fn);
|
||||
if ((d = ast_streamfile(chan, fn, chan->language))) {
|
||||
return d;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user