[Freeswitch-dev] VAD/ CNG question
Michael Jerris
mike at jerris.com
Tue Nov 23 06:27:00 PST 2010
On Nov 16, 2010, at 10:08 AM, Andy Pyles wrote:
> I setup the following scenario: A calls FS, FS plays back a wav file.
> I turned on the following channel variables:
>
> rtp_enable_vad_in=true
> rtp_enable_vad_out=true
>
> My question is where in the code are these channel variables defined?
> Specifically, I'd like to modify the silence threshold that is used.
> For my purposes, I'd like to tune the threshold to something more
> agressive than the default value.
>
> I'm using g.711U codec.
>
>:git grep -n rtp_enable_vad_
mod/endpoints/mod_sofia/sofia_glue.c:3073: if ((val = switch_channel_get_variable(tech_pvt->channel, "rtp_enable_vad_in")) && switch_true(val)) {
mod/endpoints/mod_sofia/sofia_glue.c:3076: if ((val = switch_channel_get_variable(tech_pvt->channel, "rtp_enable_vad_out")) && switch_true(val)) {
More information about the FreeSWITCH-dev
mailing list