Forum Discussion
Swess72
May 19, 2022Copper Contributor
Teams Call API like TAPI for Call Events
Hey everyone In last time I had searched long Time for a possibility to become a Event on every starting Call and every Stopped/transferd call on live Time but I didn't find anything. Do anyone ...
- Jul 22, 2022
Swess72 - We got the below response from the engineering team.
we do not have any APIs for adhoc calls. We only have a subscription api for scheduled onlinemeetings(start/stop/participants added/removed).Thanks,
Meghana
----------------------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
wladimir_k_m
Nov 28, 2023Copper Contributor
Hi Swess72
There is a good solution right now to handle incoming, accepted and missed calls in MS Teams by leveraging the Azure Communication Services APIs. The following documentation page describes it quite well:
https://learn.microsoft.com/en-us/azure/communication-services/concepts/interop/custom-teams-endpoint-use-cases#use-case-2-receive-inbound-teams-phone-call
We are already using the JavaScript client successfully for over 150 users. Just keep in mind however that as of today the .NET client is not recommended for this feature - you can receive incoming calls but there is no way to distinguish between accepted or missed calls. You can track the progress on this issue here:
https://github.com/Azure/azure-sdk-for-net/issues/37980
Edit: You may also experience issues with incoming PSTN call events in the .NET client depending on your country:
https://github.com/Azure/azure-sdk-for-net/issues/31167
Swess72
Nov 28, 2023Copper Contributor