This page looks best with JavaScript enabled

ChanSpy Asterisk

 ·  πŸŽƒ kr0m

With chanspy we can listen to other people’s conversations, be careful how we use this because we can get into trouble if we don’t warn the callers that their calls can be listened to.

Listen to specific extensions:

exten => _***XXX,1,Authenticate(111)
exten => _***XXX,n,ChanSpy(SIP/${EXTEN:3})
exten => _***XXX,n,HangUp()

NOTE: The indicated password: 111 will be requested to perform the listening.

It is possible to listen to groups.

First, we have to form the call groups:

exten => _9XXXXXXXX,1,Set(SPYGROUP=1600)

To listen:

[escuchas]

exten => s,1,NoOp(*** Llamada para sistema de escuchas ***)
exten => s,n,Answer()
exten => s,n,Wait(3)
exten => s,n,Playback(beep)
exten => s,n,Set(TIMEOUT(digit)=15)
exten => s,n,WaitExten(20)
;Espera el nΒΊ de grupo al que espiar
exten => s,n,Hangup()

exten => 1600,1,Chanspy(,qg(1600))
exten => 1600,n,Hangup()

exten => 1700,1,Chanspy(,qg(1700))
exten => 1700,n,Hangup()
If you liked the article, you can treat me to a RedBull here