summaryrefslogtreecommitdiff
path: root/apps/app_dial.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r--apps/app_dial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index c3cc26243..6c1501b63 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -505,9 +505,9 @@ static void do_forward(struct dial_localuser *o,
ast_set_callerid(c, S_OR(in->macroexten, in->exten), get_cid_name(cidname, sizeof(cidname), in), NULL);
}
}
+ /* Hangup the original channel now, in case we needed it */
+ ast_hangup(c);
}
- /* Hangup the original channel now, in case we needed it */
- ast_hangup(c);
}
/* argument used for some functions. */