提交 28f51bdd authored 作者: Anthony Minessale's avatar Anthony Minessale

SFSIP-162 (part 2)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14250 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 3d31195c
...@@ -264,11 +264,8 @@ void sofia_reg_check_gateway(sofia_profile_t *profile, time_t now) ...@@ -264,11 +264,8 @@ void sofia_reg_check_gateway(sofia_profile_t *profile, time_t now)
gateway_ptr->expires_str = "0"; gateway_ptr->expires_str = "0";
} }
if (!sofia_test_pflag(gateway_ptr->profile, PFLAG_RUNNING) || gateway_ptr->deleted) { if (gateway_ptr->ping && !gateway_ptr->pinging && (now >= gateway_ptr->ping && (ostate == REG_STATE_NOREG || ostate == REG_STATE_REGED)) &&
continue; !gateway_ptr->deleted) {
}
if (gateway_ptr->ping && !gateway_ptr->pinging && (now >= gateway_ptr->ping && (ostate == REG_STATE_NOREG || ostate == REG_STATE_REGED))) {
nua_handle_t *nh = nua_handle(profile->nua, NULL, NUTAG_URL(gateway_ptr->register_url), TAG_END()); nua_handle_t *nh = nua_handle(profile->nua, NULL, NUTAG_URL(gateway_ptr->register_url), TAG_END());
sofia_private_t *pvt; sofia_private_t *pvt;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论