[asterisk-users] Spy just a range of extensions

Daniel Varella dvarella at gmail.com
Thu Aug 18 12:22:24 CDT 2011


Alejandro,

   I am using here the ExtenSpy() function, and it works very well.

  I just change my dialout context to:

      ...
      ...
      exten => _XXXXXXX,n,Set(SPYGROUP=callcenter)
      ...
      ...

  And made a change to the callcenter context of the agents:

      [monitoramento_callcenter]
      exten => 88,1,Authenticate(12345|a|5)
      exten => 88,n,ExtenSpy(,g(callcenter))
      exten => 88,n,Hangup

   The trick is on the SPYGROUP definition.

   Best regards.

--

Daniel Varella de Oliveira
Consultor de T.I.
Cel.: +55(21)8615-6050

Novell Certified Linux Administrator (Novell CLA) &
Novell Data Center Technical Specialist (Novell DCTS)
SUSE Linux Enterprise 11
ID 10113097

Linux Professional Certified - LPI
LPI000143643

Information Technology Infrastructure Library - ITIL Certified
EXIN - 944759

Cisco Certified Network Associate - CCNA



On Wed, Aug 17, 2011 at 15:35, Alejandro Cabrera Obed <aco1967 at gmail.com> wrote:
> 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
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list