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.1I'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,
-
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: True127.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: 0127.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: 0For call pickup I get the following and nothing else
98.243.155.223 <= <msg data="31|pickupActive|IAX2/jnctn-5569|07b719c4c452f157fe093e1bf121c063" />
Thanks,
Dave -
-
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.
-
-
-
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