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. Plugins
  3. How to let FOP2 server read/write remote Asterisk server config file?

How to let FOP2 server read/write remote Asterisk server config file?

Scheduled Pinned Locked Moved Plugins
3 Posts 2 Posters 156 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.
  • D
    D
    danny
    wrote on last edited by
    #1

    I want to let FOP2 server read/write remote Asterisk server config file and show extensions (or more information) of Asterisk server to FOP2 Web.
    I used "/usr/local/fop2/fop2_server --test" to sure that FOP2 and Asterisk connect OK!
    My Asterisk server was running in docker container.
    I am not sure how to achieve this goal.
    Thanks.

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

      FOP2 in itself is not used to write Asterisk configurations files, if that was your usage intention it might not be the right tool. Having said that, you can write a FOP2 plugin that can use Asterisk Manager commands to configure dialplans. How to use such commands is really outside of any kind of scope in this forum or FOP2 itself, you must have a deep knowledge of Asterisk... you willl be using FOP2 just as an AMI toolbox in that case.

      AMI Commands related to diaplan generator:

      UpdateConfig
      DialplanExtensionAdd
      DialplanExtensionRemove

      Best regards,

      1 Reply Last reply
      0
      • D
        D
        danny
        wrote on last edited by
        #3

        Got it.
        Because I want to show extensions (or more information) of Asterisk server on FOP2 Web.
        I think it will be achieved after connecting remote Asterisk server and FOP2 successfully.
        But FOP2 Web only show its content in /usr/local/fop2/buttons.cfg.
        Thanks for your reply.

        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