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:
parent
223a4d53cf
commit
b2ca02cabe
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue