[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:05:53 CDT 2007


The following issue has been REOPENED. 
====================================================================== 
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:                     feedback
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:              
====================================================================== 
Date Submitted:             06-13-2007 02:41 CDT
Last Modified:              07-30-2007 10:05 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
====================================================================== 

---------------------------------------------------------------------- 
 dmb - 07-30-07 10:05  
---------------------------------------------------------------------- 
I wouldn't like any help in this case. I'm use a function right and in this
function asterisk is locked. Only i explain the error.

Thanks 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-30-07 10:05  dmb            Status                   closed => feedback  
07-30-07 10:05  dmb            Resolution               fixed => reopened   
07-30-07 10:05  dmb            Note Added: 0068054                          
======================================================================




More information about the asterisk-bugs mailing list