[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
Wed Jul 23 13:49:38 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-23-2008 13:49 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.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 07-23-08 13:49  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 133101

U   branches/1.4/apps/app_chanspy.c

------------------------------------------------------------------------
r133101 | mmichelson | 2008-07-23 13:49:26 -0500 (Wed, 23 Jul 2008) | 6
lines

Update the "last" channel in next_channel in app_chanspy so
that the same pseudo channel isn't constantly returned.

related to issue http://bugs.digium.com/view.php?id=13124


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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-23-08 13:49  svnbot         Checkin                                      
07-23-08 13:49  svnbot         Note Added: 0090625                          
======================================================================




More information about the asterisk-bugs mailing list