Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Feedback
  3. Can we make conferences/queues only visible to some?

Can we make conferences/queues only visible to some?

Scheduled Pinned Locked Moved Feedback
9 Posts 2 Posters 65 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X
    X
    xeper
    wrote on last edited by
    #1

    Can we make conferences/queues only visible to some, specific users?

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      You can use groups to filter out buttons. Are you configuring things by hand or via freepbx?

      1 Reply Last reply
      0
      • X
        X
        xeper
        wrote on last edited by
        #3

        All manual (vanilla Asterisk)

        I saw that I can do the groups/buttons thing, but I didn't see the exact syntax.

        Can this be used to make the conferences visible only to certain users?

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #4

          This is an extract from fop2.cfg

          ; --- SAMPLE GROUPS ---
          ; group=queues:QUEUE/100,QUEUE/101
          ; group=deptA:SIP/100,SIP/101,SIP/102
          ; --- END SAMPLE ---
          
          ; --- SAMPLE USER LIST ---
          ; format: user= EXTENSION : SECRET : PERMISSIONS : GROUPS
          ; You can enumerate several permissions and groups separated by comma 
          ; available permissions:  'all', 'dial', 'hangup', 'meetme', 'pickup', 
          ;                         'record', 'spy', 'transfer', 'whisper', 
          ;                         'queuemanager', 'queueagent', 'phonebook',
          ;                         'chat', 'preferences', 'hangupself',
          ;                         'recordself', 'voicemailadmin'
          ;
          ; user=620:1234:all:queues
          ; user=621:1234:dial,transfer,pickup:deptA
          

          In the above example, user 620 will see buttons listed in group "queues" (only queue/100 and queue/101), while user 621 will see only buttons listed in group "deptA" (SIP/100,SIP/101,SIP/102)

          So, you can create a group with the exact buttons you want some user to see and then add that group as 4th parameter in the user line.

          1 Reply Last reply
          0
          • X
            X
            xeper
            wrote on last edited by
            #5

            Is there a way to make it so that a group can see all extension buttons, but just one or two queues? I want all users to be able to see all other users, just not all queues/conferences.

            eg:
            groupA:SIP/all
            groupB:queue/100

            user=1000🔢groupA,groupB

            1 Reply Last reply
            0
            • N
              N
              nicolas
              wrote on last edited by
              #6

              yes, you can do that , but you have to enumerate all sip peers in the first group.

              1 Reply Last reply
              0
              • X
                X
                xeper
                wrote on last edited by
                #7

                Ouch, that's what I thought. I have it enumerated in my development environment, and that worked, but it's definitely ugly.

                Is that going to cause any kind of slowness? We have a possibility of any extension between 3000 and 4999 and I'd rather not add each one manually because that can lead to mistakes and omissions.

                As an aside, how would I make it so that user 1000 can only listen/whisper to their queue, but can still see all users?

                1 Reply Last reply
                0
                • N
                  N
                  nicolas
                  wrote on last edited by
                  #8

                  Ouch, that's what I thought. I have it enumerated in my development environment, and that worked, but it's definitely ugly.

                  Is that going to cause any kind of slowness? We have a possibility of any extension between 3000 and 4999 and I'd rather not add each one manually because that can lead to mistakes and omissions.

                  As an aside, how would I make it so that user 1000 can only listen/whisper to their queue, but can still see all users?

                  That is why you can use scripts to generate config files. The FreePBX managment module for example creates groups named "All Extensions", "All Queues", etc, automatically. You are free to write your own scripts and use #exec instead of writing the configuration line by line.

                  Appart for groups, you can define permissions, to limit an action to certain buttons. For example, in fop2.cfg

                  perm=spysales:spy:SIP/1009,SIP/1001

                  And then:

                  user=1000:password:spysales,hangupself,transfer,transferexternal,preferences:some-group

                  You assigned a 'spysales" permission that is the regular "spy" but limited to SIP/1009 and SIP/1001

                  1 Reply Last reply
                  0
                  • X
                    X
                    xeper
                    wrote on last edited by
                    #9

                    You're awesome, thanks for the info.

                    1 Reply Last reply
                    0

                    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
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    Powered by NodeBB Contributors
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups