[asterisk-bugs] [Asterisk 0009962]: Asterisk is locked in ast_get_channel_by_name_locked call

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jul 30 10:19:09 CDT 2007


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=9962 
====================================================================== 
Reported By:                dmb
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   9962
Category:                   Core/General
Reproducibility:            unable to reproduce
Severity:                   block
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.4 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
Resolution:                 reopened
Fixed in Version:           
====================================================================== 
Date Submitted:             06-13-2007 02:41 CDT
Last Modified:              07-30-2007 10:19 CDT
====================================================================== 
Summary:                    Asterisk is locked in ast_get_channel_by_name_locked
call
Description: 
Hello,
In the next escenario ast_get_channel_by_name_locked doesn't return the
control: asterisk is locked in that function.

All ocurrs at same second
1. Event Newstate "up" for a zap channel (Zap/7-1) is received in
my_app.so from Manager.
2. my_app.so redirects the call with Action Redirect.
3. Event Link is received in my_app.so from Manager.
4. my_app.so call ast_get_channel_by_name_locked( Zap/7-1 )

Asterisk doen't return the channel. It is locked inside this function.
my_app.so only requests ast_get_channel_by_name_locked( Zap/7-1 ) once.
I'm sure that the channel Zap/7-1 is locked in other asterisk thread.

Any idea?
Thank you
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-30-07 10:19  russell        Status                   feedback => closed  
======================================================================




More information about the asterisk-bugs mailing list