FS-9380: switch_core_media.c , cleaned from logging

This commit is contained in:
Giovanni Maruzzelli 2016-08-03 16:55:34 -04:00
parent 4a520d4a1e
commit f5e8257da6
1 changed files with 2 additions and 0 deletions

View File

@ -6105,9 +6105,11 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_choose_port(switch_core_sessio
if (zstr(smh->mparams->remote_ip)) { /* no remote_ip, we're originating */ if (zstr(smh->mparams->remote_ip)) { /* no remote_ip, we're originating */
if (!zstr(smh->mparams->extrtpip)) { /* and we've got an ext-rtp-ip, eg, from verto config */ if (!zstr(smh->mparams->extrtpip)) { /* and we've got an ext-rtp-ip, eg, from verto config */
use_ip = smh->mparams->extrtpip; /* let's use it for composing local sdp to send to client */ use_ip = smh->mparams->extrtpip; /* let's use it for composing local sdp to send to client */
/*
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR,
"%s will use %s instead of %s in SDP, because we're originating and we have an ext-rtp-ip setting\n", "%s will use %s instead of %s in SDP, because we're originating and we have an ext-rtp-ip setting\n",
switch_channel_get_name(smh->session->channel), smh->mparams->extrtpip, smh->mparams->rtpip); switch_channel_get_name(smh->session->channel), smh->mparams->extrtpip, smh->mparams->rtpip);
*/
} }
} }
engine->adv_sdp_port = sdp_port; engine->adv_sdp_port = sdp_port;