Author: brian Date: Wed Jun 11 12:40:36 2008 New Revision: 8796 Modified: freeswitch/trunk/src/switch_ivr_originate.c Log: its >= 500 or <= 60000 so those are valid values. Modified: freeswitch/trunk/src/switch_ivr_originate.c ============================================================================== --- freeswitch/trunk/src/switch_ivr_originate.c (original) +++ freeswitch/trunk/src/switch_ivr_originate.c Wed Jun 11 12:40:36 2008 @@ -700,7 +700,7 @@ if ((var_val = switch_event_get_header(var_event, "originate_retry_sleep_ms")) && switch_true(var_val)) { int32_t tmp; tmp = atoi(var_val); - if (tmp > 500 && tmp < 60000) { + if (tmp >= 500 && tmp <= 60000) { sleep_ms = tmp; } else { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING,