February 15, 2023, 4:26pm
I have multiple users using the same phone. I have some users that speak into the handset “LOUDLY”. And some users that speak into the handset “softly”.
I would love to use AGC Automatic Gain Control inside of FreePBX. Perhaps within PJSIP.
Does anyone have a suggestion on a good way to implement this?
February 15, 2023, 5:03pm
That’s really the job of the telephone. If people talk too loud, they will over-range the codec, and distort. If they talk too softly, there will be a loss of dynamic range, and therefore higher background noise. The phone needs to adjust the levels so that the full range of the codec is used subject to sufficient margin to prevent clipping. That can’t be done properly once the dynamic range has been limited by the codec.
Nonetheless, there is a
dialplan function to set AGC, although it is really intended for analogue lines.
However, it looks like it may only work with the speex codec, even though the documentation doesn’t mention such a restriction.
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:
; 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
March 18, 2023, 5:04pm
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.