Forum Discussion
brianbrian
Nov 03, 2020Copper Contributor
MS Teams bot/app trigger call to a external phone number
Hi team
I have the next requirement:
Doing a bot/app in MS Teams, the user can click on call button and starts a call to a external phone number that is actually a Service Desk.
Is this possible with Microsoft Graph API?
Or within my custom app, there is a method to trigger an action that takes the user to calls tab with phone number field auto populated?
Thanks in advance!
- antooniooo1984Copper ContributorHi, I am looking for a similar solution, did you find the solution?
- ChetanSharma-msft
Microsoft
brianbrian, antooniooo1984 - If you are looking for calling & meeting bot, you can refer below documentation & repo:
https://docs.microsoft.com/en-us/microsoftteams/platform/bots/calls-and-meetings/registering-calling-bot#create-new-bot-or-add-calling-capabilities
https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-calling-meeting/csharp
If you want to call a person on a phone number, on click of a button on a card, you can create a deep-link for it like below:
https://teams.microsoft.com/l/call/0/0?users=<user1>,4:<phonenumber>
Reference link:
https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links#deep-linking-to-an-audio-or-audio-video-call
- Trinetra-MSFT
Microsoft
brianbrian you can register calling and meeting bot and use deep linking to update the number in tab.