Is it possible to automatically generate a fop2 group for each queue?
-
Is it possible to automatically generate a fop2 group for each queue, and put the queue members in it?
I'm using Freepbx 14 and my supervisors only want to see the the extensions for the users in the queues that they monitor. Thus far, they've been adding the Groups manually for each queue, and putting in each agent, then changing their permissions to only see the groups they want. It works, but doing it manually seems wasteful.
My agents are dynamic queue members, so they don't get stored in the database. However, I have my own custom Freepbx module, so I've used those hooks to do similar things before, using FreePBX's built in functions. The problem is, I'm getting a little lost as far as the database architecture in FOP2 regarding Groups. If you can tell me what tables I need to insert what information into, I can probably figure the rest out myself. Or if you want to create a autoconfig-queue-groups-freepbx.sh script that does it for me, that would be awesome too ;).
Thanks!
Nate
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login