Pause
Pause a call for a specified time.
{ "Type": "Pause", "Parameters": { "CallId": "call-id-1", "ParticipantTag": "LEG-A", "DurationInMilliseconds": "3000" } }
- CallId
-
Description –
CallIdof participant in theCallDetailsof the AWS Lambda function invocationAllowed values – A valid call ID
Required – No
Default value – None
- ParticipantTag
-
Description –
ParticipantTagof one of the connected participants in theCallDetailsAllowed values –
LEG-AorLEG-BRequired – No
Default value –
ParticipantTagof the invokedcallLegIgnored if you specifyCallId - DurationInMilliseconds
-
Description – Duration of the pause, in milliseconds
Allowed values – An integer >0
Required – Yes
Default value – None
See working examples on GitHub: