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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 26 02:14:39 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13238 
====================================================================== 
Reported By:                kowalma
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13238
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
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-01-26 02:14 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
====================================================================== 

---------------------------------------------------------------------- 
 (0098720) alecdavis (reporter) - 2009-01-26 02:14
 http://bugs.digium.com/view.php?id=13238#c98720 
---------------------------------------------------------------------- 
I should have said when I added my previous note, I went to apply the patch
but it fails, there is no occurance of ast_devstate_changed_literal
anywhere in channel.c only 2 occurances of
'ast_device_state_changed_literal(name);'

the ASTERISK_FILE_VERSION of channel.c is 141950

After reviewing the trunk version of channel.c and your original patch I
changed the 2 places I found 'ast_device_state_changed_literal(name);' to
'ast_devstate_changed_literal(AST_DEVICE_UNKNOWN, name);'

Seems to be working, but time and perhaps lots of it will tell. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-26 02:14 alecdavis      Note Added: 0098720                          
======================================================================




More information about the asterisk-bugs mailing list