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);