From 845cf3adbfeaa8655aa202af1ccc5e77ffe9a161 Mon Sep 17 00:00:00 2001 From: Alexandre Savard <alexandresavard@alexandresavard-desktop.(none)> Date: Wed, 24 Mar 2010 12:12:42 -0400 Subject: [PATCH] [#3071] Remove SDP negotiation in call state changed It makes SDP answer to be sent in ACK even if offer have been already sent with INVITE request --- sflphone-common/src/sip/sipvoiplink.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/sflphone-common/src/sip/sipvoiplink.cpp b/sflphone-common/src/sip/sipvoiplink.cpp index 7d7c945de6..29c3dbc013 100644 --- a/sflphone-common/src/sip/sipvoiplink.cpp +++ b/sflphone-common/src/sip/sipvoiplink.cpp @@ -3113,19 +3113,6 @@ void call_on_state_changed (pjsip_inv_session *inv, pjsip_event *e) } - - // After 2xx is sent/received. - else if (inv->state == PJSIP_INV_STATE_CONNECTING) { - status = call->getLocalSDP()->check_sdp_answer (inv, rdata); - - if (status != PJ_SUCCESS) { - _warn ("UserAgent: Failed to check incoming SDP in call_on_state_changed"); - return; - } - } - - - // After we sent or received a ACK - The connection is established else if (inv->state == PJSIP_INV_STATE_CONFIRMED) { -- GitLab