Pause a call for a specified time.
{
"Type": "Pause",
"Parameters": {
"CallId": "call-id-1
",
"ParticipantTag": "LEG-A",
"DurationInMilliseconds": "3000
"
}
}
- CallId
-
Description –
CallId
of participant in theCallDetails
of the AWS Lambda function invocationAllowed values – A valid call ID
Required – No
Default value – None
- ParticipantTag
-
Description –
ParticipantTag
of one of the connected participants in theCallDetails
Allowed values –
LEG-A
orLEG-B
Required – No
Default value –
ParticipantTag
of the invokedcallLeg
Ignored 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: