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 */ } }