aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-21 20:25:45 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-21 20:25:45 +0000
commitd780fba964fc205ed4f7114e456df90325131208 (patch)
tree72e6b7c40d0fe659b2bf130f673c1e721c46e24b /apps/app_dial.c
parente2bad18d0a0544e2128fde4d073fd7cd7a12fc41 (diff)
Display cause code for failure to get channel
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4306 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-rwxr-xr-xapps/app_dial.c2
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 {