I am using the RECORD FILE agi function with a specified silence timeout to obtain a .wav file which my agi script then sends off to an external ASR service. In some cases calls are received with very poor SNR, so I would like to better understand exactly how Asterisk detects “silence”.
confbridge.conf.sample says that dsp_talking threshold is a magnitude threshold that is potentially adjustable, however does this only apply in the ConfBridge application, or more generally?
The documentation in func_talkdetect.c says that dsp_talking_threshold is a time in milliseconds rather than a signal level threshold.
The actual signal level threshold used appears to be dsp->threshold in dsp.c but it’s not clear what parameter in which config file can be used to alter this value.
Any help would be greatly appreciated.