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. Force FOP to reload config

Force FOP to reload config

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 459 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.
  • J
    J
    joe
    wrote on last edited by
    #1

    Hi, I am trying to integrate FOP2 into an existing asterisk PBX web ui management system.
    The system allows for hotdesking by mapping users extensions to the device they log in to.

    I have been able to match this setup in FOP2 by modifying the buttons.cfg file to reflect the changes. So I might have

    fop.cfg

    user=1991:1991:all
    

    buttons.cfg

    [SIP/123]
    type=extension
    extension=1991
    context=from-internal
    label=123
    

    So my question is is this the best way to do what I need, and if not what is? And second is there a way to get fop2_server to reload the config file without having to restart the deamon which closes all of the client sessions; ideally the changes updated in the config would be reflected in the clients UI.

    Thank You.

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

      Hi Joe,

      You might want to read this post to adapt your hotdesking setup so it works with fop2 as is, with no modifications of config files:

      View Post 1205

      If you want to reload the fop2 configuration you can send a HUP signal to it or reload asterisk, any of this actions will cause fop2 to reload the configuration files. Now, if the configuration involves changing button order (adding or removing a button, or changing its order in the config file), then the connected clientes will be forced to reload, otherwise they will get incorrect status. The latest fop2 version is better in this respect as it does not requires you to enter login credentials if you are properly logged and a config reload forces the page refresh.

      Best regards,

      1 Reply Last reply
      0
      • J
        J
        joe
        wrote on last edited by
        #3

        Thanks, I will give that thread a lot

        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