From 61a6e10cfbb933a8d59dd68bc038127424eab644 Mon Sep 17 00:00:00 2001 From: Mathieu Rene Date: Tue, 10 Feb 2009 01:48:21 +0000 Subject: [PATCH] SFSIP-120 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11724 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia_glue.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 06617d1399..0c9908ab11 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -523,7 +523,8 @@ switch_status_t sofia_glue_ext_address_lookup(sofia_profile_t *profile, private_ 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; }