This commit is contained in:
Anthony Minessale 2010-10-27 11:10:12 -05:00
parent 5472923024
commit 6ae933a2e9

View File

@ -4609,7 +4609,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
}
if (status == 183 && !r_sdp) {
if (switch_true(switch_channel_get_variable(channel, "sip_ignore_183nosdp")) || sofia_test_pflag(profile, PFLAG_IGNORE_183NOSDP)) {
if ((channel && switch_true(switch_channel_get_variable(channel, "sip_ignore_183nosdp"))) || sofia_test_pflag(profile, PFLAG_IGNORE_183NOSDP)) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%s Ignoring 183 w/o sdp\n", switch_channel_get_name(channel));
goto done;
}