[asterisk-bugs] [Asterisk 0015513]: TIMEOUT(absolute) return negative value

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jul 16 16:45:15 CDT 2009


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15513 
====================================================================== 
Reported By:                ys
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   15513
Category:                   Functions/func_timeout
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.6.1.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-07-16 04:46 CDT
Last Modified:              2009-07-16 16:45 CDT
====================================================================== 
Summary:                    TIMEOUT(absolute) return negative value
Description: 

TIMEOUT(absolute) in my asterisk 1.6.1.1 always return negative value.
In asterisk 1.4 all ok.

dialplan testcase:

exten =>test,1, SET(TIMEOUT(absolute)= 30)
exten =>test,n, NOOP(${TIMEOUT(absolute)})

-- Executing [001 at test:1] Set("SIP/test-0825b014", "TIMEOUT(absolute)=
30") in new stack
Channel will hangup at 2009-07-16 12:46:36.938 MSD.
    -- Executing [001 at test:2] NoOp("SIP/test-0825b014", "-30.000") in new
stack


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

---------------------------------------------------------------------- 
 (0107875) svnbot (reporter) - 2009-07-16 16:45
 https://issues.asterisk.org/view.php?id=15513#c107875 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 206877

U   trunk/funcs/func_timeout.c

------------------------------------------------------------------------
r206877 | dvossel | 2009-07-16 16:45:15 -0500 (Thu, 16 Jul 2009) | 6 lines

TIMEOUT(absolute) returned negative value.

(closes issue https://issues.asterisk.org/view.php?id=15513)
Reported by: ys


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=206877 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-16 16:45 svnbot         Checkin                                      
2009-07-16 16:45 svnbot         Note Added: 0107875                          
2009-07-16 16:45 svnbot         Status                   assigned => resolved
2009-07-16 16:45 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list