]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Increase the silence threshold to 128 to "fix" it, so I'm told. (issue #6595 reported...
authorJoshua Colp <jcolp@digium.com>
Mon, 22 May 2006 21:27:12 +0000 (21:27 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 22 May 2006 21:27:12 +0000 (21:27 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29555 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_waitforsilence.c

index 615eddbceec9191477b25f3cb25fcdc494834d0b..64839f352eabde0e2ffe710be55ec197ce304b80 100644 (file)
@@ -69,7 +69,7 @@ static int do_waiting(struct ast_channel *chan, int maxsilence) {
        int totalsilence = 0;
        int dspsilence = 0;
        int gotsilence = 0; 
-       static int silencethreshold = 64;
+       static int silencethreshold = 128;
        int rfmt = 0;
        int res = 0;
        struct ast_dsp *sildet;  /* silence detector dsp */