MT#62063 trixie: isHoldRequest, sendrecv is None

Consider sendrecv case as None, when checking the hold.

Change-Id: I8feb708a352f2756754bd6f19012b849edb93eca
mr13.3.1
Donat Zenichev 2 years ago
parent 8fbacbbca3
commit 7e5c2d052a

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

Loading…
Cancel
Save