[Home]

Summary:ASTERISK-15061: [patch] incorrect 'core show channel channel-name' output
Reporter:Alexander Anikin (may213)Labels:
Date Opened:2009-10-31 16:00:08Date Closed:2009-12-15 17:41:53.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/Channels
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) core-show-channel.patch
Description:'core show channel ..' command always show first channel in channel list if there is no channel with given name.


****** ADDITIONAL INFORMATION ******

It is bug in ast_channel_cmp_cb function.
Comments:By: Alexander Anikin (may213) 2009-10-31 16:09:09

correcting patch is attached

By: Digium Subversion (svnbot) 2009-12-15 17:41:21.000-0600

Repository: asterisk
Revision: 235226

U   trunk/main/channel.c

------------------------------------------------------------------------
r235226 | jpeeler | 2009-12-15 17:41:20 -0600 (Tue, 15 Dec 2009) | 7 lines

Change match criteria existence in ast_channel_cmp_cb to use ast_strlen_zero.

(closes issue ASTERISK-15061)
Reported by: may213
Patches:
     core-show-channel.patch uploaded by may213 (license 454)

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

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

By: Digium Subversion (svnbot) 2009-12-15 17:41:53.000-0600

Repository: asterisk
Revision: 235227

_U  branches/1.6.2/

------------------------------------------------------------------------
r235227 | jpeeler | 2009-12-15 17:41:52 -0600 (Tue, 15 Dec 2009) | 13 lines

Blocked revisions 235226 via svnmerge

........
 r235226 | jpeeler | 2009-12-15 17:41:20 -0600 (Tue, 15 Dec 2009) | 7 lines
 
 Change match criteria existence in ast_channel_cmp_cb to use ast_strlen_zero.
 
 (closes issue ASTERISK-15061)
 Reported by: may213
 Patches:
       core-show-channel.patch uploaded by may213 (license 454)
........

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

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