From a1cc9b496666b31525d222e10a6f170f6870d80b Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Wed, 20 Jun 2007 19:25:54 +0000 Subject: [PATCH] Issue 9997 - Timelimit times out the wrong channel git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@70444 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_dial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_dial.c b/apps/app_dial.c index ccd6489c87..d36677c2f5 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) -- 2.47.2