Hello,
trying to make work ChanSpy to listen to both channels spied.
Options used:
B instead of whispering on a single channel barge in on both channels involved in the call.
E Exit when the spied-on channel hangs up.
S Stop when no more channels are left to spy on.
o Only listen to audio coming from this channel.
Options tried seem not to be working but I don’t know what other options would work.
https://wiki.asterisk.org/wiki/display/AST/Application_ChanSpy
Using Asterisk 18.16.0
jcolp
August 3, 2023, 8:31am
2
ChanSpy spies on a single channel, and provides audio going to and from it. This is the default behavior. What exactly happens instead?
ldo
August 3, 2023, 9:08am
3
I have successfully done spying in the past, using a very simple context setup:
[call_monitor]
exten => s,1,Playback(monitored)
exten => s,n,ChanSpy(${VICTIM})
exten => s,n,Hangup()
This lets you specify the “victim” channel to be spied on in the ${VICTIM}
variable, when originating a call between this context and the channel doing the spying.
My quick-and-dirty spy_try
example from this repo might be useful.
1 Like
system
Closed
September 2, 2023, 9:09am
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.