diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-05 17:16:17 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-05 17:16:17 +0000 |
commit | 0b7a2ea0e78233b0a84ee200882963c3e46d234b (patch) | |
tree | 7775ce00d82dfa846081638a63b5b8eea3e11f58 /apps | |
parent | 0062027482da7327018d70e3fb2ed0ceed0853d8 (diff) |
add function to convert a cause code to a string
create MAX_MUSICCLASS instead of using MAX_LANGUAGE
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6024 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_dial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index e9976375a..333017e04 100755 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -974,7 +974,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags tmp->chan = ast_request(tech, chan->nativeformats, numsubst, &cause); if (!tmp->chan) { /* If we can't, just go on to the next call */ - ast_log(LOG_NOTICE, "Unable to create channel of type '%s' (cause %d)\n", tech, cause); + ast_log(LOG_NOTICE, "Unable to create channel of type '%s' (cause %d - %s)\n", tech, cause, ast_cause2str(cause)); HANDLE_CAUSE(cause, chan); cur = rest; continue; |