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.