[Freeswitch-branches] [commit] r13591 - freeswitch/branches/brian/trunk/src/mod/endpoints/mod_sofia

FreeSWITCH SVN brian at freeswitch.org
Wed Jun 3 12:46:26 PDT 2009


Author: brian
Date: Wed Jun  3 14:46:25 2009
New Revision: 13591

Log:
 more clean up 

Modified:
   freeswitch/branches/brian/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c

Modified: freeswitch/branches/brian/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c
==============================================================================
--- freeswitch/branches/brian/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c	(original)
+++ freeswitch/branches/brian/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c	Wed Jun  3 14:46:25 2009
@@ -424,9 +424,7 @@
 		if ((p = strstr(contact_url, ";fs_"))) {
 			*p = '\0';
 		}
-
-		if (sofia_test_pflag(profile, PFLAG_AUTO_NAT) && profile->local_network &&
-			!switch_check_network_list_ip(network_ip, profile->local_network)) {
+		if (sofia_glue_check_nat(profile, network_ip)) {
 			char *ptr = NULL;
 			const char *transport_str = NULL;
 			



More information about the Freeswitch-branches mailing list