[asterisk-bugs] [Asterisk 0015753]: [patch] Custom devices do not interoperate with distributed events properly

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Sep 11 07:11:42 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15753 
====================================================================== 
Reported By:                Marquis
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   15753
Category:                   Functions/func_devstate
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 209992 
Request Review:              
====================================================================== 
Date Submitted:             2009-08-20 14:29 CDT
Last Modified:              2009-09-11 07:11 CDT
====================================================================== 
Summary:                    [patch] Custom devices do not interoperate with
distributed events properly
Description: 
Since func_devstate isn't subscribing to events, it has no way of knowing
when the state changes on a remote node and thus can't (and doesn't) update
the AstDB accordingly.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
child of            0015757 Add support for distributing device sta...
====================================================================== 

---------------------------------------------------------------------- 
 (0110567) russell (administrator) - 2009-09-11 07:11
 https://issues.asterisk.org/view.php?id=15753#c110567 
---------------------------------------------------------------------- 
AstDB should not have the full distributed device state stored away.  It
should only have the per-server state stored there.  When something
subscribes to a Custom state, they are not getting a value straight from
here.  There is code in devicestate.c that takes the known states for all
nodes and determines what the overall state value is.

What problem did you encounter that led you to making this change? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-11 07:11 russell        Note Added: 0110567                          
======================================================================




More information about the asterisk-bugs mailing list