diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index 0ecfbd4ca0..6a5698457e 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -1018,7 +1018,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_session(switch_core_session_t if ((p = switch_channel_get_variable(channel, "RECORD_MIN_SEC"))) { int tmp = atoi(p); - if (tmp > 0) { + if (tmp >= 0) { rh->min_sec = tmp; } }