@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.
Cloud Communications API recordResponse initial and max silence
tristang2021
1
Reputation point
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();
2 answers
Sort by: Most helpful
-
-
Srinivasan N 0 Reputation points
2025-02-13T13:44:31.94+00:00 Please let us know whether this issue is fixed now?
Thanks.