diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-20 19:25:54 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-20 19:25:54 +0000 |
commit | 1aa59dfa3b7ec3d638154cbf06e1a875fdf31c68 (patch) | |
tree | 7be0caf87215c878e8e704ba50f43b75c6471d38 /apps/app_dial.c | |
parent | 87e4c85c2d3f9b87d73f69861672695fecf655ab (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/app_dial.c')
-rw-r--r-- | apps/app_dial.c | 2 |
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) |