]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 302917 via svnmerge from
authorLeif Madsen <leif@leifmadsen.com>
Thu, 20 Jan 2011 15:45:39 +0000 (15:45 +0000)
committerLeif Madsen <leif@leifmadsen.com>
Thu, 20 Jan 2011 15:45:39 +0000 (15:45 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r302917 | lmadsen | 2011-01-20 09:42:05 -0600 (Thu, 20 Jan 2011) | 8 lines

  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)
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@302918 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_dial.c

index 50d784b1c8e8880753020a6426ffe8a2abca7870..a1522a81a05268851bd9925dcee464670a21b408 100644 (file)
@@ -1879,7 +1879,7 @@ static int dial_exec_full(struct ast_channel *chan, const char *data, struct ast
                        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])) {