Denoise / agc

Hi, I am trying DENOISE and AGC to some sip channels for ‘internal’ calls. I have the SPEEX installed and the codecs.conf as below:
[speex]
; CBR encoding quality [0…10]
; used only when vbr = false
qualiity => 9

; codec complexity [0…10]
; tradeoff between cpu/quality
complexity => 6

; perceptual enhancement [true / false]
; improves clarity of decoded speech
enhancement => true

; voice activity detection [true / false]
; reduces bitrate when no voice detected, used only for CBR
; (implicit in VBR/ABR)
vad => false

; variable bit rate [true / false]
; uses bit rate proportionate to voice complexity
vbr => false

; available bit rate [bps, 0 = off]
; encoding quality modulated to match this target bit rate
; not recommended with dtx or pp_vad - may cause bandwidth spikes
abr => 0

; VBR encoding quality [0-10]
; floating-point values allowed
vbr_quality => 10

; discontinuous transmission [true / false]
; stops transmitting completely when silence is detected
; pp_vad is far more effective but more CPU intensive
dtx => false

; preprocessor configuration
; these options only affect Speex v1.1.8 or newer

; enable preprocessor [true / false]
; allows dsp functionality below but incurs CPU overhead
preprocess => true

; preproc voice activity detection [true / false]
; more advanced equivalent of DTX, based on voice frequencies
pp_vad => true

; preproc automatic gain control [true / false]
pp_agc => true
pp_agc_level => 8000

; preproc denoiser [true / false]
pp_denoise => true

; preproc dereverb [true / false]
pp_dereverb => true
pp_dereverb_decay => 0.4
pp_dereverb_level => 0.3

[plc]
; for all codecs which do not support native PLC
; this determines whether to perform generic PLC
; there is a minor performance penalty for this
genericplc => true

I’ve tried to add this to /extensions_custom.conf under [from-internal] and/or [macro-dial-one] but have not seen DENOISE or AGC in the dial setup

; denoise
exten => s,n,Set(DENOISE(rx)=on)
exten => s,n,Set(DENOISE(tx)=off)
; agc
exten => s,n,Set(AGC(rx)=8000)
exten => s,n,Set(AGC(tx)=off)

I only have SIP clients but a phone in a very noisy area. Where do i need to add the denoise/agc options for it actually to take effect?

Thanks

added to /extensions_override_freepbx.conf

[macro-dial-one]
; denoise
exten => s,37,Set(DENOISE(rx)=on)
exten => s,38,Set(DENOISE(tx)=off)
; agc
exten => s,39,Set(AGC(rx)=8000)
exten => s,40,Set(AGC(tx)=off)

exten => s,41,GotoIf($["${USEGOTO}"=“1”]?usegoto,1)
exten => s,42(godial),Dial(${DSTRING},${ARG1},${D_OPTIONS})
exten => s,43,ExecIf($["${DIALSTATUS_CW}"!=""]?Set(DIALSTATUS=${DIALSTATUS_CW}))
exten => s,44,GosubIf($["${SCREEN}"!=""|"${DIALSTATUS}"=“ANSWER”]?s-${DIALSTATUS},1)
exten => s,45,MacroExit()
exten => s,46(nodial),ExecIf($["${DIALSTATUS}" = “”]?Set(DIALSTATUS=NOANSWER))
exten => s,47,Noop(Returned from dial-one with nothing to call and DIALSTATUS: ${DIALSTATUS})
exten => s,48,MacroExit()