[asterisk-bugs] [Asterisk 0017275]: BAD ROUND TIME FOR ANSWEREDTIME

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 3 08:45:18 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
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: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

====================================================================== 

---------------------------------------------------------------------- 
 (0121286) pabelanger (manager) - 2010-05-03 08:45
 https://issues.asterisk.org/view.php?id=17275#c121286 
---------------------------------------------------------------------- 
Thanks for your comments. This does not appear to be a bug report and we
are closing it. We appreciate the difficulties you are facing, but it would
make more sense to raise your question in the support tracker,
http://www.asterisk.org/support 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-03 08:45 pabelanger     Note Added: 0121286                          
======================================================================




More information about the asterisk-bugs mailing list