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. Feedback
  3. freepbx_engine integration

freepbx_engine integration

Scheduled Pinned Locked Moved Feedback
3 Posts 3 Posters 54 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.
  • T
    T
    totalimpact
    wrote on last edited by
    #1

    I know when running freepbx fop2 will auto-generate extensions each time it is started.

    the problem here becomes that freepbx has no way of re-starting fop2 when changes are applied ie when new extensions are added.

    It would be nice to have better freepbx integration.

    and finally maybe a freepbx module that adds a Fop permission drop-down to the extensions page in freepbx.

    1 Reply Last reply
    0
    • T
      T
      Thomas
      wrote on last edited by
      #2

      I think it would need to be the freepbx guys that done this request or you would have to change the engine file every time you update freepbx, looking at the file it shouldn't be to hard for them to do

      [added]
      here is something to get you started

      reload_fop2() {
      	ps -C "fop2_server" >& /dev/null
      	if [[ $? -eq 0 ]]; then
          		/etc/rc.d/init.d/fop2 restart
      		echo "FOP2 was restarted"
      	else 
      		/etc/rc.d/init.d/fop2 start
      		echo "FOP2 was started"
      	fi
      }
      

      you could call this via reload_fop2 in the engine reload script

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

        Hi,

        The beta version detects an asterisk reload and reloads itself, so there is no need for any external scripts. The freepbx module is next on my todo list.

        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