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. Listen and pickup features failing

Listen and pickup features failing

Scheduled Pinned Locked Moved Support
8 Posts 2 Posters 138 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.
  • D
    D
    dcundiff
    wrote on last edited by
    #1

    Hello,

    I've been trying to get the listen and pickup features working without much luck. I'm using the following configuration.

    Fop2 2.20 default configuration
    FreePBX 2.9
    Asterisk 1.8.4.1

    I'm pretty much using 100% freepbx built config. No custom contexts or anything.

    The listen function calls my phone and then I get silence.

    The pickup function doesn't seem to do anything. I click the call in the queue and hit pickup and nothing happens.

    Any suggestions for debugging would be appreciated.

    Thanks,

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

      Are you using device and user mode in FreePBX? Do you have all permissions set in /etc/asterisk/manager.conf ?

      In order to debug you must start fop2_server with debug level 15, capture the output while performing the actions:

      service fop2 stop
      cd /usr/local/fop2
      script capture.log
      /usr/local/fop2/fop2_server -X 15
      
      (perform actions)
      
      ctrl-C
      exit
      
      1 Reply Last reply
      0
      • D
        D
        dcundiff
        wrote on last edited by
        #3

        I am using device and user mode. Is that not supported?

        For spying it looks like the manager actions occur. I initiate the listen from 8990 but there's silence.

        98.243.155.223 <= <msg data="31|tospy|8|85657b6c7fc15e5e6ca82a813731a85a" />

        127.0.0.1 -> Action: Originate
        127.0.0.1 -> Channel: SIP/8990
        127.0.0.1 -> CallerID: 8990
        127.0.0.1 -> Application: ChanSpy
        127.0.0.1 -> Data: SIP/8008,bq
        127.0.0.1 -> ActionID: fop2spy!SIP/8008
        127.0.0.1 -> Async: True

        127.0.0.1 <- Response: Success
        127.0.0.1 <- ActionID: fop2spy!SIP/8008
        127.0.0.1 <- Message: Originate successfully queued
        127.0.0.1 <- Server: 0

        127.0.0.1 <- Event: Newchannel
        127.0.0.1 <- Privilege: call,all
        127.0.0.1 <- Channel: SIP/8990-000001ac
        127.0.0.1 <- ChannelState: 0
        127.0.0.1 <- ChannelStateDesc: Down
        127.0.0.1 <- CallerIDNum: 8990
        127.0.0.1 <- CallerIDName: Dave Test Phone
        127.0.0.1 <- AccountCode:
        127.0.0.1 <- Exten:
        127.0.0.1 <- Context: from-internal
        127.0.0.1 <- Uniqueid: 1307393144.1233
        127.0.0.1 <- Server: 0

        For call pickup I get the following and nothing else

        98.243.155.223 <= <msg data="31|pickupActive|IAX2/jnctn-5569|07b719c4c452f157fe093e1bf121c063" />

        Thanks,
        Dave

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

          In user&device mode you might need to setup the originatechannel to be

          Local/XXXXX@from-internal

          for every extension in the fop2 buttons page.

          1 Reply Last reply
          0
          • D
            D
            dcundiff
            wrote on last edited by
            #5

            That fixed the Listen / Whisper functions! Thanks!

            The call pickup still seems to be a problem. I do have permissions in the manager set to read / write = all. When I click pickup call either from a trunk or a queue all that shows in the debug output is

            98.243.155.223 <= <msg data="8|pickupActive|SIP/flowroute-00000019|070079577246dd2c4482b41d96512dca" />

            and nothing else.

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

              The next fop2 release will use the originatechannel for pickups too, version 2.20 does not use it.

              1 Reply Last reply
              0
              • D
                D
                dcundiff
                wrote on last edited by
                #7

                Tried the beta and I'm still getting the single line output with no manager responses.

                98.243.155.223 <= <msg data="8|pickupActive|SIP/flowroute-00000405|c99d05e88b12278e2247cf5c10fcf24b" />

                Were you able to get the originatechannel stuff for call pickup in?

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

                  Please increase fop2 debug to 511 and look at the output after the pickupRinging..

                  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