[asterisk-users] chanspy and DISA
Steve Edwards
asterisk.org at sedwards.com
Tue Sep 29 18:32:10 CDT 2009
> 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 sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
More information about the asterisk-users
mailing list