To create a window that appears after a Teams call ends, allowing users to save call details, you can utilize the Microsoft Graph API to listen for call events and then trigger a custom action, such as displaying a form.
- You can set up a subscription to listen for call end events.
https://learn.microsoft.com/en-us/graph/api/resources/callrecords-pstncalllogrow?view=graph-rest-1.0 - Once you receive a notification that a call has ended, you can trigger a custom action on your server application. This could be displaying a Windows Form or another type of UI for users to enter details about the call.
- After the user enters the details, you can save this information to your system that records the time spent on various tasks.
Please note that while the Graph API provides access to call records, it does not directly support triggering UI elements on the client side. You might need to develop a custom solution that works with your existing infrastructure to display the form after a call ends.
Thanks,
Prasad Das
------------------------------------------------------------------------------------------
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.