[Home]

Summary:ASTERISK-15245: [patch] Hints do not have the correct state on initialization
Reporter:Laurent Steffan (lmsteffan)Labels:
Date Opened:2009-11-30 14:49:15.000-0600Date Closed:2011-01-29 16:26:19.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/PBX
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) event_compare.patch
Description:Some hints get initialized to a wrong state. For instance, if you have a hint called "SIP/6197", it is assigned the value InUse. The corresponding phone BLFs, when they exist, are therefore lit up when they should not (or vice-versa).

****** ADDITIONAL INFORMATION ******

I believe that it is due to the wrong comparison being performed on events : I would expect the *value* of the events is to be compared, not only their existence. I have prepared a patch that seems to work.
Comments:By: Andrew Latham (lathama) 2010-12-09 16:28:33.000-0600

This is applied in Trunk and likely 1.8 branch.  Close?

By: Sean Bright (seanbright) 2011-01-29 16:26:18.000-0600

Fixed in ASTERISK-15431