On Dec 6, 2017, at 11:39 AM, Gianni Costanzi <gianni.costanzi@gmail.com> wrote:
You’re right, I’ll try to find the time to learn about unlang and understand where I should implement the wanted behavior.. I’m in a hurry with this activity and the first step was trying to make it work with the old Conf. I think it should not be a problem to do user manipulation with unlang instead of hints file, but I can I also set hunt groups with unlang in order to be able to match them within the users file?
No, but you can set another attribute in "unlang" and check it in the "users" file. See raddb/dictionary for instructions on creating local attributes. Create a "string" attribute with a name like "My-Group". Then, set it in unlang: update request { My-Group := "foo" } And check it in the "users" file: DEFAULT My-Group == "foo" ... Alan DeKok.