[svn-commits] mjordan: branch 13 r421062 - in /branches/13: ./ main/app.c main/file.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Aug 14 15:58:56 CDT 2014
Author: mjordan
Date: Thu Aug 14 15:58:54 2014
New Revision: 421062
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=421062
Log:
main/file: Move test event to emit PLAYBACK event more consistently
This is being done in advance of the test for ASTERISK-23953
........
Merged revisions 421059 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 421060 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 421061 from http://svn.asterisk.org/svn/asterisk/branches/12
Modified:
branches/13/ (props changed)
branches/13/main/app.c
branches/13/main/file.c
Propchange: branches/13/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.
Modified: branches/13/main/app.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/main/app.c?view=diff&rev=421062&r1=421061&r2=421062
==============================================================================
--- branches/13/main/app.c (original)
+++ branches/13/main/app.c Thu Aug 14 15:58:54 2014
@@ -257,7 +257,6 @@
filename = ast_strdupa(prompt);
while ((front = strsep(&filename, "&"))) {
- ast_test_suite_event_notify("PLAYBACK", "Message: %s\r\nChannel: %s", front, ast_channel_name(c));
if (!ast_strlen_zero(front)) {
res = ast_streamfile(c, front, ast_channel_language(c));
if (res)
Modified: branches/13/main/file.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/main/file.c?view=diff&rev=421062&r1=421061&r2=421062
==============================================================================
--- branches/13/main/file.c (original)
+++ branches/13/main/file.c Thu Aug 14 15:58:54 2014
@@ -1122,6 +1122,7 @@
return -1;
if (vfs && ast_applystream(chan, vfs))
return -1;
+ ast_test_suite_event_notify("PLAYBACK", "Message: %s\r\nChannel: %s", filename, ast_channel_name(chan));
res = ast_playstream(fs);
if (!res && vfs)
res = ast_playstream(vfs);
@@ -1628,7 +1629,6 @@
{
int res = 0;
if (!ast_strlen_zero(file)) {
- ast_test_suite_event_notify("PLAYBACK", "Message: %s\r\nChannel: %s", file, ast_channel_name(chan));
res = ast_streamfile(chan, file, ast_channel_language(chan));
if (!res) {
res = ast_waitstream(chan, digits);
More information about the svn-commits
mailing list