Is it possible to automatically generate a fop2 group for each queue?

  1. 5 months ago

    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

or Sign Up to reply!