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. Google Chrome does not show popups if iconized

Google Chrome does not show popups if iconized

Scheduled Pinned Locked Moved Support
12 Posts 3 Posters 241 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.
  • A
    A
    aripani
    wrote on last edited by
    #1

    If the browser is iconized not get the popup on the screen.
    Would be enough to have a message in the system tray. How can I do?
    Thanks.

    Regards

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

      Fop2 will use chrome desktop notifications. But they are changing/deprecating interfaces all the time, so I have to see if they still work or not. So, if you want to see a notification with the brwoser minimized, you must use google chrome.

      1 Reply Last reply
      0
      • A
        A
        aripani
        wrote on last edited by
        #3

        Thanks for the reply.
        Sorry, maybe i did not understand, I used Google Chrome because remember that some time ago it worked even if the popup iconized. Why do you say to use Google Crhome if the problem is just that? What I'm missing?
        Thanks again, Regards.

        1 Reply Last reply
        0
        • A
          A
          aripani
          wrote on last edited by
          #4

          13/07/2014
          "Thanks for the reply.
          Sorry, maybe i did not understand, I used Google Chrome because remember that some time ago it worked even if the popup iconized. Why do you say to use Google Crhome if the problem is just that? What I'm missing?
          Thanks again, Regards"

          Sorry, I get it. Perhaps you are referring to the use of the Google Chrome Extension, right?
          With the Extension active popup works even if Chrome iconized, but only refers to the list of phone extensions and not to the phone book.

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

            I am not sure if I understand the issue then.. when chrome is minimized, desktop notification work but only for some calls? or it does not work at all? Again, google deprecates interfaces both in the browser and their extensions interface, so maybe what you experience is a problem with that deprecation.

            In any case, if it worked before and not now, then check your chrome settings:

            https://support.google.com/chrome/answer/3220216?hl=en

            1 Reply Last reply
            0
            • A
              A
              aripani
              wrote on last edited by
              #6

              Always with Chrome iconized, if not installed "Google Chrome Extension" desktop notification does not work.
              If "Google Chrome Extension" is installed, then it works the notification in the system tray, but does not connect with the phonebook stored.
              Without installing "Google Chrome Extension" using the site FOP2 normally, and Chrome NOT iconized, everything works fine with popup connected to the global phonebook.

              I checked the link above, but the settings are correct : "Allow all sites to show desktop notifications".

              Thanks for your interest and sorry if I was not very clear.

              1 Reply Last reply
              0
              • L
                L
                londony
                wrote on last edited by
                #7

                I think I am experiencing the same issue but will explain:
                The Google chrome extension popup works even if chrome is minimized, but even if the CID appears in the phone book, the name doesn't appear in the popup, even though the popup in the FOP2 panel itself shows the name.
                Is there any way to fix this?
                Thank you

                1 Reply Last reply
                0
                • L
                  L
                  londony
                  wrote on last edited by
                  #8

                  And another issue regarding the same topic, if I have an extension, say 200, and a number in the phone book that ends with 200, on incoming internal calls from 200, it will show the name of the contact from the address book, instead of the internal extension's name.

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

                    9714:@londony escribi贸:

                    I think I am experiencing the same issue but will explain:
                    The Google chrome extension popup works even if chrome is minimized, but even if the CID appears in the phone book, the name doesn't appear in the popup, even though the popup in the FOP2 panel itself shows the name.
                    Is there any way to fix this?
                    Thank you

                    The chrome extension does not use the fop2 phonebook for matching, it shows just the callerid number and name as passed from Asterisk. The phonebook is queried only from the normal browser version using a proxy script named checkdir.php (that script can be modified or tweaked to your needs), while the chrome extension is standalone and does not require any access to that script or perform any other http request (from the extension perspective might need special permissions as it will be taken as a cross site request).

                    So, names are only shown on notifications from the web based fop2 version, not the chrome extension.

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

                      9715:@londony escribi贸:

                      And another issue regarding the same topic, if I have an extension, say 200, and a number in the phone book that ends with 200, on incoming internal calls from 200, it will show the name of the contact from the address book, instead of the internal extension's name.

                      checkdir.php can be modified to suit your needs... inspecting the mysql query that matches on callerid, if there are multiple maches they are sorted by lenght, thus the shorter extension should appear first. Perhaps you are not running the latest fop2 version and have a previous checkdir.php code?

                      $res = $db->consulta("SELECT concat(firstname,' ',lastname) AS name,company,picture FROM visual_phonebook WHERE (phone1 LIKE '%%%s'OR phone2 LIKE '%%%s') AND context='%s' ORDER BY LENGTH(CONCAT(phone1,phone2)) LIMIT 1",$clid_significant,$clid_significant,$context);
                      
                      1 Reply Last reply
                      0
                      • L
                        L
                        londony
                        wrote on last edited by
                        #11

                        Thank you,
                        I added "if (!$clidname)" before the query and put the rest in a block { } and that seems to serve my purpose. If the callerid has a name, (because it's an internal extension), it won't look in the phonebook.

                        Would love if the popup would work also when the window is minimized but don't know how to do that yet.
                        Will have to look into it.
                        If you have something ready or a pointer in the right direction that would be appreciated.

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

                          The desktop notification behaviour is a browser thing. I am not sure if I will be able to fix it, I will have to look more deeply into it. Unfortunately Chrome desktop notifications api have been deprecated/changed twice already, and it is not yet stable. So anything I can do might cease to work in future releases.

                          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