> Steve Edwards wrote:
>>
>> Is the manager or are the agents using disa()?
>>
>> How about:
>>
>>          exten = *,n,                    set(SPYGROUP=ALLOW-SPYING)
>>
>> for the agents and:
>>
>>          exten = *,n,                    chanspy(,g(ALLOW-SPYING))
>>
>> the manager?

On Tue, 29 Sep 2009, John Millican wrote:
>
> The manager wants to be able to spy on agents who dial through the PBX 
> from their homes.  Currently the agents dial the main number, use the 
> "secret" code to get to authenticate and DISA, and then dial back out 
> for their sales calls. I have chanspy working great on all internal 
> phones/extensions use group to limit who can spy and who can not. It not 
> so much to allow spying it is finding the correct channel to spy on for 
> the remote users.

How about something like these snippets:

[i](!)
         exten = i,1,                    goto(${CONTEXT},s,1)
[s](!)
         exten = s,1,                    verbose(1,[${CONTEXT}:${EXTEN}])

[home-agent-login](i,s)
         exten = s,n,                    read(AGENT-ID,enter-agent-number)
         exten = s,n,                    set(SPYGROUP=${AGENT-ID})
         .
         .
         .

[supervisor-login](i,s)
         exten = s,n,                    read(AGENT-ID,enter-agent-number)
         exten = s,n,                    chanspy(,g(${AGENT-ID}))
         exten = s,n,                    goto(s,1)
         .
         .
         .

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       [email protected]      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to