[asterisk-bugs] [Asterisk 0013238]: False state in core show hints

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Feb 11 08:44:49 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13238 
====================================================================== 
Reported By:                kowalma
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13238
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0-beta9 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-08-05 07:45 CDT
Last Modified:              2009-02-11 08:44 CST
====================================================================== 
Summary:                    False state in core show hints
Description: 
core show hint shows false value of dev state:

asterisk-IBM*CLI> core show hint 1231
                   1231 at hints               : SIP/1231             
State:InUse           Watchers  0
1 hint matching extension 1231


asterisk-IBM:/usr/src# rasterisk -x "core show channels" | grep 1231
asterisk-IBM:/usr/src#

asterisk-IBM:/usr/src# rasterisk -x "sip show channels" | grep 1231

SIP/1231 is asterisk 1.4.19, asterisk IBM (where I do core show hints) is
1.6.beta9

Restarting asterisk on 1231 does not solve the problem. 
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013935 Calls are not beeing disconnected
====================================================================== 

---------------------------------------------------------------------- 
 (0099880) svnbot (reporter) - 2009-02-11 08:44
 http://bugs.digium.com/view.php?id=13238#c99880 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 174844

U   trunk/main/channel.c

------------------------------------------------------------------------
r174844 | file | 2009-02-11 08:44:47 -0600 (Wed, 11 Feb 2009) | 10 lines

Tell the device state core a change happened when a channel is freed but
not a specific state.
We need to do this because while we know that the freeing of the channel
may cause something to become
not in use we do not know this for sure. There may be another channel that
is still up which would cause
it to be in use.
(closes issue http://bugs.digium.com/view.php?id=13238)
Reported by: kowalma
Patches:
      20090121__bug13238.diff.txt uploaded by Corydon76 (license 14)
Tested by: alecdavis

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-11 08:44 svnbot         Note Added: 0099880                          
======================================================================




More information about the asterisk-bugs mailing list