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. Multi-Tenant : Extension won't update

Multi-Tenant : Extension won't update

Scheduled Pinned Locked Moved Support
8 Posts 2 Posters 104 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.
  • S
    S
    secathor
    wrote on last edited by
    #1

    Hi ! We got trouble since we have update FOP2 to 2.31.
    We had 2.26 before, and FOP2 as working great

    Now, extension button from second Asterisk won't hangup.

    My first Asterisk is an FreePBX 2.11.0.38 (with Asterisk 11.8.1 with FOP2) (have extension 1xx)
    My second Asterisk is an Elastix (with Asterisk 1.8.16.0) (have extension 2xx)
    Both Asterisk can communicate between them without trouble

    If 119 call 219, FOP2 show both as talking, but if the call end, only 119 return to idle (green color), 219 stay as talking until I restart FOP2

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

      Impossible to say anything without looking at FOP2 debug when you attempt that call. Seems that the Hangup event from 219 is not being received ... but again, it is not possible to verify anything without looking at a full server debug log when you attempt that call:

      http://support.asternic.biz/?/selfhelp/view-article/how-to-debug-fop2/10

      1 Reply Last reply
      0
      • S
        S
        secathor
        wrote on last edited by
        #3

        Like I say in my other post (http://forum.fop2.com/4314-variable-blindtransfer-is-empty). I have copied default config files. This will maybe slove this issue too.

        Does it's possible with FOP2 Manager to add extension button from second Asterisk ?

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

          You will have to modify the FOP2 Manager if you want it to access remote server data, you will have to think how you will access that remote data, and implement it.

          Servers do not communicate over thin air and n either the FOP2 manager, so whatever you do in code will need a correlation with system administration on both servers, like allowing remote mysql users, giving some kind of command execution access (like passwordless ssh), etc... all of that is done outside of FOP2 itself.

          Best regards,

          1 Reply Last reply
          0
          • S
            S
            secathor
            wrote on last edited by
            #5

            My solution was easy

            First, to add user form my second Asterisk
            I edited /usr/local/fop2/autoconfig-users.sh
            And after :

            echo "; Users"
            

            I added line

            echo "user= EXTENSION : SECRET : PERMISSIONS : GROUPS : PLUGINS
            

            For adding extension
            I edited /usr/local/fop2/buttons_custom.cfg
            And added each extension

            After these modification, I goes to FOP2 Manager and reload FOP2
            extension are now visible in FOP2

            Of course, this modification are not dymanic, if I add or remove extension on my second Asterisk I need to adjust file /usr/local/fop2/buttons_custom.cfg

            • And extension state on my second Asterisk update correctly in FOP2
            1 Reply Last reply
            0
            • N
              N
              nicolas
              wrote on last edited by
              #6

              So is the hangup problem fixed or still occurring?

              1 Reply Last reply
              0
              • S
                S
                secathor
                wrote on last edited by
                #7

                Yes, the hangup problem are fixed

                Also, editing /usr/local/fop2/autoconfig-users.sh is useless. FOP2 Manager can add user
                Only need to edit file /usr/local/fop2/buttons_custom.cfg

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

                  That's the idea. Use the fop2 manager for everything, define buttons in buttons_custom.cfg

                  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