Gianluca Merlo Posted May 9, 2018 Report Posted May 9, 2018 Hello, I apologize if the question is trivial or has been asked elsewhere, I have briefly searched for guidance on the topic, but failed to find a clear answer. I have an application that makes use of user-based ring groups (members are users), and in the application users can enable/disable their "reachability". I used the following approaches to the problem: Actually modify all ring groups, adding and removing users according to their reachability preference Set the "enabled" property in all devices owned by a user according to the user reachablity preference Both work correctly, but I would like to simplify the application logic. I noticed that setting the "enabled" property of the user itself seems to have no effect on how the user devices are added to the endpoints of the ring group (i.e., enabled devices owned by a disabled user still end up as valid endpoints for the ring group). On the opposite, I also tried using the "do_not_disturb" property of the user, which instead works as expected (devices owned by the user do not end up in the ring group endpoint list). Is the fact that the "enabled" property of a user has no effect on how ring groups select endpoints for a user to be considered a bug, or is the property used solely to disable administrative access for a user? Do you find that the correct answer for this problem is using the "do_not_disturb" feature? Thank you in advance for your help and advice.
Administrators Darren Schreiber Posted May 9, 2018 Administrators Report Posted May 9, 2018 Enabled is indeed an admin function for controlling login/logout but I think it makes sense to have it also impact whether the devices ring. Feel free to file that as an enhancement request at https://tickets.2600hz.com/
Gianluca Merlo Posted May 9, 2018 Author Report Posted May 9, 2018 Thank you Darren, I opened https://2600hz.atlassian.net/browse/KAZOO-5895 following your suggestion.
Recommended Posts