diff --git a/src/mod/formats/mod_local_stream/mod_local_stream.c b/src/mod/formats/mod_local_stream/mod_local_stream.c index 5f9dd2484d..1a0d015d12 100644 --- a/src/mod/formats/mod_local_stream/mod_local_stream.c +++ b/src/mod/formats/mod_local_stream/mod_local_stream.c @@ -1416,6 +1416,7 @@ SWITCH_STANDARD_API(local_stream_function) if (source->agc) { switch_agc_destroy(&source->agc); } + source->energy_avg = 0; } }