[asterisk-bugs] [Asterisk 0017275]: BAD ROUND TIME FOR ANSWEREDTIME
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon May 3 08:45:27 CDT 2010
The following issue has been CLOSED
======================================================================
https://issues.asterisk.org/view.php?id=17275
======================================================================
Reported By: fcois93
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17275
Category: Applications/app_dial
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.6.2.6
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2010-05-03 08:17 CDT
Last Modified: 2010-05-03 08:45 CDT
======================================================================
Summary: BAD ROUND TIME FOR ANSWEREDTIME
Description:
Hello,
I saw that Asterisk don't calcultate fine the ANSWEREDTIME.
I want that when ANSWEREDTIME =~ 5.6 become 6 and if
=https://issues.asterisk.org/view.php?id=11#c10.3 become 10
because, now, if ANSEREDTIME =~ 15.9, it become 15! it isn't correct
I need something like that to have a rounded ANSWEREDTIME but I don't know
where manipulate it.
if ($ANSWEREDTIME <= [0-9].*\.5){
$ANSWEREDTIME = [0-9].*
}else{
$ANSWEREDTIME = `[0-9].* + 1`
}
--
Francois
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2010-05-03 08:45 pabelanger Status new => closed
======================================================================
More information about the asterisk-bugs
mailing list