Need some ChanSpy help

I am in need of a little assistance with ChanSpy and contexts. I have disabled 555 and posted the following into the extensions_custom.conf file and did a dialplan reload from the CLI:

[ext-local-custom]

;listen
exten => _*222x.#,1,Macro(user-callerid,)
exten => _*222x.#,n,Answer
exten => _*222x.#,n,NoCDR
exten => _*222x.#,n,Wait(1)
exten => _*222x.#,n,ChanSpy(SIP/${EXTEN:4},q)
exten => _*222x.#,n,Hangup

;whisper
exten => _*223x.#,1,Macro(user-callerid,)
exten => _*223x.#,n,Answer
exten => _*223x.#,n,NoCDR
exten => _*223x.#,n,Wait(1)
exten => _*223x.#,n,ChanSpy(SIP/${EXTEN:4},qw)
exten => _*223x.#,n,Hangup

;barge
exten => _*224x.#,1,Macro(user-callerid,)
exten => _*224x.#,n,Answer
exten => _*224x.#,n,NoCDR
exten => _*224x.#,n,Wait(1)
exten => _*224x.#,n,ChanSpy(SIP/${EXTEN:4},qB)
exten => _*224x.#,n,Hangup

I’m trying to Listen/Whisper/Barge on a specific extension. However, when I dial *2221351 to Listen on ext 1351 the call fails and the Asterisk debug says rejected because extension not found in context ‘from-internal’.

I’m using FreePBX version 2.11.0.41 and Asterisk version 11.9.0

I’m happy to provide more info. Can anyone point me in the right direction to resolve this?
Thanks!

Hello… o… o… o…? (crickets)

I know this is WAY old, but incase someone is trying this…

I tried the following and it seems to work well

[ext-local-custom]

;listen
exten => 556,1,Macro(user-callerid)
exten => 556,n,Authenticate(1234)
exten => 556,n,Read(SPYNUM,agent-newlocation)
exten => 556,n,ChanSpy(SIP/${SPYNUM),q)
exten => 556,n,Hangup

;whisper
exten => 557,1,Macro(user-callerid)
exten => 557,n,Authenticate(1234)
exten => 557,n,Read(SPYNUM,agent-newlocation)
exten => 557,n,ChanSpy(SIP/${SPYNUM),qw)
exten => 557,n,Hangup

;barge
exten => 558,1,Macro(user-callerid)
exten => 558,n,Authenticate(1234)
exten => 558,n,Read(SPYNUM,agent-newlocation)
exten => 558,n,ChanSpy(SIP/${SPYNUM),qB)
exten => 558,n,Hangup

try making that [from-internal-custom] and see what happens.