Problems with spy
HI.
Fop shows a strange behavior when i'm trying to spy a channel.
Sometimes it just ignores me.
I see a command to spy in fop log (something like <= <msg data="19|tospy|38|5a80f4ab867759349c0892c7768a9032" /> ) but fop server doesn't send spy to asterisk.
What can be a reason for this?
If a spy session was successfully established fop server log shows something like this:
I haven't find any regularity for successful and unsuccessful attempts.
Fop shows a strange behavior when i'm trying to spy a channel.
Sometimes it just ignores me.
I see a command to spy in fop log (something like <= <msg data="19|tospy|38|5a80f4ab867759349c0892c7768a9032" /> ) but fop server doesn't send spy to asterisk.
What can be a reason for this?
If a spy session was successfully established fop server log shows something like this:
127.0.0.1 -> Action: Originate
127.0.0.1 -> Channel: Local/1001@from-internal
127.0.0.1 -> CallerID: 1001
127.0.0.1 -> Application: ChanSpy
127.0.0.1 -> Data: SIP/1053,bq
127.0.0.1 -> ActionID: fop2spy!SIP/1053
127.0.0.1 -> Async: True
I haven't find any regularity for successful and unsuccessful attempts.
Comments
Best regards,
I'll try to update to 2.24 tonight and post results in a couple of days, after testing.
The issue I mention is *not* there anymore (fop2 forgetting the spy permissions after a manager disconnection/reload). If you still face issues, is another thing. Did you restart fop2 after upgrade? If you want to check again, you need to do a full debug in fop2_server with level 511: /usr/local/fop2/fop2_server -X 511 and look at the events *and* messages when it works and when it does not.
Best regards,
Can you describe what is happening. I can understand only english.
Means:
There is no active channel to spy on! FOP2 can spy on bridged calls, if its not bridged it fails.