ACS Web Client (using Teams Interop) calls terminate after 2 minutes #32760
Labels
Client
This issue points to a problem in the data-plane of the library.
Communication - Calling Server
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
We use the Azure Communication Calling client library for JavaScript within a web-based softphone for voice calling. The client is using the Teams interoperability option of having the identity as a Teams user (rather than the BYOI model).
Since the 16th Of January 2025 we've noticed that many calls to PSTN numbers are terminating after 2 minutes but this seems to only occur if there is a Teams policy-based recording bot being brought into the call. Without the recording bot being brought in, the calls work fine. Furthermore, some calls that include a recording bot are working fine and are lasting longer than 2 minutes.
When the calls terminate we log the following output in the ACS client (the information is obtained from the ACS call object returned by teamsCallAgent.startTeamsCall() on call state disconnected);
Addition information from Web Browser Network trace;
The termination appears to be coming from the Teams infrastructure, rather than the softphone, or indeed the PSTN leg (via Teams Direct Routing).
We're unsure as to whether the issue is caused by the Teams infrastructure or a bug within the JavaScript SDK. However, it should be noted that we haven't noticed this problem when using the Teams Desktop client or the Teams Web Client.
Any help in this matter will be gratefully received. Many thanks in advance, cheers Dave
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The call remains connected longer than 2 minutes and is only terminated when either party hangs-up.
The text was updated successfully, but these errors were encountered: