mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	Merged revisions 70445 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r70445 | tilghman | 2007-06-20 14:29:23 -0500 (Wed, 20 Jun 2007) | 10 lines 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/trunk@70446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -1722,7 +1722,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags | |||||||
|  |  | ||||||
| 		if (!res) { | 		if (!res) { | ||||||
| 			if (calldurationlimit > 0) { | 			if (calldurationlimit > 0) { | ||||||
| 				chan->whentohangup = time(NULL) + calldurationlimit; | 				peer->whentohangup = time(NULL) + calldurationlimit; | ||||||
| 			} | 			} | ||||||
| 			if (!ast_strlen_zero(dtmfcalled)) {  | 			if (!ast_strlen_zero(dtmfcalled)) {  | ||||||
| 				if (option_verbose > 2) | 				if (option_verbose > 2) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user