Hi @Prageet Surothiya , You can use JoinCallAsync() method which takes meeting url as an input. Please go through this sample code.
How calling bot can join inbound and outbound call automatically?
I have created a Calling Bot by following the steps mentioned in the article register-calling-bot.html
Generated the ngrok URL which points to the web service that I created locally on my machine.
Deployed the custom app on the Teams client and able to place a phone call to the BOT.
The 'api/calling' endpoint receives the notifications when a 1-1 call is placed to the BOT and based on some logic the call has been answered by the BOT using the MS Graph answer API endpoint.
The above use case seems to be working fine. I need help to understand how I can implement the following scenarios:
1) Can BOT joins a call automatically between the two participants or more?
2) Can BOT joins a meeting automatically?
It would be great if I get some direction to solve the above use cases.
From the technology perspective, I prefer to implement this using NodeJS.
Azure AI Bot Service
Microsoft Teams Development
Microsoft Security Microsoft Graph
2 answers
Sort by: Most helpful
-
-
Prageet Surothiya 1 Reputation point
2021-04-23T10:36:26.257+00:00 Thanks for your reply @Mamatha-MSFT .
Actually, the main bottle-neck is that I am not getting any notification for the webhook URL which I added in the calling endpoint API. I receive the notification only for the 1-1 case when I place a phone call directly to a BOT. But the webhook does not trigger for the group call or for meeting.To accomplish this, do I need to follow every step mentioned in the Readme file at:
https://github.com/microsoftgraph/microsoft-graph-comms-samples/tree/master/Samples/V1.0Samples/LocalMediaSamples/PolicyRecordingBot