[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
Fri Feb 13 14:37:44 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-13 14:37 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.
======================================================================
----------------------------------------------------------------------
(0100140) alecdavis (reporter) - 2009-02-13 14:37
http://bugs.digium.com/view.php?id=14461#c100140
----------------------------------------------------------------------
Why target 1.6.1, it's been a problem for us since 1.6.0-rc6.
Even in 1.4.18 before we went to 1.6.0 using the BLF lights for
CustomDevice states didn't work properly, although 1.4 required the
devstate backport.
Are we going to leave this as a workaround, or can you fix the scheduling
or what ever is required to prevent the race condition?
Issue History
Date Modified Username Field Change
======================================================================
2009-02-13 14:37 alecdavis Note Added: 0100140
======================================================================
More information about the asterisk-bugs
mailing list