[asterisk-bugs] [Asterisk 0018207]: Function LOCK doesn't wait for the lock as documented

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Oct 25 06:00:27 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18207 
====================================================================== 
Reported By:                corruptor
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   18207
Category:                   Functions/func_lock
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.2.13 
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-10-25 06:00 CDT
Last Modified:              2010-10-25 06:00 CDT
====================================================================== 
Summary:                    Function LOCK doesn't wait for the lock as
documented
Description: 
I am testing function LOCK and "core show function LOCK" says "LOCK will
wait for the lock to become availables". NOTE says it will only attempt to
lock for 3 seconds.
I've created simple dialplan and tested this function. LOCK doesn't wait
for 3 seconds. It just returnes '0' and contunues through the dialplan.
We have a spacial for checking availability of the lock TRYLOCK so I
assume LOCK has to wait and current behaviour is wrong.

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-25 06:00 corruptor      New Issue                                    
2010-10-25 06:00 corruptor      Status                   new => assigned     
2010-10-25 06:00 corruptor      Assigned To               => tilghman        
2010-10-25 06:00 corruptor      Asterisk Version          => 1.6.2.13        
2010-10-25 06:00 corruptor      Regression                => No              
2010-10-25 06:00 corruptor      SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list