Park a Call

Park a call to a specific parking slot during a call.

Request URL

{base_url}/{api_path}/call/callpark?token={token}

Request parameters

Parameter Required Type Description
channelid Yes String The channel ID of the parked party in a call.
parkingslot No String Call parking slot number, the call will be parked to this parking slot.
Note: The system will automatically assign an idle parking slot number if this parameter is not added.

Response parameters

Parameter Type Description
status String Request result.
  • Success
  • Failed
parkingslot String Call parking slot number, the call is parked to this parking slot.

Examples

Request example

POST /api/v2.0.0/call/callpark?token=0320b5213220f4063479ca2d19c62b56 HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: 192.168.5.150
{
  "channelid": "PJSIP/1017-00000020",
  "parkingslot":"6900"
 }

Response example

HTTP/1.1 200 OK
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",
  "parkingslot":"6900"
 }

Retrieve a parked call

To retrieve a parked call, you can use the API request call/dial to dial the number of call parking slot.

For more information, see Make a Call.