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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 20 09:42:09 CST 2011


Author: lmadsen
Date: Thu Jan 20 09:42:05 2011
New Revision: 302917

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=302917
Log:
Option L() is milliseconds, not seconds.
> Change the verbose output of option L() to say milliseconds and not seconds
> as the value is in milliseconds.
> 
> (closes issue #18264)
> Reported by: jacco
> Patches: 
>       app_dial_patch.txt uploaded by lmadsen (license 10)

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/apps/app_dial.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
--- branch-1.4-blocked (original)
+++ branch-1.4-blocked Thu Jan 20 09:42:05 2011
@@ -1,1 +1,1 @@
-/branches/1.4:279344,281185,286070,286381,288116,288412,293922,294163,301869
+/branches/1.4:279344,281185,286070,286381,288116,288412,293922,294163,301869,302916

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=302917&r1=302916&r2=302917
==============================================================================
--- branches/1.6.2/apps/app_dial.c (original)
+++ branches/1.6.2/apps/app_dial.c Thu Jan 20 09:42:05 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 seconds.\n",
+		ast_verb(3, "Setting call duration limit to %.3lf milliseconds.\n",
 			calldurationlimit->tv_sec + calldurationlimit->tv_usec / 1000000.0);
 		config->timelimit = play_to_caller = play_to_callee =
 		config->play_warning = config->warning_freq = 0;
@@ -1614,7 +1614,7 @@
 			pbx_builtin_setvar_helper(chan, "DIALSTATUS", pa.status);
 			goto done;
 		}
-		ast_verb(3, "Setting call duration limit to %.3lf seconds.\n", calldurationlimit.tv_sec + calldurationlimit.tv_usec / 1000000.0);
+		ast_verb(3, "Setting call duration limit to %.3lf milliseconds.\n", calldurationlimit.tv_sec + calldurationlimit.tv_usec / 1000000.0);
 	}
 
 	if (ast_test_flag64(&opts, OPT_SENDDTMF) && !ast_strlen_zero(opt_args[OPT_ARG_SENDDTMF])) {




More information about the asterisk-commits mailing list