[asterisk-users] chanspy and DISA

John Millican jmillican at sentinelcommunications.com
Tue Sep 29 15:28:54 CDT 2009


Steve Edwards wrote:
>>> On Tue, 29 Sep 2009, John Millican wrote:
>>>
>>>> I have a request for remote users to be able to dial through the system
>>>> so that the sales managers can barge/chanspy on the sales force. I have
>>>> the DISA part working with authentication(rather straight forward) but
>>>> what I can not figure out is how to enable the supervisors to be able to
>>>> barge on these calls.  Is there a way to find the channel to barge on
>>>> that would be usable by NON tech people?
> 
>> Steve Edwards wrote:
> 
>>> How do you see this working? I'm guessing the manager would like to either
>>> key in an agent ID number or be able to step through agents?
>>>
>>> The chanspy() "g" option may be part of your solution.
>>>
>>>      g(grp) - Match only channels where their ${SPYGROUP} variable is set
>>> to 'grp'.
>>>
> 
> On Tue, 29 Sep 2009, John Millican wrote:
>> Exactly, the problem is I can not determine the channel that DISA 
>> receives or places the call on.  Is there a way to set this in the dial 
>> plan? Or am I just missing something simple?  It was suggested to use 
>> the AMI and present the info as a web page but this will require 
>> retraining the manager, as we all know this is a notoriously difficult 
>> process.
> 
> 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?
> 

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.

JohnM




More information about the asterisk-users mailing list