Display cause code for failure to get channel
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4306 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
e2bad18d0a
commit
d780fba964
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu
|
|||
/* Setup parameters */
|
||||
o->chan = ast_request(tech, in->nativeformats, stuff, &cause);
|
||||
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;
|
||||
HANDLE_CAUSE(cause, in);
|
||||
} else {
|
||||
|
|
Reference in a new issue