git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7480 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-02-01 22:56:08 +00:00
parent 66f4c59363
commit f4d6a7be82
1 changed files with 7 additions and 1 deletions

View File

@ -1521,7 +1521,13 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
}
switch_set_flag(tech_pvt, TFLAG_SDP);
goto done;
} else {
} else if (switch_test_flag(tech_pvt, TFLAG_LATE_NEGOTIATION)) {
switch_channel_set_variable(channel, SWITCH_ENDPOINT_DISPOSITION_VARIABLE, "DELAYED NEGOTIATION");
switch_set_flag_locked(tech_pvt, TFLAG_READY);
if (switch_channel_get_state(channel) == CS_NEW) {
switch_channel_set_state(channel, CS_INIT);
}
} else {
sdp_parser_t *parser;
sdp_session_t *sdp;
uint8_t match = 0;