提交 6e8cd639 authored 作者: Anthony Minessale's avatar Anthony Minessale

add options ping to gateway

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8224 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 6eacfd9a
...@@ -159,6 +159,7 @@ void sofia_reg_check_gateway(sofia_profile_t *profile, time_t now) ...@@ -159,6 +159,7 @@ void sofia_reg_check_gateway(sofia_profile_t *profile, time_t now)
case REG_STATE_FAILED: case REG_STATE_FAILED:
sofia_reg_kill_reg(gateway_ptr, 0); sofia_reg_kill_reg(gateway_ptr, 0);
gateway_ptr->status = SOFIA_GATEWAY_DOWN;
case REG_STATE_TRYING: case REG_STATE_TRYING:
if (gateway_ptr->retry && now >= gateway_ptr->retry) { if (gateway_ptr->retry && now >= gateway_ptr->retry) {
gateway_ptr->state = REG_STATE_UNREGED; gateway_ptr->state = REG_STATE_UNREGED;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论