MT#62063 trigger hook without checking `RecvonlyStream`

Now `RecvonlyStream` is excluded from those
considered as SDP medias putting other side on hold
(with MoH). Hence no need to take it into account.

Change-Id: Ia04e7808898e0d5e4ac99b71a51e9c0126a0dc11
mr13.3.1
Donat Zenichev 1 year ago
parent 72a2ea2301
commit a8881ea2d2

@ -1817,13 +1817,10 @@ void CallLeg::adjustOffer(AmSdp &sdp)
if (isHoldRequest(sdp, hm)) {
DBG("%s: B2b hold request", getLocalTag().c_str());
/* true only for 'sendonly */
if (hm != RecvonlyStream)
holdRequested(); /* looks like it handles only MoH */
holdRequested(); /* it handles only MoH's hook */
alterHoldRequest(sdp);
hold = HoldRequested;
} else {
if (on_hold || isSDPBodyHold(sdp)) {
DBG("B2b resume request");

Loading…
Cancel
Save