add record_min_sec chan var

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15272 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-10-29 15:30:07 +00:00
parent 223a4d53cf
commit b2ca02cabe
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}