From: Tilghman Lesher Date: Wed, 20 Jun 2007 19:25:54 +0000 (+0000) Subject: Issue 9997 - Timelimit times out the wrong channel X-Git-Tag: 1.2.20~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1cc9b496666b31525d222e10a6f170f6870d80b;p=thirdparty%2Fasterisk.git 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 --- 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)