[asterisk-bugs] [Asterisk 0013124]: [patch] Search channel by name prefix fails if a previous channel was defined in ast_channel_find_locked.

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jul 21 10:04:24 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13124 
====================================================================== 
Reported By:                ramonpeek
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13124
Category:                   Core/Channels
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.21 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-21-2008 10:03 CDT
Last Modified:              07-21-2008 10:04 CDT
====================================================================== 
Summary:                    [patch] Search channel by name prefix fails if a
previous channel was defined in ast_channel_find_locked.
Description: 
Search channel by name prefix fails if a previous channel was defined in
ast_channel_find_locked.

The function always return the previous value, because the previous
channel value was constantly restored.
This caused failures in applications like Chanspy if searching for the
next active channel with a certain prefix was used.
====================================================================== 

---------------------------------------------------------------------- 
 ramonpeek - 07-21-08 10:04  
---------------------------------------------------------------------- 
The attached patch fixes this issue. ;-) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-21-08 10:04  ramonpeek      Note Added: 0090523                          
======================================================================




More information about the asterisk-bugs mailing list