exten =>*76,1,Answer
exten => *76,2,Chanspy(|qb) ; q for quiet and b for only bridged calls
exten => *76,3,Hangup

Now you can spy on any call ,. All you need to do is press * again and again
to change calls . Like if 3 calls are going  then you can switch between
calls by pressing *  and # increases or decreases volume
This will spy on only sip calls:
.exten => *76,2,Chanspy(SIP/|qb)

for iax2:
.exten => *76,2,Chanspy(IAX2/|qb)

for a certain extension ( eg: sip extension 4455)
.exten => *76,2,Chanspy(SIP/4455|qb)

Hope this helps

On 24/06/07, Oscar Carriles <[EMAIL PROTECTED]> wrote:

 Maybe this helps



; spy on agent

exten => *7792,1,Playback(agent-newlocation)

exten => *7792,2,Read(EXT)

exten => *7792,3,Chanspy(Agent/${EXT}|q)

exten => *7792,4,Hangup



 ; spy on sip

exten => *7797,1,Playback(agent-newlocation)

exten => *7797,2,Read(EXT)

exten => *7797,3,Chanspy(SIP/${EXT}|q)

exten => *7797,4,Hangup



; spy on everybody

exten => _**779.,1,Chanspy(${EXTEN:5}|q)

exten => _**779.,2,Hangup



-----Mensaje original-----
*De:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *En nombre de *Carlos Garcia
Mujica
*Enviado el:* Jueves, 21 de Junio de 2007 04:17 p.m.
*Para:* [email protected]
*Asunto:* [asterisk-users] Use of ChanSpy



How can I use the Asterisk command ChanSpy If I need to spy on a call?

I already added the function to the extensions.conf, and I get the beeps,
but then what do I do??? I don't understand the use of this function.


Best Regards

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.472 / Virus Database: 269.9.6/865 - Release Date: 24/06/2007
08:33 a.m.

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.472 / Virus Database: 269.9.6/865 - Release Date: 24/06/2007
08:33 a.m.

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

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

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

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

Reply via email to