Transfers an active call to a destination phone number.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:ForwardAIAgentCall |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
No |
The current call instance ID. This parameter is used only in inbound call transfer scenarios. |
call_instance_202****** |
| CalledNumber |
string |
No |
The destination phone number to which the call is transferred. |
13********** |
| TransferPrompt |
string |
No |
The prompt text to play before the transfer begins. If this parameter is left empty, the prompt is skipped and the ringtone is played directly. Default value: empty. |
Please hold while I transfer your call. |
| ErrorPrompt |
string |
No |
The error prompt text to play when the transfer fails. Default value: empty. |
We’re sorry, we’re unable to transfer your call at the moment. Please try again later. |
| CallerNumber |
string |
No |
The caller phone number for the transferred call. This parameter is optional. Important
By default, CallerNumber is the phone number of the agent after the call is started: 1. For inbound lines, the agent number is the agent seat number. 2. For outbound lines, the agent number is the caller number. Warning Alibaba Cloud lines do not support this parameter. |
13********** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
550e8400********55440000 |
Examples
Success response
JSON format
{
"RequestId": "550e8400********55440000\n"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.