This commit is contained in:
Anthony Minessale 2013-03-08 08:24:44 -06:00
parent eee1755c42
commit 3034de6e79
1 changed files with 1 additions and 1 deletions

View File

@ -5177,7 +5177,7 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Passing %d %s to other leg\n", status, phrase); switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Passing %d %s to other leg\n", status, phrase);
if (status == 491 && sofia_test_flag(tech_pvt, TFLAG_T38_PASSTHRU)) { if (status == 491 && (sofia_test_flag(tech_pvt, TFLAG_T38_PASSTHRU)||switch_channel_test_flag(channel, CF_PROXY_MODE))) {
nua_respond(other_tech_pvt->nh, SIP_491_REQUEST_PENDING, TAG_END()); nua_respond(other_tech_pvt->nh, SIP_491_REQUEST_PENDING, TAG_END());
switch_core_session_rwunlock(other_session); switch_core_session_rwunlock(other_session);
goto end; goto end;