From: Anthony Minessale Date: Wed, 22 May 2013 13:11:24 +0000 (-0500) Subject: FS-5455 try this X-Git-Tag: v1.5.1~18^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=699bd795f679934f0f3e46fd9c7b8d3ffafff16d;p=thirdparty%2Ffreeswitch.git FS-5455 try this --- diff --git a/src/switch_core_media.c b/src/switch_core_media.c index cb8c8202b5..f2ae36b9c7 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -5874,7 +5874,7 @@ SWITCH_DECLARE(void) switch_core_media_patch_sdp(switch_core_session_t *session) return; } - if (zstr(a_engine->codec_params.local_sdp_ip) || !a_engine->codec_params.local_sdp_port || switch_channel_test_flag(session->channel, CF_PROXY_MEDIA)) { + if (zstr(a_engine->codec_params.local_sdp_ip) || !a_engine->codec_params.local_sdp_port) {// || switch_channel_test_flag(session->channel, CF_PROXY_MEDIA)) { if (switch_core_media_choose_port(session, SWITCH_MEDIA_TYPE_AUDIO, 1) != SWITCH_STATUS_SUCCESS) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "%s I/O Error\n", switch_channel_get_name(session->channel));