提交 011ebe67 authored 作者: Brian West's avatar Brian West

missed one

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13610 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 32a1336d
...@@ -141,8 +141,10 @@ void sofia_sub_check_gateway(sofia_profile_t *profile, time_t now) ...@@ -141,8 +141,10 @@ void sofia_sub_check_gateway(sofia_profile_t *profile, time_t now)
gw_sub_ptr->expires_str = "0"; gw_sub_ptr->expires_str = "0";
} }
user_via = sofia_glue_create_external_via(NULL, gateway_ptr->profile, gateway_ptr->register_transport); if (sofia_glue_check_nat(gateway_ptr->profile, gateway_ptr->register_proxy)) {
user_via = sofia_glue_create_external_via(NULL, gateway_ptr->profile, gateway_ptr->register_transport);
}
switch (ostate) { switch (ostate) {
case SUB_STATE_NOSUB: case SUB_STATE_NOSUB:
break; break;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论