Skip to content

Instantly share code, notes, and snippets.

@kevin39
Last active March 25, 2020 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kevin39/651481c935bcf48fc61f8a482f92f24e to your computer and use it in GitHub Desktop.
Save kevin39/651481c935bcf48fc61f8a482f92f24e to your computer and use it in GitHub Desktop.
Asterisk - ChanSpy Direct agent
http://jonathanmanning.com/2009/10/29/monitoring-agents-in-asterisk-with-chanspy/
Example 3: This example will give the ability to dial directly into an agents phone to listen to them.
[internal] ;Chanspy Direct SIP Extension
exten => _88XXXX,1,Chanspy(SIP/${EXTEN:2}|b)
Here you can dial directly into any agents 4 digit phone extension and listen to them, for example if you wanted to listen to sip extension 5400 then dial 88+5400. That would dial directly into monitoring phone extension number 5400. If your phones only have 3 digits remove one of the “X”‘s from the exten line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment