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. Update Button Labels

Update Button Labels

Scheduled Pinned Locked Moved Plugins
6 Posts 5 Posters 453 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.
  • N
    N
    nakisen
    wrote on last edited by
    #1

    Hi,
    I want to update the extension names (cidname) from our CRM application. I want FreePbx, asterisk and Fop2 to be updated when admin changes staff name in CRM. We do the update process with a service application running on Linux. On the FreePbx and asterisk side, the transaction is successful. However, the update is not successful on the fop2 side.

    I am doing the following;

    • Update asterisk.users table.
    • Update asterisk.sip table.
    • Update asterisk.devices table.
    • Update asterisk.fop2buttons table.
    • Update "/etc/asterisk/pjsip.endpoint.conf" file
    • Reload Asterisk (asterisk -rx "core reload")

    How do I change extension name in Fop2?

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

      The output of "autoconfig-buttons.sh" seems to be updated. However, the web interface (http://<ip>/fop2) does not show any updates. Where does the web interface read the labels?

      1 Reply Last reply
      0
      • L
        L
        lacy
        wrote on last edited by
        #3

        Interesting. I just changed the name of an extension, and so far, I believe I have changed the name everywhere, except the button. In the web admin interface for fop2, the name is changed, but on the web interface it still shows the old name. The queue this person is in also references the old name.

        I'm at a loss. It has to be a database entry. I searched the files in the config directory (by directory, I mean /etc, /var, and /usr) and nothing references the old name.

        1 Reply Last reply
        0
        • G
          G
          gdraque
          wrote on last edited by
          #4

          You need to reload fop after the fop2buttons table is updated.
          Fop does not keep a state based on the DB contents. If data changes in the DB, fop needs to reload.

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

            Another thing to note that most of the times dazzles people. FOP2 will rename button labels to the queue member name if that extension is a queue member. FreePBX does not renames queue members when you rename an extension. You must regenerate the queue configuration for the queue member name to change also. Most probably your issue has to do with that (queue members are still "old" names, you can verify with asterisk -rx 'queue show' on the command line).

            1 Reply Last reply
            0
            • M
              M
              mvogel_cqsimple.com
              wrote on last edited by
              #6

              How does one regenerate a queue configuration?

              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