Display language (bug #256)
authorMark Spencer <markster@digium.com>
Sat, 25 Oct 2003 18:15:04 +0000 (18:15 +0000)
committerMark Spencer <markster@digium.com>
Sat, 25 Oct 2003 18:15:04 +0000 (18:15 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1670 65c4cc65-6c06-0410-ace0-fbb531ad65f3

file.c

diff --git a/file.c b/file.c
index 27fbe23..4213a23 100755 (executable)
--- a/file.c
+++ b/file.c
@@ -718,7 +718,7 @@ int ast_streamfile(struct ast_channel *chan, char *filename, char *preflang)
                        return -1;
 #if 1
                if (option_verbose > 2)
-                       ast_verbose(VERBOSE_PREFIX_3 "Playing '%s'\n", filename);
+                       ast_verbose(VERBOSE_PREFIX_3 "Playing '%s' (language '%s')\n", filename, preflang ? preflang : "default");
 #endif
                return 0;
        }