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. Can't pick up parked call

Can't pick up parked call

Scheduled Pinned Locked Moved Support
18 Posts 5 Posters 522 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
    #4

    In that case, you will have to debug on the server side and see what happens. As the client is sending the command correctly.

    service fop2 stop
    cd /usr/local/fop2
    script capture.log
    ./fop2_server -X 511
    (at this point, you can log into fop2, and attempt to pickup a parked call)
    ctrl-C
    exit
    service fop2 start

    Now you have a capture.log file to analyze, search for "pickupActive" and look anything that comes below that, you will need to see several lines/blocks on info. That will give an idea of what is going on and what could be wrong.

    Best regards

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

      Thank you.
      This is what I got. There is a lot more after that and don't know if it is relevant, so I attached a txt file containing more info.
      The call is parked in slot 71. If I dial the number from fop, I can pick up the call fine.

      <= <msg data="7|pickupActive|park!PARK/DEFAULT!71|b10550dc42d736fc3540acba940e0a1e" ></msg>

      -- PROCESS_FLASH_COMMAND origen 7 accion pickupActive destino park!PARK/DEFAULT!71 password b10550dc42d736fc3540acba940e0a1e

      VALIDAR USUARIO 5318@GENERAL

      validate password using key fOkvHyxGIxjt6Vaye2IctwNQqIBKGF

      VALIDAR USUARIO 5318 OK con clave regular (192.168.1.253:50358)

      Validation ok, have all permissions for all buttons (0) 7

      It's blessed into class FOP2::Extension

      PICKUP origin IAX2/5318 is defined!!!

      ++ GET SERVER for IAX2/5318 = localhost

      127.0.0.1 -> Action: Originate
      127.0.0.1 -> Channel: IAX2/5318
      127.0.0.1 -> Exten: 71
      127.0.0.1 -> Context: parkedcalls_1
      127.0.0.1 -> CallerID: Johann Mobile <71>
      127.0.0.1 -> Priority: 1
      127.0.0.1 -> Async: True

      127.0.0.1 <- Response: Error
      127.0.0.1 <- Message: Extension does not exist.

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

        The problem is that call origination is attempted on extension 71 for context parkedcalls_1. If you do not use multiple parking slots (parkplus module), then the correct context should be just "parkedcalls". So you will have to edit the mysql table fop2buttons by hand and change the context from parkedcalls_1 to parkedcalls. Something like this might work:

        mysql -u root -p asterisk -e "UPDATE fop2buttons SET context='parkedcalls' WHERE context='parkedcalls_1'"
        

        Then restart FOP2 and try again.

        Best regards,

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

          Thank you.
          When I execute this command I am prompted to enter a password. What password is this? I guess it is the mysql root password, correct?

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

            Yes, it's your mysql root password.

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

              I don't know the password, I have never needed it with my installation of PBX in a flash so far. Is there a way to retrieve it?
              If not, and I have to change it, would this affect other services in PIAF accessing mysql?

              Thanks a lot.

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

                I tried a few default passwords and "passw0rd" got me in.
                I tested and everything is working. I can pick up parked calls now.

                Thanks so much.

                1 Reply Last reply
                0
                • S
                  S
                  sgolin
                  wrote on last edited by
                  #11

                  Hello, I have the exact same issue where I can transfer a call to a parking lot through the FOP2 GUI, however I cannot pickup the call through the GUI by clicking on the "Pickup Call" text when hovering over the parked call.

                  The difference is that I have the Parking Lot Pro module installed with 4 separate parking lots (30,40,50,60). If I dial 31,41 etc. it will pick up the call but not through the GUI and clicking on the call.

                  The above fix looks to be for people who do NOT have the Parking Lot Pro module installed, but what about those who do?

                  The strange thing is that in the explanation of the fix, it sounded like the default behavior was FOR the Parking Lot Pro module and it's multiple parking lots, however the functionality pre/post suggested fix does not correct the ability to pickup a call through the GUI.

                  Any suggestions?

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

                    Start fop2 in debug mode, and look also at the chrome javascript debug console when you attempt pickup so I can see what is going on. Also run /usr/local/fop2/autoconfig-buttons.sh and paste the configuration for the park lots you have..

                    Best regards,

                    1 Reply Last reply
                    0
                    • C
                      C
                      cesaretkn
                      wrote on last edited by
                      #13

                      Hello,
                      i have installed the 2.30 version and have the same problem.
                      In the debug file i found that context parameter is blank.
                      The server is an Elastix 2.5 x64

                      Any suggestions?

                      PS. Fop2 great panel

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

                        Look at the park button definition you have as output when running /usr/local/fop2/autoconfig-buttons.sh

                        Does it have a context there? How does it look like?

                        1 Reply Last reply
                        0
                        • C
                          C
                          cesaretkn
                          wrote on last edited by
                          #15

                          Thanks for fast reply!!!

                          Yes,i have "context=parkedcalls".

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

                            And how does the action for pickup looks in the logs?

                            1 Reply Last reply
                            0
                            • C
                              C
                              cesaretkn
                              wrote on last edited by
                              #17

                              Next week i can recover the log and i can see the action for pickup.

                              Thanks so much

                              1 Reply Last reply
                              0
                              • M
                                M
                                mulderlr
                                wrote on last edited by
                                #18

                                I have a similar issue of not being able to retrieve parked calls from the parking slots widget. It seems to work until I installed call history plugin. Then when calls are parked, the parking slot widget no longer updates to show the parked call, hence there is nothing to click on to get the pickup call option. I uninstall call history plugin and parking slots is working again. (Fop2 version 2.31.18, FreePBX 14.0.3.1, Asterisk 15.4.0)

                                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