add record_min_sec chan var
--- 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;
}
}