New Teams Client Makes Two Outgoing PSTN Calls from @microsoft/teams-js startCall() Function

Dr Dave H 150 Reputation points
2023-12-15T18:22:14.84+00:00

We are using the @microsoft/teams-js JavaScript module within a Teams Tab App to initiate an outgoing call to a PSTN number. For example, we are calling;

call.startCall({ targets: ["4:01904xxxxxx"], requestedModalities: [teamsCall.CallModalities.Audio], source: "demoApp"})

This has been working as expected but we've noticed that when running within the new Teams Desktop Client, it makes two outgoing calls instead of just the one. The first call does drop but not before it reaches our call platform, and causes call routing issues. Both calls out can be seen logged in the call history.

Having retested on the older Desktop Client and both versions of the Web Client, we can confirm that it works as expected in these clients, and only a single call out is made. Furthermore, it only appears to be a problem when calling PSTN numbers. For example, if we call using a User Principal Name instead, only one call is made out.

This issue appears to be a bug with the Teams Desktop client itself.

This issue may be related to this Q&A post; How to prevent double dialing number in PSTN calls on Teams via PowerShell or any other way? - Microsoft Q&A

Any help in this matter will be gratefully received. Cheers, Dave

Microsoft Teams | Development
Microsoft Teams | Microsoft Teams for business | Other
{count} votes

Accepted answer
  1. Ran Hou-MSFT 7,585 Reputation points Microsoft External Staff
    2023-12-18T02:29:19.3+00:00

    Hi @Dr Dave H

    It looks more like a bug in new Teams, you can send your feedback in Microsoft Teams, and then select Help at the bottom lower-left of Teams and then choose Suggest a feature or Give feedback to tell us what you think.

    Meanwhile, to solve this issue/bug more quickly, we also recommend you give the feedback in Teams UserVoice and help us make improvements and build new products. Many features of our current products are designed and upgraded based on customers’ feedback. With requirements like this increase, the problem may well be released in the future. Thanks for your understanding and support!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.