git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7961 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-03-25 18:48:20 +00:00
parent 63b7f1cac9
commit 45df9ee1d6
3 changed files with 29 additions and 27 deletions
+3 -2
View File
@@ -1828,8 +1828,9 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
}
break;
case nua_callstate_ready:
switch_channel_clear_flag(channel, CF_REQ_MEDIA);
if (channel) {
switch_channel_clear_flag(channel, CF_REQ_MEDIA);
}
if (tech_pvt && nh == tech_pvt->nh2) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Cheater Reinvite!\n");
switch_set_flag_locked(tech_pvt, TFLAG_REINVITE);