Merged revisions 29555 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Mon, 22 May 2006 21:28:32 +0000 (21:28 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 22 May 2006 21:28:32 +0000 (21:28 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29555 | file | 2006-05-22 18:27:12 -0300 (Mon, 22 May 2006) | 2 lines

Increase the silence threshold to 128 to "fix" it, so I'm told. (issue #6595 reported by davetroy fixed by casper)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29556 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_waitforsilence.c

index 17ffd89..013d67c 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 */