How to set the outgoing phone number for a bot when calling a PSTN number via direct routing

Moritz Kobel 0 Reputation points
2024-02-16T09:32:30.42+00:00

One of our applications initiates outgoing PSTN calls using POST https://graph.microsoft.com/v1.0/communications/calls as bot resource. The bot resource has a direct routing phone number assigned. How can we define another outgoing phone number? In our use case we would like to initiate the outgoing calls using an employees personal phone number. The bot is used to set up the call on behalf of the user. Therefore we would like to ensure the callee sees the callers phone number instead of the number of the bot. The personal phone numbers are already configured & working in teams. As we can select the outgoing number in teams, we hope to be able to select the outgoing number for calls initiated via bot too.

Microsoft Security | Microsoft Graph
Microsoft Teams | Microsoft Teams for business | Teams on mobile devices
0 comments No comments
{count} votes

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.