[asterisk-commits] lmadsen: branch 1.6.2 r303273 - /branches/1.6.2/apps/app_dial.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 21 10:12:58 CST 2011


Author: lmadsen
Date: Fri Jan 21 10:12:54 2011
New Revision: 303273

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=303273
Log:
Fix changes to L() flag in Dial().

Tony Mountifield pointed out an error I had in my patch. I was a bit too aggressive
on changing 'seconds' to 'milliseconds'. So I decided to do some additioanl testing
and have no changed just the appropriate lines. One line says milliseconds, and the
other says seconds. Probably should change this to be either just seconds or
milliseconds, but I've spent too much time on this already :)

(issue #18264)

Modified:
    branches/1.6.2/apps/app_dial.c

Modified: branches/1.6.2/apps/app_dial.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/apps/app_dial.c?view=diff&rev=303273&r1=303272&r2=303273
==============================================================================
--- branches/1.6.2/apps/app_dial.c (original)
+++ branches/1.6.2/apps/app_dial.c Fri Jan 21 10:12:54 2011
@@ -1239,7 +1239,7 @@
 	if (!config->play_warning && !config->start_sound && !config->end_sound && config->timelimit) {
 		calldurationlimit->tv_sec = config->timelimit / 1000;
 		calldurationlimit->tv_usec = (config->timelimit % 1000) * 1000;
-		ast_verb(3, "Setting call duration limit to %.3lf milliseconds.\n",
+		ast_verb(3, "Setting call duration limit to %.3lf seconds.\n",
 			calldurationlimit->tv_sec + calldurationlimit->tv_usec / 1000000.0);
 		config->timelimit = play_to_caller = play_to_callee =
 		config->play_warning = config->warning_freq = 0;




More information about the asterisk-commits mailing list