[asterisk-commits] russell: trunk r58208 - /trunk/main/file.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Mar 6 18:07:17 MST 2007


Author: russell
Date: Tue Mar  6 19:07:16 2007
New Revision: 58208

URL: http://svn.digium.com/view/asterisk?view=rev&rev=58208
Log:
Add the format of the file that is currently being played to the verbose message.
(issue #9105, junky)

Modified:
    trunk/main/file.c

Modified: trunk/main/file.c
URL: http://svn.digium.com/view/asterisk/trunk/main/file.c?view=diff&rev=58208&r1=58207&r2=58208
==============================================================================
--- trunk/main/file.c (original)
+++ trunk/main/file.c Tue Mar  6 19:07:16 2007
@@ -791,7 +791,7 @@
 		if (vfs && ast_playstream(vfs))
 			return -1;
 		if (option_verbose > 2)
-			ast_verbose(VERBOSE_PREFIX_3 "<%s> Playing '%s' (language '%s')\n", chan->name, filename, preflang ? preflang : "default");
+			ast_verbose(VERBOSE_PREFIX_3 "<%s> Playing '%s.%s' (language '%s')\n", chan->name, filename, ast_getformatname(chan->writeformat), preflang ? preflang : "default");
 
 		return 0;
 	}



More information about the asterisk-commits mailing list