I have been asked to configure chanspy for a local user, I have done a couple of searches but everything is really old for the results. I using a distro and at the top of the extensions.conf file it plainly says “DO NOT MODIFY” this file so can someone explain to me how chanspy works? I put this in my Extensions_custom.conf file and I read where I need to put the include in the extensions.conf file right now it has a # sign in front of it, I’m guessing that means ignore this statement, like a “REM” in batch files? the goal is to allow one user to listen to another user while she is being trained, so he would like to be able to listen, and whisper.
I found this code and put it in the extension_custom.conf. but I sure would like to understand what it means…
[ext-local-custom]
;listen
exten => 556,1,Macro(user-callerid)
exten => 556,n,Authenticate(1234)
exten => 556,n,Read(SPYNUM,agent-newlocation)
exten => 556,n,ChanSpy(SIP/${SPYNUM},q)
exten => 556,n,Hangup
;whisper
exten => 557,1,Macro(user-callerid)
exten => 557,n,Authenticate(1234)
exten => 557,n,Read(SPYNUM,agent-newlocation)
exten => 557,n,ChanSpy(SIP/${SPYNUM},qw)
exten => 557,n,Hangup
;barge
exten => 558,1,Macro(user-callerid)
exten => 558,n,Authenticate(1234)
exten => 558,n,Read(SPYNUM,agent-newlocation)
exten => 558,n,ChanSpy(SIP/${SPYNUM},qB)
exten => 558,n,Hangup