[asterisk-bugs] [Asterisk 0016006]: [patch] call time limit overflow
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Nov 17 15:02:24 CST 2009
The following issue is now READY FOR TESTING.
======================================================================
https://issues.asterisk.org/view.php?id=16006
======================================================================
Reported By: viraptor
Assigned To: mnick
======================================================================
Project: Asterisk
Issue ID: 16006
Category: Applications/app_dial
Reproducibility: always
Severity: trivial
Priority: normal
Status: ready for testing
Asterisk Version: Older 1.6.1
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-10-01 11:21 CDT
Last Modified: 2009-11-17 15:02 CST
======================================================================
Summary: [patch] call time limit overflow
Description:
Call limit specified with L option overflows without warning when the value
reaches 2^31. Call is disconnected without any specific message then.
So really there should be 2 fixes:
- Dial() should report that the call was stopped because of the timeout
- limit of 2^31 should be handled more properly
======================================================================
----------------------------------------------------------------------
(0113906) mnick (manager) - 2009-11-17 15:02
https://issues.asterisk.org/view.php?id=16006#c113906
----------------------------------------------------------------------
added a patch for trunk.
The max 'ms'-value you can now store is (2^63)-1. That means your maximum
timelimit is '292.5 million years'. I think it should be enough.
Tested it with
exten => 8,n,Dial(SIP/mnick,120,rmL(4730000000000::15000));
which is
7 million 2 hundred 50 thousand 5 hundred 44 minutes 59 seconds
Issue History
Date Modified Username Field Change
======================================================================
2009-11-17 15:02 mnick Note Added: 0113906
2009-11-17 15:02 mnick Status assigned => ready for
testing
======================================================================
More information about the asterisk-bugs
mailing list