projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67aa337
)
Minor app_dial typo fix
author
Mark Spencer
<markster@digium.com>
Wed, 23 Apr 2003 22:32:28 +0000
(22:32 +0000)
committer
Mark Spencer
<markster@digium.com>
Wed, 23 Apr 2003 22:32:28 +0000
(22:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@898
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_dial.c
patch
|
blob
|
history
diff --git
a/apps/app_dial.c
b/apps/app_dial.c
index
affdeea
..
3219e78
100755
(executable)
--- a/
apps/app_dial.c
+++ b/
apps/app_dial.c
@@
-199,12
+199,12
@@
static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu
ast_log(LOG_NOTICE, "Unable to create local channel for call forward to '%s'\n", tmpchan);
o->stillgoing = 0;
numbusies++;
- }
- if (ast_call(o->chan, tmpchan, 0)) {
+ } else if (ast_call(o->chan, tmpchan, 0)) {
ast_log(LOG_NOTICE, "Failed to dial on local channel for call forward to '%s'\n", tmpchan);
o->stillgoing = 0;
ast_hangup(o->chan);
o->chan = NULL;
+ numbusies++;
}
continue;
}