mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user