[asterisk-bugs] [Asterisk 0014461]: [patch] func_devstate not updating Custom hints, and not in sync with ASTDB

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 23 17:26:57 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14461 
====================================================================== 
Reported By:                alecdavis
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   14461
Category:                   Functions/func_devstate
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Target Version:             1.6.1
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 174327 
Request Review:              
====================================================================== 
Date Submitted:             2009-02-11 22:53 CST
Last Modified:              2009-02-23 17:26 CST
====================================================================== 
Summary:                    [patch] func_devstate not updating Custom hints, and
not in sync with ASTDB
Description: 
astdb is always being updated, but sometimes hints are not.
It's not consistant, as I type this bug, it will come right and work
correctly for a while, then go wrong.

astrid*CLI> database show CustomDevstate
...
/CustomDevstate/q8501_a8512                       : INUSE
...

astrid*CLI> core show hints
            8501GXP0001 at BLF_Group_1         : Custom:q8501_a8512   
State:Idle            Watchers  1

further manipulation from the command line.

astrid*CLI> devstate change Custom:q8501_a8512 NOT_INUSE
Changing q8501_a8512 to NOT_INUSE
  == Extension Changed 8501GXP0001[BLF_Group_1] new state InUse for Notify
User GXP0001

astrid*CLI> devstate change Custom:q8501_a8512 INUSE
Changing q8501_a8512 to INUSE
  == Extension Changed 8501GXP0001[BLF_Group_1] new state Idle for Notify
User GXP0001

But the weirdest thing, the BLF lamp on the phone comes right after approx
35 seconds, but still the Hint is incorrect.



====================================================================== 

---------------------------------------------------------------------- 
 (0100595) russell (administrator) - 2009-02-23 17:26
 http://bugs.digium.com/view.php?id=14461#c100595 
---------------------------------------------------------------------- 
Thanks for the feedback!

The code didn't go into 1.6.0 because the problem I fixed does not exist
in 1.6.0, as it was realted to changes introduced in trunk after 1.6.0.  Do
you have problems with 1.6.0, or were you just checking.

Also, karma added, thanks for the report! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-23 17:26 russell        Note Added: 0100595                          
======================================================================




More information about the asterisk-bugs mailing list