[asterisk-bugs] [Asterisk 0018018]: [patch] Hints for non-existent devices are in an Idle state

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Apr 6 03:13:15 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18018 
====================================================================== 
Reported By:                ebroad
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18018
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-2283 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 287310 
Request Review:              
====================================================================== 
Date Submitted:             2010-09-20 09:37 CDT
Last Modified:              2011-04-06 03:13 CDT
====================================================================== 
Summary:                    [patch] Hints for non-existent devices are in an
Idle state
Description: 
bhn-pbx01*CLI> core show hint 900
900 at broadhn-internal    : SIP/foo             State:Idle           
Watchers  0
1 hint matching extension 900


foo is not a valid SIP device:

bhn-pbx01*CLI> sip show peer foo
Peer foo not found.

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016035 [patch] Status of dahdi/zap channels in...
related to          0018860 Odd Behavior when dialed sip channel do...
====================================================================== 

---------------------------------------------------------------------- 
 (0133426) schmidts (manager) - 2011-04-06 03:13
 https://issues.asterisk.org/view.php?id=18018#c133426 
---------------------------------------------------------------------- 
after rereading devicestate.c again yesterday i found something which could
cause this issue.

in ast_devstate_aggregate_add if a device is unavailable this state is not
aggregated right, this causes in ast_devstate_aggregate_result that we see
the device state not in use.

so i think the problem is in devicestate.c not in chan_sip.c 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-06 03:13 schmidts       Note Added: 0133426                          
======================================================================




More information about the asterisk-bugs mailing list