Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recording Bot unable to join the meeting #1266

Open
pavankalyan066 opened this issue May 16, 2024 · 3 comments
Open

Recording Bot unable to join the meeting #1266

pavankalyan066 opened this issue May 16, 2024 · 3 comments
Assignees

Comments

@pavankalyan066
Copy link

Overview:
I have created a Teams application where it uses Bot service, get the audio of participants and transcribe it.

Issue:
Trying to debug the application in local, but Bot is unable to join the call that uses ngrok domain to tunnel the request to local machine and join call API is response is 200

The same domain URL is being configured in the Teams calling channels of the Bot.

Tested it using old, new and web based Teams clients. but same issue. exists.

Sample Curl Request:
curl --location 'https://{domainname}.ngrok.io/joinCall/' \ --header 'Content-Type: application/json' \ --data-raw '{"JoinURL":{teams meeting URL}'

Sample Response:

{
    "callId": "471f5700-1882-40ad-bf98-03858f3481e3",
    "scenarioId": "bfd82217-e8b7-4c7e-9174-383895227fc1",
    "call": "{doaminname}.ngrok.io/calls/471f5700-1882-40ad-bf98-03858f3481e3"
}

Unable to understand where does the error occurs, Could some one help me to fix it so that Bot joins the meeting.

Hi @pavankalyan066! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

@Dinesh-MSFT
Copy link

Hi @pavankalyan066 - Thanks for raising the query.
We will look into it and let you know the updates.

@Dinesh-MSFT
Copy link

Dinesh-MSFT commented May 24, 2024

Hi @pavankalyan066,
Your bot is facing issues joining a meeting via an ngrok tunnel to your local machine. This could be due to your ngrok setup and how the bot handles call signaling events. Here’s how to fix it:

Update ngrok for TCP Tunnels:
Ensure ngrok is configured for TCP tunnels, which calls and meeting bots use. Update the ngrok.yml file accordingly.
Check Bot Messaging Endpoint:
Make sure the bot’s messaging endpoint uses the correct ngrok URL in the Bot Framework portal.
Verify Bot Configuration in Teams:
Confirm that the ngrok domain URL is correctly set in the Teams calling channels.
Debugging:
Review ngrok logs for errors.
Monitor network requests and responses.
Use tools like Postman or curl to test the bot’s join call API endpoint.
Update Bot Endpoint in App Manifest:
If deploying to a different environment, update the ngrok URL in the Teams app manifest.
Consider End-to-End Encryption:
For security, consider a paid ngrok account for encrypted communication. Example ngrok.yml Configuration:

tunnels:
 signaling:
   addr: 12345
   proto: http
 media:
   addr: 8445
   proto: tcp

Replace port numbers and protocols as needed. Follow these steps to resolve the bot’s meeting join issues. For detailed setup and troubleshooting, refer to the Microsoft Teams documentation https://learn.microsoft.com/en-us/microsoftteams/platform/bots/calls-and-meetings/calls-meetings-bots-overview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants