[asterisk-bugs] [Asterisk 0017275]: BAD ROUND TIME FOR ANSWEREDTIME
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon May 3 08:17:43 CDT 2010
The following issue has been SUBMITTED.
======================================================================
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: new
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:
======================================================================
Date Submitted: 2010-05-03 08:17 CDT
Last Modified: 2010-05-03 08:17 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:17 fcois93 New Issue
2010-05-03 08:17 fcois93 Asterisk Version => 1.6.2.6
2010-05-03 08:17 fcois93 Regression => No
2010-05-03 08:17 fcois93 SVN Branch (only for SVN checkouts, not tarball
releases) => N/A
======================================================================
More information about the asterisk-bugs
mailing list