summaryrefslogtreecommitdiff
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-11-21 20:27:21 +0000
committerMark Spencer <markster@digium.com>2004-11-21 20:27:21 +0000
commit7f445141f22e2d2b104ce444b374e15a4ffbe500 (patch)
tree8f74ffc7fcab933a1a1c79008a6ab7ad29b4d6f1 /apps/app_dial.c
parenta50dd88d24bee895aa4b05822cb1f9e779b14b3d (diff)
Oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_dial.c')
-rwxr-xr-xapps/app_dial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index f0d40a2e3..f78275203 100755
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -774,7 +774,7 @@ static int dial_exec(struct ast_channel *chan, void *data)
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'\n", tech);
+ ast_log(LOG_NOTICE, "Unable to create channel of type '%s' (cause %d)\n", tech, cause);
HANDLE_CAUSE(cause, chan);
cur = rest;
continue;
@@ -800,7 +800,7 @@ static int dial_exec(struct ast_channel *chan, void *data)
ast_hangup(tmp->chan);
tmp->chan = ast_request(tech, chan->nativeformats, stuff, &cause);
if (!tmp->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);
HANDLE_CAUSE(cause, chan);
cur = rest;
continue;