From 3267c8d3aaa0abcab16702f18c558972d7333252 Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Fri, 21 Feb 2025 10:11:45 +0100 Subject: [PATCH] MT#61912 AmB2BCallerSession::onB2BEvent: remove unused part Just a rudiment from the past. Change-Id: Ibe96c96cd779445236c4730432040c630334add6 --- core/AmB2BSession.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/core/AmB2BSession.cpp b/core/AmB2BSession.cpp index e2919301..bf2da92f 100644 --- a/core/AmB2BSession.cpp +++ b/core/AmB2BSession.cpp @@ -1364,12 +1364,6 @@ void AmB2BCallerSession::onB2BEvent(B2BEvent* ev) "switching to SIP relay only mode, sending re-INVITE to caller\n"); sip_relay_only = true; - AmSipReply n_reply = reply; - - if (n_reply.body.empty() && !established_body.empty()) { - DBG("callee FR without SDP, using provisional response's (18x) one\n"); - n_reply.body = established_body; - } if (reinviteCaller(reply, hdrs)) { ERROR("re-INVITEing caller failed - stopping this and other leg\n");