aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-23 22:32:28 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-23 22:32:28 +0000
commite46a1238f255aad5d253eb055d4c0ad3f69286e1 (patch)
tree43c0d99a6b1d13dd0b4e65391b43bf3897ec8f0a /apps
parent8682270e82963beb90859ad4da35704473f6280a (diff)
Minor app_dial typo fix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@898 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-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 affdeea8b..3219e781b 100755
--- 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;
}