From 7e5c2d052a0a4955c6c0b60e9948786a44665e68 Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Mon, 17 Feb 2025 18:16:36 +0100 Subject: [PATCH] MT#62063 trixie: isHoldRequest, sendrecv is None Consider sendrecv case as None, when checking the hold. Change-Id: I8feb708a352f2756754bd6f19012b849edb93eca --- apps/sbc/CallLeg.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/sbc/CallLeg.cpp b/apps/sbc/CallLeg.cpp index 7eb435ce..e50e4f7a 100644 --- a/apps/sbc/CallLeg.cpp +++ b/apps/sbc/CallLeg.cpp @@ -302,6 +302,7 @@ bool CallLeg::isHoldRequest(const AmSdp &sdp, holdMethod &method) method = RecvonlyStream; return false; /* recvonly cannot provide moh */ case Sendrecv: + method = None; return false; /* media stream is active */ } } @@ -320,6 +321,7 @@ bool CallLeg::isHoldRequest(const AmSdp &sdp, holdMethod &method) method = RecvonlyStream; return false; /* recvonly cannot provide moh */ case Sendrecv: + method = None; return false; /* media stream is active */ } }