Hangs up a call in Communication Intelligence Engine.
Operation description
-
Before you hang up a call in Communication Intelligence Engine, ensure that a call has been initiated by a large model.
-
If a call has not been initiated, use the LlmSmartCall or LlmSmartCallEncrypt operation to do so.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
aiccs:HangupOperate |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CallId |
string |
Yes |
The call ID. Obtain this ID from the response of the LlmSmartCall or LlmSmartCallEncrypt operation. |
14777672****^13452272**** |
| ImmediateHangup |
boolean |
No |
Specifies whether to hang up the call immediately. Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
EFD543DD-E087-54A2-AC0B-54E0656511D7 |
| Code |
string |
The status code. A value of 'OK' indicates that the request was successful. |
OK |
| Mesage |
string |
The status message. |
OK |
| Result |
boolean |
The result of the operation. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "EFD543DD-E087-54A2-AC0B-54E0656511D7",
"Code": "OK",
"Mesage": "OK",
"Result": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.CallId | The parameter CallId is invalid. | The parameter CallId is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.