diff options
author | Mark Spencer <markster@digium.com> | 2004-11-21 20:25:45 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-11-21 20:25:45 +0000 |
commit | a50dd88d24bee895aa4b05822cb1f9e779b14b3d (patch) | |
tree | 72e6b7c40d0fe659b2bf130f673c1e721c46e24b | |
parent | e4d1ada2527db0f20062644ac517aa1cf352b51e (diff) |
Display cause code for failure to get channel
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-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 d5b7ca471..f0d40a2e3 100755 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -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 { |