more nat cleanup

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15759 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2009-12-02 18:46:17 +00:00
1 parent c27a26e30e
commit f8da7ac30e
4 files changed
+12 -13

No files matched your search

+1 -1
View File
@@ -383,7 +383,7 @@ static int sofia_sla_sub_callback(void *pArg, int argc, char **argv, char **colu
}
}
if (sofia_test_pflag(helper->profile, PFLAG_AUTO_NAT)) {
if (helper->profile->extsipip) {
if (sofia_glue_check_nat(helper->profile, network_ip)) {
fixup = switch_string_replace(helper->payload, helper->profile->sipip, helper->profile->extsipip);
} else {