FS-3688 I think 100'th time's the charm.....

This commit is contained in:
Anthony Minessale
2011-11-23 10:33:51 -06:00
parent 58c3c3a049
commit 4dbc9d7cbc
2 changed files with 22 additions and 17 deletions
+6 -2
View File
@@ -5790,8 +5790,12 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
goto done;
}
if (switch_channel_test_flag(channel, CF_PROXY_MODE)) {
sofia_glue_tech_proxy_remote_addr(tech_pvt, r_sdp);
if (switch_channel_test_flag(channel, CF_PROXY_MEDIA)) {
if (sofia_glue_tech_proxy_remote_addr(tech_pvt, r_sdp) == SWITCH_STATUS_SUCCESS) {
nua_respond(tech_pvt->nh, SIP_200_OK, TAG_END());
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Audio params changed, NOT proxying re-invite.\n");
goto done;
}
}
msg = switch_core_session_alloc(other_session, sizeof(*msg));