]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4764 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 25 Oct 2012 15:07:27 +0000 (10:07 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 25 Oct 2012 15:07:27 +0000 (10:07 -0500)
src/switch_ivr_bridge.c

index 3d66adbd4da5302c116e4edf71b7ec3e95115f7d..24e18f6b5860255df6f9e39731e135dc9d42f4fa 100644 (file)
@@ -262,7 +262,7 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj)
                if (switch_true(silence_var)) {
                        silence_val = 1400;
                } else {
-                       if ((silence_val = atoi(silence_var)) < 0) {
+                       if ((silence_val = atoi(silence_var)) < -1) {
                                silence_val = 0;
                        }
                }