提交 8e7bbff3 authored 作者: Brian West's avatar Brian West

its >= 500 or <= 60000 so those are valid values.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8796 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 9806d4be
...@@ -700,7 +700,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess ...@@ -700,7 +700,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
if ((var_val = switch_event_get_header(var_event, "originate_retry_sleep_ms")) && switch_true(var_val)) { if ((var_val = switch_event_get_header(var_event, "originate_retry_sleep_ms")) && switch_true(var_val)) {
int32_t tmp; int32_t tmp;
tmp = atoi(var_val); tmp = atoi(var_val);
if (tmp > 500 && tmp < 60000) { if (tmp >= 500 && tmp <= 60000) {
sleep_ms = tmp; sleep_ms = tmp;
} else { } else {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论