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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jul 16 16:46:27 CDT 2009


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


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

---------------------------------------------------------------------- 
 (0107877) svnbot (reporter) - 2009-07-16 16:46
 https://issues.asterisk.org/view.php?id=15513#c107877 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 206879

_U  branches/1.6.1/
U   branches/1.6.1/funcs/func_timeout.c

------------------------------------------------------------------------
r206879 | dvossel | 2009-07-16 16:46:27 -0500 (Thu, 16 Jul 2009) | 12
lines

Merged revisions 206877 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r206877 | dvossel | 2009-07-16 16:45:14 -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=206879 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-16 16:46 svnbot         Checkin                                      
2009-07-16 16:46 svnbot         Note Added: 0107877                          
======================================================================




More information about the asterisk-bugs mailing list