The behavior you're experiencing with the callTranscriptEventMessageDetail not being sent until the meeting is started again may be related to how Microsoft Teams handles event notifications for transcripts and recordings. According to the documentation, change notifications for transcripts and recordings can be subscribed to, and you should receive notifications when a transcript is available after a meeting or call.
However, if you are not receiving the notification until the meeting is restarted, it could be due to the lifecycle of the meeting and how Teams processes the availability of the transcript. When the meeting is restarted, it may trigger the system to send out the pending notifications, including the transcript event, which explains why you see the event instantly upon restarting the meeting.
This could also indicate a potential issue with the webhook or the timing of the event notifications. It's important to ensure that your webhook is properly configured to receive all relevant events and that there are no connectivity issues that might delay notifications.
For further troubleshooting, you might want to check the settings of your webhook and ensure that it is set up to receive lifecycle notifications if required. Additionally, reviewing the Teams meeting policies and configurations might provide insights into any restrictions or settings that could affect event notifications.
References: