[asterisk-users] Spy just a range of extensions

Alejandro Cabrera Obed aco1967 at gmail.com
Wed Aug 17 13:35:28 CDT 2011


Dear, I have to let some agents from a call center to spy/coach just a range
of extensions. They must not spy extensions from boss and some other
"important" people from my company.

I have in extensions_additional.conf:

[app-chanspy]
include => app-chanspy-custom
exten => 555,1,Macro(user-callerid,)
exten => 555,n,Answer
exten => 555,n,Wait(1)
exten => 555,n,ChanSpy()
exten => 555,n,Hangup

and in extensions_custom.conf:

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

How can I let agents to just spy extensions 9000-9500 and no more ???

Special thanks,

Alejandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110817/414ff256/attachment.htm>


More information about the asterisk-users mailing list