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 Teams | Development
Microsoft Security | Microsoft Graph
{count} votes

2 answers

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.


  2. Srinivasan N 0 Reputation points
    2025-02-13T13:44:31.94+00:00

    Please let us know whether this issue is fixed now?

    Thanks.

    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.