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

FreeSWITCH SVN mrene at freeswitch.org
Mon Feb 9 17:48:21 PST 2009


Author: mrene
Date: Mon Feb  9 19:48:21 2009
New Revision: 11724

Log:
SFSIP-120

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	Mon Feb  9 19:48:21 2009
@@ -523,7 +523,8 @@
 		char *p;
 
 		if (!sofia_test_pflag(profile, PFLAG_STUN_ENABLED)) {
-			*ip = switch_core_strdup(pool, tech_pvt->profile->rtpip);
+			*ip = switch_core_strdup(pool, profile->rtpip);
+			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Trying to use STUN but its disabled!\n");
 			return SWITCH_STATUS_SUCCESS;
 		}
 		



More information about the Freeswitch-svn mailing list