Cloud Communications API recordResponse initial and max silence

tristang2021 1 Reputation point
2021-04-20T01:32:10.06+00:00

Using the cloud communications API and remote media to play a prompt and record the response in a Teams channel bot. When setting parameters for the recording we're able to set the initial and max silence timeouts but these seem to have no effect on the recording length. The recording will always finish when the max duration is reached. Expected behaviour is that the initial or max silence parameters will "cut short" the recording and return a notification before the max recording duration is reached.

var request = this.RequestBuilder.Communications.Calls[callId].RecordResponse(
                prompts: prompts,
                bargeInAllowed: false,
                initialSilenceTimeoutInSeconds: 5,
                maxSilenceTimeoutInSeconds: 2,
                maxRecordDurationInSeconds: 120,
                playBeep: false,
                clientContext: callId).Request();
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,886 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,209 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nikitha-MSFT 541 Reputation points
    2021-05-17T20:07:28.47+00:00

    @tristang2021 - We are able to repro the issue at our end. Raised a bug - we don't have ETA to share when it will be fixed.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.