I would like to listen to active channels.
I guess that I must Chanspy() function to do it.
I cannot “spy” without warning the “spied” (law). It would be nice that a “beep” is played on the spied phone.
When I spy the user SIP/45 with dialing 96 from SIP/24 :
I hear a beep but in my phone (SIP/24) not in the spied phone (SIP/45) as show below !
-- Executing [96@interne:1] ChanSpy("SIP/24-00000006", "SIP/45") in new stack
-- <SIP/24-00000006> Playing 'beep.slin' (language 'fr')
How can I warn the spied phone ? If I use the q option, there is no beep at all.
P.S. : I’m using Asterisk 188.8.131.52