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. Custom Panels

Custom Panels

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

    We would like to create custom panels showing only buttons that a user needs to know about. EX: Call Center service manager needs to see only the extensions and queues of the agents in the call center, including his own extension. I tried using using custom contexts as explained in the manual, but it causes the panel to fail loading both the default view and the custom view. Here is my config:
    [general]
    ; AMI definitions
    manager_host=127.0.0.1
    manager_port=5038
    manager_user=admin
    manager_secret=amp111
    ;event_mask=call,agent

    ; Daemon definitios
    ;listen_port = 4445
    ;restrict_host = www.asternic.org
    ;web_dir = /var/www/html/operator/fop2

    ; Global Config
    language = en
    poll_interval = 86400
    poll_voicemail = 1
    monitor_ipaddress = 0

    master_key = 4201

    ; USER LIST
    user=1294:1294:all
    user=1246:1246:all
    ;user=620🔢all
    ;user=621🔢all
    ;user=622🔢all
    ;user=623:1234all
    ;buttonfile=buttons.cfg

    [SVC MGR]
    master_key=9550
    user:1286:1286:all
    user:1294:1294:all
    buttonfile=SVC_buttons.cfg

    #exec autoconfig-users-freepbx.sh

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

      Hi Ronald,

      #exec and static configs do not get along well. You are overriding your manual setup with the exec script. You can modify the script to generate the contexts, are go all manual. By the time being, the #exec directive overrides any manual setting.

      BTW, I have just sent you an email. Hope you receive it.

      --
      Nicolás

      1 Reply Last reply
      0
      • R
        R
        RonSRussell
        wrote on last edited by
        #3

        My custom config does not work. It is timing out trying to connect to the server. Here is fop2.cfg

        [general]
        ; AMI definitions
        manager_host=127.0.0.1
        manager_port=5038
        manager_user=admin
        manager_secret=amp111
        ;event_mask=call,agent

        ; Daemon definitios
        ;listen_port = 4445
        ;restrict_host = www.asternic.org
        ;web_dir = /var/www/html/operator/fop2

        ; Global Config
        language = en
        poll_interval = 86400
        poll_voicemail = 1
        monitor_ipaddress = 0

        ;master_key = 4201

        ; USER LIST
        user=1294:1294:all
        user=1246:1246:all
        user=1286:1286:all
        ;user=621🔢all
        ;user=622🔢all
        ;user=623:1234all
        buttonfile=mstr_buttons.cfg

        [MASTER]
        master_key=9550
        user:1264:1264:all
        user:1294:1294:all
        buttonfile=mstr_buttons.cfg

        [SVC]
        master_key=9550
        user:1264:1264:all
        user:1294:1294:all
        user:1286:1286:all
        buttonfile=SVC_buttons.cfg

        ;#exec autoconfig-users-freepbx.sh

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

          Hi Ronald,

          [MASTER]
          master_key=9550
          user:[/color:49w17npn]1264:1264:all
          user:[/color:49w17npn]1294:1294:all
          buttonfile=mstr_buttons.cfg

          The user definition is incorrect.. you have to use an equal sign after the "user" keyword:

          [MASTER]
          master_key=9550
          user=[/color:49w17npn]1264:1264:all
          user=[/color:49w17npn]1294:1294:all
          buttonfile=mstr_buttons.cfg

          Best regards,

          --
          Nicolás

          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