MT#62063 session lvl sendrecv is active

Don't consider (global) session level sendrecv
state, in case of media section absence, as
the `InactiveStream`.

Keep it consistent with a logic for media sections:
sendrecv - means active RTP stream on this leg,
           hence no MoH to be provided.

Change-Id: I82f359823f69e7fc12835db1054d63621e7d1dad
mr13.3.1
Donat Zenichev 1 year ago
parent 5457cefa84
commit 375ee492bc

@ -315,10 +315,8 @@ bool CallLeg::isHoldRequest(const AmSdp &sdp, holdMethod &method)
case Recvonly:
method = RecvonlyStream;
return false; /* recvonly cannot provide moh */
/* well, no stream is something like InactiveStream, isn't it? */
case Sendrecv:
method = InactiveStream;
break;
return false; /* media stream is active */
}
}
}

Loading…
Cancel
Save