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. Hide offline extensions

Hide offline extensions

Scheduled Pinned Locked Moved Support
22 Posts 6 Posters 461 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.
  • G
    G
    gmurik
    wrote on last edited by
    #9

    asterisk -r sip show peers registered is exten.
    How to remove Wesley from the operator panel.

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

      Sorry, I still do not understand. To monitor unregistered sip peers you must set qualify=yes in the sip peer entry, if using realtime you must set rtcachefriends=yes.

      1 Reply Last reply
      0
      • J
        J
        jseguin
        wrote on last edited by
        #11

        hi,
        modify operator.css works fine, but when i filter by queue and go back again, the unregistered are visible again. I have to log on again to make it invisible.

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

          That's actually an expected behaviour... version 2.30 has an option to hide unregistered via settings, that will work when filtering views. You might want to give 2.30 beta a try then.

          1 Reply Last reply
          0
          • A
            A
            avayax
            wrote on last edited by
            #13

            How do I hide unregistered via settings, which settings?

            1 Reply Last reply
            0
            • A
              A
              avayax
              wrote on last edited by
              #14

              Found it in manager.
              Do I still have to alter operator.css?
              Cause changing the setting in manager only won't have an effect.

              And to add to that, non of the changes I make under settings in FOP2 seem to have an effect. What could be wrong?
              I tried warn close, warn hangup, hide unregistered, etc.

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

                Maybe you are referring to presence.js? In that case, version 2.30 presence.js does not mention any configuration variable as before. Your presence.js should not include any of those config settings, or they will override what you set via Manager.

                Check if the changes you made via FOP2 Manager 'stick'. Do they remain in the value you set after refreshing the page? Perhaps you have a permission issue with the file /usr/local/fop2/fop2_settings.db, that should be writable by the web server user.

                1 Reply Last reply
                0
                • A
                  A
                  avayax
                  wrote on last edited by
                  #16

                  The changes stick with FOP2 manager, they are still there after refreshing the page, but they don't have any effect.
                  Is there a way to check for errors whenever writing into /usr/local/fop2/fop2_settings.db fails?
                  On my HA system I have a c- option in sysconfig to copy changes to /etc/asterisk/fop2.

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

                    If changes 'stick', then you do not have issues with permissions. Check that you do not have any preferences set in /var/www/html/fop2/js/presence.js. If you do have them, then they will override whatever you set via web gui. The latest version presence.js does not include any settings, just the options for presence changes, queue penalties and commented section for pauses/reasons, but not other var XXX=YYY setting.

                    1 Reply Last reply
                    0
                    • A
                      A
                      avayax
                      wrote on last edited by
                      #18

                      This is how my /var/www/html/fop2/js/presence.js looks like. I guess there are no preference settings in there.
                      Hm.. what else could be the problem?

                      var language = 'en';
                      var applicationTitle = 'Flash Operator Panel 2';

                      var presence = new Object();
                      presence[''] = '';
                      presence['Do not Disturb'] = '#FF8A8A';
                      presence['Out to lunch'] = '#57BCD9';
                      presence['Break'] = '#6094DB';
                      presence['Meeting'] = '#CDD11B';

                      /* Uncomment the following to enable pause menu with reasons
                      //
                      var pauseReasons = new Object();
                      pauseReasons['Break'] = 1;
                      pauseReasons['Lunch'] = 2;
                      */

                      /* Uncomment the following to enable queue penalty set
                      //
                      var queuePenalties = new Object();
                      queuePenalties['Low'] = 2;
                      queuePenalties['Medium'] = 1;
                      queuePenalties['High'] = 0;
                      */

                      var availLang = new Object();
                      availLang['ca'] = 'Català';
                      availLang['cr'] = 'Hrvatski';
                      availLang['da'] = 'Dansk';
                      availLang['de'] = 'Deutsch';
                      availLang['he'] = 'עברית';
                      availLang['el'] = 'Ελληνικά';
                      availLang['en'] = 'English';
                      availLang['es'] = 'Español';
                      availLang['fr_FR'] = 'Francais';
                      availLang['hu'] = 'Magyar';
                      availLang['it'] = 'Italiano';
                      availLang['nl'] = 'Dutch'
                      availLang['pl'] = 'Polski';
                      availLang['pt_BR'] = 'Português';
                      availLang['ru'] = 'Русский';
                      availLang['se'] = 'Svenska';
                      availLang['tr'] = 'Türkçe';
                      availLang['zh'] = '简体中文';
                      var lang = new Object();

                      1 Reply Last reply
                      0
                      • A
                        A
                        avayax
                        wrote on last edited by
                        #19

                        And by the way my settings file is called fop2settings.db, and not fop2_settings.db. Not sure if this is relevant.

                        I found that my fop2_settings.db file in /usr/local/fop2 was differnet from
                        DB Connection fail: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database

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

                          Filename is fop2settings.db in /usr/local/fop2 (it was a typo on my part before).

                          If you see that error, then any change you make in the GUI should not persist. And fixing that requires to set proper permissions and ownership to the fop2settings.db file, try

                          chown asterisk.asterisk /usr/local/fop2/fop2settings.db
                          chmod g+w /usr/local/fop2/fop2settings.db

                          1 Reply Last reply
                          0
                          • A
                            A
                            avayax
                            wrote on last edited by
                            #21

                            Sorry I accidently pressed enter before without finishing my post.
                            When I do a:
                            diff -r /usr/local/fop2 /etc/asterisk/fop2/, I get:
                            Binary files /usr/local/fop2/fop2settings.db and /etc/asterisk/fop2/fop2settings.db differ

                            Maybe manager is writing the changes into one file and reading from the other?

                            The general error:8 I got when I copied fop2settings from /etc/asterisk/fop2 into /usr/local/fop2

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

                              I answered in another post, fop2settings.db that counts in your setup is the one in /etc/asterisk/fop2, be sure it is owned by asterisk, that asterisk user can write to it, and also modify the pagebs.fop2settings.php page to point to that directory instead of /usr/local/fop2

                              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