Skip to content
Snippets Groups Projects
Commit a50dd88d authored by Mark Spencer's avatar Mark Spencer
Browse files

Display cause code for failure to get channel

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent e4d1ada2
No related branches found
No related tags found
No related merge requests found
...@@ -250,7 +250,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu ...@@ -250,7 +250,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu
/* Setup parameters */ /* Setup parameters */
o->chan = ast_request(tech, in->nativeformats, stuff, &cause); o->chan = ast_request(tech, in->nativeformats, stuff, &cause);
if (!o->chan) { if (!o->chan) {
ast_log(LOG_NOTICE, "Unable to create local channel for call forward to '%s/%s'\n", tech, stuff); ast_log(LOG_NOTICE, "Unable to create local channel for call forward to '%s/%s' (cause = %d)\n", tech, stuff, cause);
o->stillgoing = 0; o->stillgoing = 0;
HANDLE_CAUSE(cause, in); HANDLE_CAUSE(cause, in);
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment