[asterisk-bugs] [Asterisk 0011340]: Allow channel unique IDs when searching for channels by name

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Dec 3 14:20:47 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11340 
====================================================================== 
Reported By:                michael-fig
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11340
Category:                   Core/NewFeature
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:            1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-21-2007 14:08 CST
Last Modified:              12-03-2007 14:20 CST
====================================================================== 
Summary:                    Allow channel unique IDs when searching for channels
by name
Description: 
This patch allows the use of UniqueIDs in applications and the manager API
anytime a channel name would be specified.
====================================================================== 

---------------------------------------------------------------------- 
 michael-fig - 12-03-07 14:20  
---------------------------------------------------------------------- 
The race condition appears when the dialplan is trying to redirect a
channel that has just connected.  The channel may be undergoing renaming
due to an AsyncGoto or other masquerading operation.

So, the only race is one introduced because the channel doesn't have a
stable name.  The patch fixes that, by making the uniqueid into a stable
name, so that AMI applications using the uniqueid for their work won't have
the channel renamed out from under them. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-03-07 14:20  michael-fig    Note Added: 0074695                          
======================================================================




More information about the asterisk-bugs mailing list