I have the need to automate provisioning of many small workgroups of openfire users which have all peer contacts within their local workgroup already provisioned for them within a contact group when they first connect via Spark client; it’s an opt-out model rather than opt-in, a user must delete contacts rather than add them.
I’m using Asterisk-IM plugin and have successfully created the 1:1 mapping of user to phone within phoneDevice/phoneUser tables, and have created the ofRosterGroups entry for contact group in which I wish to place all the peers within the workgroup. What I can’t quite determine is rosterID column within ofRoster… or more generally what database changes are made when a client places a contact within a contact group.
I’ve found the database schema documentation but not how the tables/fields are used/related, is this documented anywhere?
Other than app changes that may happen as part of future openfire development what are the potential downsides of making these provisioning changes directly? actual operations issues rather than philosophical.
Perhaps I’m missing something more elegant such as openfire API in which I can do the same?? that would be awesomer
Thanks for any direction