=> -----Original Message-----
=> From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
=> boun...@lists.digium.com] On Behalf Of Steve Edwards
=> Sent: Tuesday, September 29, 2009 7:32 PM
=> To: Asterisk Users Mailing List - Non-Commercial Discussion
=> Subject: Re: [asterisk-users] chanspy and DISA
=> 
=> > 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       sedwa...@sedwards.com      Voice: +1-760-468-3867
=> PST
=> Newline                                              Fax: +1-760-731-
=> 3000

[Alexander Lopez] 
It adds another layer but have the sales agents login to DISA via a
local Channel. You can call these channels whatever you like. Once you
have a one to one relationship with the sales agent and their respective
Local Channel you can Chan spy on the Local Channels..

Alex



_______________________________________________
-- 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