[asterisk-bugs] [Asterisk 0010540]: timeout value should accept floating point numbers
noreply at bugs.digium.com
noreply at bugs.digium.com
Wed Nov 28 17:27:02 CST 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=10540
======================================================================
Reported By: spendergrass
Assigned To: Corydon76
======================================================================
Project: Asterisk
Issue ID: 10540
Category: Functions/func_timeout
Reproducibility: always
Severity: feature
Priority: normal
Status: ready for testing
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 89276
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 08-23-2007 13:27 CDT
Last Modified: 11-28-2007 17:27 CST
======================================================================
Summary: timeout value should accept floating point numbers
Description:
Example, setting digit timeout value to 1.5 seconds should be accepted.
Currently, it rounds down to nearest whole number.
======================================================================
----------------------------------------------------------------------
blitzrage - 11-28-07 17:27
----------------------------------------------------------------------
Patch seems to set the values internally ok... but when I use
TIMEOUT(absolute) the call drops immediately instead of dropping at the
time it gives on the display.
-- Executing [800 at test_timeout_function:1]
NoOp("SIP/outside1-098ab620", "") in new stack
-- Executing [800 at test_timeout_function:2]
Set("SIP/outside1-098ab620", "TIMEOUT(digit)=1.5") in new stack
-- Digit timeout set to 1.500
-- Executing [800 at test_timeout_function:3]
Set("SIP/outside1-098ab620", "TIMEOUT(response)=5.5") in new stack
-- Response timeout set to 5.500
-- Executing [800 at test_timeout_function:4]
Verbose("SIP/outside1-098ab620", "1,Wed Nov 28 16:43:29 EST 2007") in new
stack
Wed Nov 28 16:43:29 EST 2007
-- Executing [800 at test_timeout_function:5]
Set("SIP/outside1-098ab620", "TIMEOUT(absolute)=7.8") in new stack
-- Channel will hangup at 2007-11-28 16:43:37.320 EST.
-- Executing [h at test_timeout_function:1]
Verbose("SIP/outside1-098ab620", "1,Wed Nov 28 16:43:29 EST 2007") in new
stack
Wed Nov 28 16:43:29 EST 2007
Issue History
Date Modified Username Field Change
======================================================================
11-28-07 17:27 blitzrage Note Added: 0074527
======================================================================
More information about the asterisk-bugs
mailing list