[asterisk-commits] qwell: trunk r51147 - in /trunk: ./ main/file.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Jan 16 10:39:40 MST 2007
Author: qwell
Date: Tue Jan 16 11:39:39 2007
New Revision: 51147
URL: http://svn.digium.com/view/asterisk?view=rev&rev=51147
Log:
Merged revisions 51146 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51146 | qwell | 2007-01-16 11:36:53 -0600 (Tue, 16 Jan 2007) | 6 lines
Display more useful output when streaming files.
Include the channel name to which the file is being played.
Issue 8828, patch by junky.
........
Modified:
trunk/ (props changed)
trunk/main/file.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/file.c
URL: http://svn.digium.com/view/asterisk/trunk/main/file.c?view=diff&rev=51147&r1=51146&r2=51147
==============================================================================
--- trunk/main/file.c (original)
+++ trunk/main/file.c Tue Jan 16 11:39:39 2007
@@ -799,10 +799,9 @@
return -1;
if (vfs && ast_playstream(vfs))
return -1;
-#if 1
if (option_verbose > 2)
- ast_verbose(VERBOSE_PREFIX_3 "Playing '%s' (language '%s')\n", filename, preflang ? preflang : "default");
-#endif
+ ast_verbose(VERBOSE_PREFIX_3 "<%s> Playing '%s' (language '%s')\n", chan->name, filename, preflang ? preflang : "default");
+
return 0;
}
ast_log(LOG_WARNING, "Unable to open %s (format %s): %s\n", filename, ast_getformatname_multiple(fmt, sizeof(fmt), chan->nativeformats), strerror(errno));
More information about the asterisk-commits
mailing list