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. FOP2.11 Lite - Buttons.cfg Limitation?

FOP2.11 Lite - Buttons.cfg Limitation?

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

    I have FOP v2.11 Lite installed, with the FOP2Admin FreePBX module. If I use the autoconfig scripts, then I don't have any buttons. But if I use manual fop2 and buttons cfg files, then I'm ok if I make sure the extensions are lower than 105 or something.

    Here's my test settings in fop2.cfg:

    group=Support:SIP/1111,SIP/1112,SIP/1113,SIP/1114,QUEUE/101,QUEUE/102,QUEUE/103,QUEUE/104
    
    
    user=1101:12345:all:Support
    buttonfile=buttons-auto.cfg
    

    I run "./autoconfig-buttons-freepbx.sh > buttons-auto.cfg" to create the buttons-auto.cfg file. I don't get any buttons unless I edit the buttons.cfg file and remove enough entries that I'm below 104 (or something, it's getting late)

    I noticed another post that said I needed to edit the autoconfig-buttons-freepbx.sh script to change -ENB to -EB. I did that, but I don't think that is affecting what seems to be a limit.

    Is it a limit of the Lite version to only allow a certain amount of button definitions, in addition to only showing 15?

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

      There is no limit in the .cfg files themselves, you can have 200 buttons defined, but only the first 15 buttons will be shown. If your problem happens only when using the fop2admin module, you can track the problem down by running the autoconfig-buttons-freepbx.sh script, as it will read the databases and generate the config file, if there is any problem it will be apparent in the script output. If you are doing changes between manual and automatic config, remember that if you leave both the #exec line and a buttonfile definition, both configurations will override each other, and you will get unexpected results.

      Best regards,

      1 Reply Last reply
      0
      • A
        A
        asiTechsupport
        wrote on last edited by
        #3

        That's what I was trying to say.

        I have tracked the problem down by manually running the autoconfig-buttons-freepbx.sh and piping it into buttons-auto.cfg.

        See my fop2.cfg file above. There are no #exec functions in the fop2.cfg. You'll notice that I have a group set up to only show 8 buttons out of the 100 in the buttons-auto.cfg file.

        When I log in as user 1101, there are no buttons displayed.

        If I edit buttons-auto.cfg and remove some extensions (it doesn't seem to matter what extensions) so that there are a total of 104 button definitions, only then are the 8 buttons from the group displayed.

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

          The problem is that the 15 button limit is not for DISPLAYED buttons, but order of buttons

          if you have in your buttons.cfg file

          button1
          button2
          button3
          button4
          button5
          ...
          button16
          button17

          You will only see the first 15. You will never ever see buttons16 and below. No matter your group settings.

          You cannot "game" fop2 by having small groups. If you want to display buttons on a group that are in fact in position beyond 15, you must register.

          Best regards,

          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