aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-20 19:25:54 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-20 19:25:54 +0000
commit1aa59dfa3b7ec3d638154cbf06e1a875fdf31c68 (patch)
tree7be0caf87215c878e8e704ba50f43b75c6471d38 /apps
parent87e4c85c2d3f9b87d73f69861672695fecf655ab (diff)
Issue 9997 - Timelimit times out the wrong channel
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@70444 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_dial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index ccd6489c8..d36677c2f 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -1574,7 +1574,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
time_t now;
time(&now);
- chan->whentohangup = now + calldurationlimit;
+ peer->whentohangup = now + calldurationlimit;
}
if (!ast_strlen_zero(dtmfcalled)) {
if (option_verbose > 2)