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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 5 22:45:08 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:             2008-07-21 10:03 CDT
Last Modified:              2008-08-05 22:45 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0091130) svnbot (reporter) - 2008-08-05 22:45
 http://bugs.digium.com/view.php?id=13124#c91130 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 135949

U   branches/1.4/main/channel.c

------------------------------------------------------------------------
r135949 | tilghman | 2008-08-05 22:45:06 -0500 (Tue, 05 Aug 2008) | 4
lines

Fix a longstanding bug in channel walking logic, and fix the explanation
to
make sense.
(Closes issue http://bugs.digium.com/view.php?id=13124)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=135949 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-05 22:45 svnbot         Note Added: 0091130                          
======================================================================




More information about the asterisk-bugs mailing list