Hi,
I need to configure a random chanspy, allowing me to jump between custom context extensios with a single chanspy code. It’s that possible?
I did try with an spygroup but it didn’t works, here my asterisk code:
[globals]spygroup=vent1
[test-custom]
;listen
exten => _*42x.#,1,Macro(user-callerid,)
exten => _*42x.#,n,Answer
;exten => _*42x.#,n,NoCDR
exten => _*42x.#,n,Wait(1)
exten => _*42x.#,n,ChanSpy(sip/${EXTEN:3},qg(vent1))
exten => _*42x.#,n,Hangup
;whisper
exten => _*43x.#,1,Macro(user-callerid,)
exten => _*43x.#,n,Answer
;exten => _*43x.#,n,NoCDR
exten => _*43x.#,n,Wait(1)
exten => _*43x.#,n,ChanSpy(sip/${EXTEN:3},qwg(vent1))
exten => _*43x.#,n,Hangup