agentcall icon indicating copy to clipboard operation
agentcall copied to clipboard

bot never gets past "joining" when --bot-name contains an apostrophe or parentheses

Open phiberr opened this issue 3 weeks ago • 1 comments

What happened With --bot-name "Juno (Phillip's notes)", every Microsoft Teams join stalled at call.bot_joining_meeting "joining". There was no bot_waiting_room and no bot_ready, and after about 2 minutes the call ended with reason left. Five attempts failed the same way, with both the short [teams.microsoft.com/meet/...](http://teams.microsoft.com/meet/...) link and the long meetup-join link, and with the meeting's lobby turned off. A person could join the same meeting anonymously from an incognito browser.

The same meeting joined fine with --bot-name Muninn, both with the stock scripts/run.sh and with bridge.py / bridge-visual.py.

Google Meet accepted the original name. The bot showed as "Juno (Phillips notes)", with the apostrophe dropped, so the name is changed somewhere along the way. Teams seems to fail on it instead.

I didn't isolate whether the apostrophe or the parentheses cause it.

Repro

  1. scripts/run.sh "<teams link>" --bot-name "Juno (Phillip's notes)": stalls at "joining", then ends with reason left.
  2. scripts/run.sh "<teams link>" --bot-name Muninn: reaches the lobby, then bot_ready.

Example call IDs: call-9addd1b6-0b2c-47d9-8ea6-063a6162638c (failed) and call-b2b6ef3b-9adf-4b8b-af9d-ddacfbcb0c12 (worked), both 2026-11-06.

Suggestion Clean up or reject unsupported characters in bot_name before joining, or return an error, and mention the allowed characters in the docs ("Bot Naming" section). Right now it fails silently.

phiberr avatar Nov 06 '26 18:11 phiberr

Thanks for the detailed report — confirmed and fixed. On Microsoft Teams, bot names now keep only letters, numbers, spaces and - _ . (other characters stopped the bot from getting in), so Juno (Phillip's notes) joins as Juno Phillips notes. The create-call response now returns the name actually used (bot_name, plus bot_name_requested when it changed). Google Meet and Zoom names are unchanged, except that the ' character is removed on Meet, which Meet already did. Please try again and let us know.

jomon003 avatar Nov 09 '26 06:11 jomon003