DebugBeginDialogue
Starts a session in the debug environment.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
voicebot:DebugBeginDialogue |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CalledNumber |
string |
No |
The called number. |
10086 |
| CallingNumber |
string |
Yes |
The calling number. |
135815***** |
| ConversationId |
string |
Yes |
The session ID. |
8a503680-815d-473e-a9b0-e010f47a64d2 |
| InitialContext |
string |
No |
The session information. |
{} |
| InstanceId |
string |
Yes |
The scenario ID. |
8a9bdaa895a748528a15b50c281e6474 |
| ShouldUseSandBox |
boolean |
No |
Specifies whether to use sandbox mode. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Action |
string |
The action instruction. |
Broadcast |
| Interruptible |
boolean |
Indicates whether the IVR announcement can be interrupted. |
true |
| RequestId |
string |
The request ID. |
14C39896-AE6D-4643-9C9A-E0566B2C2DDD |
| ActionParams |
string |
The parameters of the action instruction. |
{"predictStopLongPauseConfig":"{\"NoSemantics\":1800, \"PauseIntent\":2500, \"IncompleteSemantics\":2000}","predictStopNluResponseMinTime":400,"streamEnd":true,"predictStopNluResponseMiddleWaitTime":5000,"asrMaxEndSilence":600,"predictStopAsrDelay":250,"asrMaxBeginSilence":5000,"predictStopVad":300,"predictStopLongPause":1400,"enableStreamChat":true} |
| TextResponse |
string |
The announcement content. |
Hello, welcome to the intelligent assistant |
Examples
Success response
JSON format
{
"Action": "Broadcast",
"Interruptible": true,
"RequestId": "14C39896-AE6D-4643-9C9A-E0566B2C2DDD",
"ActionParams": "{}",
"TextResponse": "Hello, thank you for calling the smart assistant"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists. | |
| 404 | InvalidInstanceId.NotFound | The specified InstanceId does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.