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. Pause/Unpause not Displaying

Pause/Unpause not Displaying

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 313 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.
  • M
    M
    Matrioux
    wrote on last edited by
    #1

    After the last round of FreePBX updates, suddenly FOP2 2.20 has stopped showing the correct status for paused/unpaused. The function works fine, but the display will not update unless I reload FOP2 from the command line. At the same time, the display for who is logged into the Queue changed from {extention} {name} to {extention}@from-queue. Sadly I am not sure which update caused the issue, or if it was update related, or coincidental.

    I think the updates I did were:

    Blacklist 2.7.0.1 to 2.7.0.2
    Framework 2.7.0.6 to 2.7.0.8
    Core 2.7.0.11 to 2.7.0.12
    SipStation 2.7.0.4 -> 2.7.0.5

    in looking at the changelogs for these updates, nothing SHOULD have effected FOP2, but I think something did.

    Any ideas?

    -Matrioux

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

      the autoconfig-button-freepbx.sh script generates the button config file, it also tries to determine your freepbx version to set the queuecontext parameter to "from-internal" or "from-queue". It seems your update changed the queue member type, and you have some discrepancies between the fop2 button configuration and perhaps the queue members themselves.

      Perhaps you have queue members as from-queue and the button configuration queuecontext set as from-internal.

      Do a "queue show" in the asterisk cli, and then run /usr/local/fop2/autoconfig-buttons-freepbx.sh script and see if queuecontext is set to the same or different. You can alter the autoconfig-script to write the proper value.

      1 Reply Last reply
      0
      • M
        M
        Matrioux
        wrote on last edited by
        #3

        Queue show has the individuals listed as from-queue

        fop2buttons table in the asterisk mysql database shows queuechannel field as Local/{ext}@from-queue/n, but the context field is from-internal. Is this the conflict? Is it as simple as changing that and restarting FOP2?

        Fop2 Buttons in freepbx panel shows the queuechannel field (as from-queue) but doesn't display the context field

        From looking at the autoconfig-buttons-freepbx it looks like the change from from-internal to from-queue happened at version 2.5. I have always been running a 2.7 version, so I am not sure why it would have read as internal at any point.

        What is the best way to set this right? Is it safe to apply the fix when calls are live, or do I need to wait for a down time? If it only affects FOP2 for a short while (2 minutes or less) I can do it while they are live, but if it affects the phone system itself, or will take more then a couple of minutes, I need to wait for a non-use time.

        1 Reply Last reply
        0
        • M
          M
          Matrioux
          wrote on last edited by
          #4

          Fixing the context field in the fop2buttons table of the asterisk MySQL database seems to have fixed my problems. I am not sure how it got off, but it seems to have cured my woes.

          Thanks for point me to the from-queue/from-internal possible conflict.

          Any insight into what happened? Is my fix permanent, or something I will have to do periodically?

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

            Hi,

            The proper fix would be to have from-queue in the queuecontext setting that is kind of hardcoded in the autoconfig-buttons-freepbx.sh script.

            What happened is that in FreePBX the queue member context was changed from version to version, and some of the queue related features in fop2 requires the proper context to be configured to do the matching between an extension and its queue membership.

            You should not do this periodically, but if FreePBX changes queue members again to be Local/xxx@from-whatever-new-feature, you will have to tweak the autoconfig script to use the proper queuecontext.

            Run the autoconfig-buttons-freepbx.sh script in the command line and see what queuecontext is setting, if you see it is using from-internal, you can fix the script (somewhat at the top) and just change the from-internal to from-queue

            Best regads,

            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