fix this cuz its wrong

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13630 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2009-06-05 04:12:26 +00:00
parent b633d3298e
commit bf7120ea8f
1 changed files with 1 additions and 1 deletions

View File

@ -1319,7 +1319,7 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
const char* format;
const char *alt = NULL;
if (sofia_glue_check_nat(tech_pvt->profile, tech_pvt->profile->local_network)) {
if (sofia_glue_check_nat(tech_pvt->profile, tech_pvt->remote_ip)) {
sipip = tech_pvt->profile->extsipip;
} else {
sipip = tech_pvt->profile->extsipip ? tech_pvt->profile->extsipip : tech_pvt->profile->sipip;