[Freeswitch-trunk] [commit] r13630 - freeswitch/trunk/src/mod/endpoints/mod_sofia

FreeSWITCH SVN brian at freeswitch.org
Thu Jun 4 21:12:26 PDT 2009


Author: brian
Date: Thu Jun  4 23:12:26 2009
New Revision: 13630

Log:
 fix this cuz its wrong 

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c	Thu Jun  4 23:12:26 2009
@@ -1319,7 +1319,7 @@
 		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;



More information about the Freeswitch-trunk mailing list