ChanSpy Specified Extensions


I use Asterisk Now with FreePBX 2.9.0rc1.2
In freepbx, under Feature Codes - ChanSpy is Disabled.

On PBX I configure in /etc/asterisk/extensions_custom.conf:

exten => 555,1,Macro(user-callerid)
exten => 555,2,Authenticate(1234)
exten => 555,3,Read(SPYNUM,agent-newlocation)
exten => 555,4,ChanSpy(SIP/${SPYNUM))

Everything Working.

I need disable Listen to specified Extensions.
I mean I need enable listen to 2-3 extension only, or alternatively
disable listen to other 2-3 extension.

Please Help Me configure it.

Thank you very much,

Hi Yivgeny,

As far as I know (And I’m new), there isn’t a way to specify the extension. It just picks up a random call.

If you enable call recording you can review any call after it is over.