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. Support
  3. Some operators and configuration buttons.cfg

Some operators and configuration buttons.cfg

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 165 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.
  • G
    G
    gmurik
    wrote on last edited by
    #1

    Здравствуйте, извините за мой Английский.
    Хочу купить у вас программное обеспечение, интересует возможность создания разных наборов кнопок для разных операторов.

    Ниже привожу часть файла fop2.conf

    user=373:passs:all:queues:spy:queuemanager
    buttonfile=buttons_373_.cfg
    ;
    user=106:passs:all:queues:spy:queuemanager
    buttonfile=buttons_106.cfg

    Как такое реализовать?
    У меня после рестарта демона работает buttons_106.cfg.

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

      Hello,

      This is the google translation from your message:

      Hello, sorry for my english.
      I want to buy your software, is interested in creating a different set of buttons for different operators.

      Below is quote part of the file fop2.conf

      user = 373: passs: all: queues: spy: queuemanager
      buttonfile = buttons_373_.cfg
      ;
      user = 106: passs: all: queues: spy: queuemanager
      buttonfile = buttons_106.cfg

      How can this be implemented?
      I after restarting the daemon works buttons_106.cfg

      If you want to display some buttons for a user, and another set for another, you can create groups. If using just the general context in fop2, you can only have one button file. Groups are described in the documentation and there is also a sample in the buttons.cfg.sample file provided, they are simpler to setup than panel contexts:

      group=sales:SIP/100,SIP/200
      group=support:SIP/300,SIP/400
      user = 106:pass:all:sales
      user = 373:pass:all:support
      buttonfile=allbuttons.cfg
      

      In allbuttons.cfg you put all the buttons, just on one file. But when 106 logs in it will see the "sales" group only, and 373 the support group. If there are no groups assigned to users, they will see all buttons.

      Panel context are perhaps more suited for multi tenant systems, where in fop2.cfg you can have:

      [tenant_one]
      user=100:pass1:all
      user=101:pass1:all
      buttonfile=buttons_one.cfg
      
      [tenant_two]
      user=100:pass2:all
      user=101:pass2:dial,transfer,pickup
      buttonfile=buttons_two.cfg
      

      As you can see, you can have same extension users on different context, with different passwords and permissions. For this to work you must login to fop2 specifying the context via url get: http://your.server/fop2/?context=tenant_one

      1 Reply Last reply
      0
      • G
        G
        gmurik
        wrote on last edited by
        #3

        Thanks to Nicolás.
        Where can I find documentation about the possibilities FOP2?

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

          Everything is documented in the web site documentation, except for some new usage features on fop 2.20.

          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