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. Client Continues to Receive Messages After Logout

Client Continues to Receive Messages After Logout

Scheduled Pinned Locked Moved Support
11 Posts 2 Posters 69 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
    nicolas
    wrote on last edited by
    #2

    What do you see in the javascript console after login out? any activity at all ?

    I mean, you mention that a call enters the queue and the notification sound is fired, do you see any logs in the javascript console at that point? Even if the fop2 display shows a login box?

    1 Reply Last reply
    0
    • W
      W
      wcolling
      wrote on last edited by
      #3

      The console log continues to show messages sent from the server.

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

        What browser are you using? Any way I can use to try to replicate the issue myself?

        1 Reply Last reply
        0
        • W
          W
          wcolling
          wrote on last edited by
          #5

          I was finally able to replicate this problem consistently. The problem occurs in both Chrome and Firefox (the only two browsers we use).

          To replicate the problem:

          1. log into FOP2
          2. log out
          3. In FreePBX, I updated the permissions of my user, clicked on Submit Changes, and then Apply Configuration Changes.
          4. At this point, the FOP2 server starts sending messages to my logged off client again.

          I have attached the console log that shows this. I added
          =====> Here I am logged out and have the login dialog <=====
          to the log so you can see where I am logged off. There are a couple pings after this, and then a whole slew of messages from the FOP2 server.

          1 Reply Last reply
          0
          • W
            W
            wcolling
            wrote on last edited by
            #6

            I forgot to add that we have made some modifications to fop2.js so there will be some messages you do not recognize.

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

              What fop2 version are you using? I have just make a quick test with my trunk version, I have no issues with it. Once I log off from fop2, the page itself refreshes and I have the login box again, and there are no events being received in it after doing a fop2 reload, or an asterisk reload.

              1 Reply Last reply
              0
              • W
                W
                wcolling
                wrote on last edited by
                #8

                [root@ASTERISK18 ~]# /usr/local/fop2/fop2_server --version
                fop2_server version 2.28

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

                  I cannot reproduce the issue. Maybe your modifications have something to do? When I click close , the web page is actually refreshed. The javascript application is completely reloaded. All variables are reset. Perhaps you are passing the extension via uri parameters?

                  1 Reply Last reply
                  0
                  • W
                    W
                    wcolling
                    wrote on last edited by
                    #10

                    I reloaded the original 2.28 fop2.js and was able to reproduce the problem, albeit a bit differently.

                    This time, open the browser, navigate to the fop2 login page, and enter a correct extension with an invalid password. The client sends the auth request, gets the incorrect return, and redisplays the login dialog.

                    uncion init
                    VM97:1 sends auth 1234 y ieRMoKueUKgRfm9Q9nK1RoAGzbSAX
                    VM97:1 ws send <msg data="1|auth|4159672901|1da254f595f949a51b0aa5232a19a020" />
                    VM97:1 0,incorrect=0 en slot
                    VM97:1 show sec box
                    VM97:1 limpia todo
                    VM97:1

                    At this point, do the update in FreePBX. The fop2 server will start sending messages to the client that never logged in.

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

                      Confirmed the problem... I am working on a fix (to be included in the upcoming 2.29 version).

                      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