From: Brian West Date: Sun, 16 Aug 2009 21:21:30 +0000 (+0000) Subject: we have this here otherwise you get NO audio from FS. See I knew there was a reason... X-Git-Tag: v1.0.6~2043 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=941c24d69edfcc716edc7044a8bc040bce18af74;p=thirdparty%2Ffreeswitch.git we have this here otherwise you get NO audio from FS. See I knew there was a reason for this. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14539 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 15be212afa..964e7aa5a6 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -662,7 +662,7 @@ switch_status_t sofia_glue_tech_choose_port(private_object_t *tech_pvt, int forc } sdp_port = tech_pvt->local_sdp_audio_port; - if (!(use_ip = switch_channel_get_variable(tech_pvt->channel, "rtp_adv_audio_ip"))) { + if (!(use_ip = switch_channel_get_variable(tech_pvt->channel, "rtp_adv_audio_ip")) && !sofia_test_pflag(tech_pvt->profile, PFLAG_AUTO_NAT)) { if (tech_pvt->profile->extrtpip) { use_ip = tech_pvt->profile->extrtpip; }