mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 12:52:33 +00:00
add function to convert a cause code to a string
create MAX_MUSICCLASS instead of using MAX_LANGUAGE git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user