Show the names of the codecs instead of the numbers (bug #92)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Martin Pycko
2003-08-16 05:10:35 +00:00
parent 6fc89a80d1
commit 501c800c5a
18 changed files with 112 additions and 62 deletions

View File

@@ -1435,7 +1435,7 @@ static int eagi_exec(struct ast_channel *chan, void *data)
res = agi_exec_full(chan, data, 1);
if (!res) {
if (ast_set_read_format(chan, readformat)) {
ast_log(LOG_WARNING, "Unable to restore channel '%s' to format %d\n", chan->name, readformat);
ast_log(LOG_WARNING, "Unable to restore channel '%s' to format %s\n", chan->name, ast_getformatname(readformat));
}
}
return res;