diff options
author | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-16 05:10:35 +0000 |
---|---|---|
committer | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-16 05:10:35 +0000 |
commit | c3ef7b672f25621ba670ba22955a3dfc0953c739 (patch) | |
tree | 25d33da4ebede3baf10bbd03a14ef1333cc1ad4a /apps/app_agi.c | |
parent | 5dd6c3c66f480f29669530224f0f26eb3005ca73 (diff) |
Show the names of the codecs instead of the numbers (bug #92)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1348 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_agi.c')
-rwxr-xr-x | apps/app_agi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_agi.c b/apps/app_agi.c index 3e332afc5..ce4f45064 100755 --- a/apps/app_agi.c +++ b/apps/app_agi.c @@ -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; |