SFSIP-120

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11724 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene 2009-02-10 01:48:21 +00:00
parent 6e80c32ae2
commit 61a6e10cfb
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}