[asterisk-commits] tilghman: branch 1.2 r70444 - /branches/1.2/apps/app_dial.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 20 14:25:55 CDT 2007


Author: tilghman
Date: Wed Jun 20 14:25:54 2007
New Revision: 70444

URL: http://svn.digium.com/view/asterisk?view=rev&rev=70444
Log:
Issue 9997 - Timelimit times out the wrong channel

Modified:
    branches/1.2/apps/app_dial.c

Modified: branches/1.2/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_dial.c?view=diff&rev=70444&r1=70443&r2=70444
==============================================================================
--- branches/1.2/apps/app_dial.c (original)
+++ branches/1.2/apps/app_dial.c Wed Jun 20 14:25:54 2007
@@ -1574,7 +1574,7 @@
 				time_t now;
 
 				time(&now);
-				chan->whentohangup = now + calldurationlimit;
+				peer->whentohangup = now + calldurationlimit;
 			}
 			if (!ast_strlen_zero(dtmfcalled)) { 
 				if (option_verbose > 2)




More information about the asterisk-commits mailing list