How to disclude extension numbers from chanspy


(Aisha Salih) #1

Hi All,

I need to disclude some extension numbers from being ‘spied’ upon using the chanspy feature in elastix/freepbx. Is this possible?

We enable the chanspy feature for new starters on a busy sales floor; the worry is, because it rotates through all extensions, they may get to listen in on private conversations the management team are having.

How can I specify which extensions can\cannot be spied upon? Any help or advice would be greatly appreciated. Thank you.


#2

Sstart with:-

https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Application_ChanSpy

read the syntax from the Asterisk CLI:-

core show application ChanSpy

you will see that you can do that with ${SPYGROUP} which you can set in your chanspy context when you call it with the “g(grp)” or the “e(ext)” options to chanspy an example usage is in :-

http://www.voip-info.org/wiki/view/Asterisk+cmd+ChanSpy