提交 220ebe81 authored 作者: Brian West's avatar Brian West

if the phone is behind nat with us... don't consider nat processing fixees…

 if the phone is behind nat with us... don't consider nat processing fixees cases where things are EVIL like cisco 79xx

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15486 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 4ce2a159
...@@ -1354,6 +1354,10 @@ void sofia_reg_handle_sip_i_register(nua_t *nua, sofia_profile_t *profile, nua_h ...@@ -1354,6 +1354,10 @@ void sofia_reg_handle_sip_i_register(nua_t *nua, sofia_profile_t *profile, nua_h
nua_respond(nh, SIP_500_INTERNAL_SERVER_ERROR, TAG_END()); nua_respond(nh, SIP_500_INTERNAL_SERVER_ERROR, TAG_END());
goto end; goto end;
} }
if (is_nat && !sofia_glue_check_nat(profile, network_ip)) {
is_nat = NULL;
}
sofia_reg_handle_register(nua, profile, nh, sip, type, key, sizeof(key), &v_event, is_nat); sofia_reg_handle_register(nua, profile, nh, sip, type, key, sizeof(key), &v_event, is_nat);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论