mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@70445 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user