Monitoring channels sip

Hello,

I have used the chanspy feature of freepbx 2.7 (code 555), the problem is that you can’t choose the extension you want to spy, just you have to be changing between all the activa channels with “*”.

Recently I found a code for doing that and it works really fine, I would like to suggest to add the code as a module:

[app-chanspy-custom]
exten => 666,1,Authenticate(1234)
exten => 666,2,Read(SPYNUM,extension)
exten => 666,3,ChanSpy(SIP/${SPYNUM},q)