Call park
Retrieve call park server information.
OK
Error
GET /api/call_park HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"enabled": true,
"extension_number": "text",
"recall_to": "USER_ONLY",
"recall_time": 300,
"recall_ring_group_time": 300,
"ring_group_id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"prompt_file_name": "text",
"prompt_file_size": 0,
"prompt_file_url": "/api/blobs/WexWdABcd5D4PDgzTKV3gAAAEu00WcK"
}Update call park server
Enable call park server or not.
Extension number used by call park server.
The extension number.
[0-9]{3,64}Select how the park server forwards the call when the parked call is not picked up in the Recall Time. The forwarding destination can be an extension or a ring group. Can be either:
USER_ONLY:USER_FIRST_THEN_RING_GROUP:RING_GROUP_ONLY:
When set to USER_FIRST_THEN_RING_GROUP or RING_GROUP_ONLY, ring_group_id must also be specified.
Set how long the call can be parked on the park server, in seconds. After this time, the park server needs to forward the call to the preset extension or ring group according to the settings. The default value is 300 seconds, the minimum value is 60 seconds, and the maximum value is 900 seconds.
300Set how long the call can be parked on the park server, in seconds. If the call is not picked up after this time, the park server needs to forward the call to the preset ring group according to the settings. The default value is 300 seconds, the minimum value is 60 seconds, and the maximum value is 90 seconds.
300The unique ID of ring group.
Select a Ring Group as the Recall destination.
Only valid when the value of recall_to is USER_FIRST_THEN_RING_GROUP or RING_GROUP_ONLY.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwThe unique ID of the file.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwOK
No content
Error
POST /api/call_park HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 200
{
"enabled": true,
"extension_number": "text",
"recall_to": "USER_ONLY",
"recall_time": 300,
"recall_ring_group_time": 300,
"ring_group_id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"prompt_file_id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}No content