From: Russell Bryant Date: Wed, 7 Mar 2007 01:07:16 +0000 (+0000) Subject: Add the format of the file that is currently being played to the verbose message. X-Git-Tag: 1.6.0-beta1~3^2~3042 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a36a9ade5e1b3f26a8af032ef1f28e293e9bada6;p=thirdparty%2Fasterisk.git Add the format of the file that is currently being played to the verbose message. (issue #9105, junky) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58208 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/file.c b/main/file.c index c259d5a323..e853258925 100644 --- a/main/file.c +++ b/main/file.c @@ -791,7 +791,7 @@ int ast_streamfile(struct ast_channel *chan, const char *filename, const char *p 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; }