We're running into a small issue with enabling Media Bypass with Teams and AudioCodes. After configuring Avaya, AudioCodes, and Teams, we have verified Direct Routing is all working fine (after some tweaks). When toggling ICE Lite on for the AudioCodes, and turning on Media Bypass in Teams, all is well except calls from Avaya to Teams. Audio on the Avaya side drops after about 3 seconds, so the Teams recipient can hear the Avaya side for 3 seconds before dead air. Audio in the other direction is fine.
We do notice in the SIP trace that the Avaya sends another INVITE message, which is forwarded by the AudioCodes. AudioCodes then sends to Teams, but Teams rejects with the error message:
REASON: Q.850;cause=0;text="5a0345d0-37ff-41fd-8eb7-df1d9fa29aa2;BackToBackBypass offer was declined by Peer"