Chanspy mods!

Hello,

I have been looking on how to enable chanspy and modify it a bit.

This is my sample code now in extension_custom.conf:

[ext-local-custom]

;listen
exten => _*222x.#/100,1,Macro(user-callerid,)
exten => _*222x.#/100,n,Answer
exten => _*222x.#/100,n,NoCDR
exten => _*222x.#/100,n,Wait(1)
exten => _*222x.#/100,n,ChanSpy(sip/65,q)
exten => _*222x.#/100,n,Hangup

This code above would allow only extension 100 to be able to listen on extensions that begins with 65, so that would be from 650-659.

I was wondering if someone can help out with certain limitations that I would like to test, I would like to limit only 2 extensions to be able to listen on the other 2 extensions, so let’s say 200 and 300 should be able to listen to 210 and 310 only. Is this possible at all to do it?

Thank you.

Best Regards,

Slaven.

Have you dialed 555

Hello,

No, no need to, I have disabled feature code 555 and I am using 222 now. So If I want to listen on ext 650 e.g. I dial would *222650.

I’m more of a looking how to restrict only 2 ext to be able to listen another 2 only as well.

Best Regards,

Slaven.