aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-20 19:29:23 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-20 19:29:23 +0000
commit6f2e5448870a72b352c7fcb0e1547a85825145e9 (patch)
treefd1b1f18ce11607464981d3227b2bf2b76ece99e /apps/app_dial.c
parent830b976487ffbde30b57c58b37299ada76d4219e (diff)
Merged revisions 70444 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r70444 | tilghman | 2007-06-20 14:25:54 -0500 (Wed, 20 Jun 2007) | 2 lines Issue 9997 - Timelimit times out the wrong channel ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@70445 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-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 c18858021..74b51d974 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -1575,7 +1575,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
if (!res) {
if (calldurationlimit > 0) {
- chan->whentohangup = time(NULL) + calldurationlimit;
+ peer->whentohangup = time(NULL) + calldurationlimit;
}
if (!ast_strlen_zero(dtmfcalled)) {
if (option_verbose > 2)