From 72a2ea2301bae2abd8addd643d31b9a7afc802e5 Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Mon, 10 Feb 2025 09:48:11 +0100 Subject: [PATCH] MT#62063 deprecate `isOnHoldRequested()` Deprecate because no users left. Change-Id: Iba3fe74a560e5b097e4dee49e2cb40cb9a5a7004 --- apps/sbc/CallLeg.cpp | 8 -------- apps/sbc/CallLeg.h | 5 +---- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/apps/sbc/CallLeg.cpp b/apps/sbc/CallLeg.cpp index 94ff11c8..cd584a8e 100644 --- a/apps/sbc/CallLeg.cpp +++ b/apps/sbc/CallLeg.cpp @@ -1436,14 +1436,6 @@ CallLeg::holdMethod CallLeg::updateHoldMethod(const AmSdp &sdp) return hold_method; } -bool CallLeg::isOnHoldRequested(const AmSdp &sdp, holdMethod &method) -{ - if (isHoldRequest(sdp, (holdMethod&)method)) { - DBG("This request puts the call on hold\n"); - return true; - } - return false; -} bool CallLeg::retrieveAmSdp(const AmMimeBody &mSdp, AmSdp &sdp) { AmMimeBody t_sdp_body = mSdp; diff --git a/apps/sbc/CallLeg.h b/apps/sbc/CallLeg.h index 6ce87bc5..f42e8808 100644 --- a/apps/sbc/CallLeg.h +++ b/apps/sbc/CallLeg.h @@ -217,10 +217,7 @@ class CallLeg: public AmB2BSession * returns `holdMethod` based on given SDP. */ holdMethod updateHoldMethod(const AmSdp &sdp); - /* check if this request assumes call to be put on hold, - * this in internal class'es implementation. - */ - bool isOnHoldRequested(const AmSdp &sdp, holdMethod &hm); + /* set AmSdp based on AmMimeBody */ bool retrieveAmSdp(const AmMimeBody &mSdp, AmSdp &sdp);