Query Parked Calls
Query the information of parked calls, including the parker number, parked number, call parking number, call parking time .
Request URL
{base_url}/{api_path}/call/callpark_status?token={token}
Request parameters
No request parameters. Send the request directly to query the call parking status information list.Response parameters
Parameter | Type | Description |
---|---|---|
status | String | Request result.
|
parkinfos | Array<ParkInfos> | A list of information for call parking status |
- ParkInfos
-
Parameter Type Description parker Integer The extension number that requests call parking. parkedparty Integer The parked extension number. parkingslot Integer Call parking number, the call is parked to this parking slot. parktime String The time that a call can be parked before it is retrieved. channelid String The channel ID of the parked party in a call.
Examples
Request example
POST /api/v2.0.0/call/callpark_status?token=28cbf51d30f569485e2e5d3f18c2d331 HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: 192.168.5.150
Response example
HTTP/1.1 200 OK
Date: Tue, 18 May 2021 07:26:42 GMT
Server: Boa/0.94.101wk
Accept-Ranges: bytes
Connection: close
Content-Type: application/json
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
{
"status": "Success",
"parkinfos":
[
{
"parker": "1017",
"parkedparty": "1000",
"parkingslot": "6900",
"parktime": "20",
"channelid": "PJSIP/1000-0000000d"
}
]
}