Listen and pickup features failing

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,

Comments

  • 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
    
  • 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
  • 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.
  • 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.
  • The next fop2 release will use the originatechannel for pickups too, version 2.20 does not use it.
  • 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?
  • Please increase fop2 debug to 511 and look at the output after the pickupRinging..
Sign In or Register to comment.