[asterisk-commits] lmadsen: branch 1.4 r302916 - /branches/1.4/apps/app_dial.c

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


Author: lmadsen
Date: Thu Jan 20 09:38:33 2011
New Revision: 302916

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=302916
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)
Tested by: lmadsen, jacco

Modified:
    branches/1.4/apps/app_dial.c

Modified: branches/1.4/apps/app_dial.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/apps/app_dial.c?view=diff&rev=302916&r1=302915&r2=302916
==============================================================================
--- branches/1.4/apps/app_dial.c (original)
+++ branches/1.4/apps/app_dial.c Thu Jan 20 09:38:33 2011
@@ -1002,7 +1002,7 @@
 			goto done;
 		}
 		if (option_verbose > 2)
-			ast_verbose(VERBOSE_PREFIX_3 "Setting call duration limit to %d seconds.\n", calldurationlimit);
+			ast_verbose(VERBOSE_PREFIX_3 "Setting call duration limit to %d milliseconds.\n", calldurationlimit);
 	}
 
 	if (ast_test_flag(&opts, OPT_SENDDTMF) && !ast_strlen_zero(opt_args[OPT_ARG_SENDDTMF])) {
@@ -1069,7 +1069,7 @@
 		if (!play_warning && !start_sound && !end_sound && timelimit) {
 			calldurationlimit = timelimit / 1000;
 			if (option_verbose > 2)
-				ast_verbose(VERBOSE_PREFIX_3 "Setting call duration limit to %d seconds.\n", calldurationlimit);
+				ast_verbose(VERBOSE_PREFIX_3 "Setting call duration limit to %d milliseconds.\n", calldurationlimit);
 			timelimit = play_to_caller = play_to_callee = play_warning = warning_freq = 0;
 		} else if (option_verbose > 2) {
 			ast_verbose(VERBOSE_PREFIX_3 "Limit Data for this call:\n");




More information about the asterisk-commits mailing list