Revision
15272
Author
anthm
Date
2009-10-29 10:30:07 -0500 (Thu, 29 Oct 2009)

Log Message

add record_min_sec chan var

Modified Paths

Diff

Modified: freeswitch/trunk/src/switch_ivr_async.c (15271 => 15272)


--- freeswitch/trunk/src/switch_ivr_async.c	2009-10-29 15:29:33 UTC (rev 15271)
+++ freeswitch/trunk/src/switch_ivr_async.c	2009-10-29 15:30:07 UTC (rev 15272)
@@ -1018,7 +1018,7 @@
 	
 	if ((p = switch_channel_get_variable(channel, "RECORD_MIN_SEC"))) {
 		int tmp = atoi(p);
-		if (tmp > 0) {
+		if (tmp >= 0) {
 			rh->min_sec = tmp;
 		}
 	}