uaCSTA - Accept a Call

Accept an incoming call by uaCSTA control.

Prerequisites

To perform the uaCSTA control operations for IP phones, make sure the following requirements are met.

Request URL

{base_url}/{api_path}/uacstacall/accept_inbound?token={token}

Request parameters

Parameter Required Type Description
extnumber Yes String The extension number that you want to control.
cstacallid Yes Integer The unique ID of each uaCSTA call. When the uaCSTA feature is enabled, the system will automatically assign a cstacallid to each call.
Note: You can acquire the cstacallid from the uacstacall event.
ipaddress Yes String The IP address of the IP phone where the extension is registered.

Response parameters

Parameter Type Description
status String Request result.
  • Success
  • Failed

Examples

Request example
POST /api/v2.0.0/uacstacall/accept_inbound?token=5d87a5f8771d0d4451afa1dd6035c48a HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: 192.168.5.150
{
  "extnumber":"1000",
  "cstacallid":"32784",
  "ipaddress":"192.168.66.70:5060"
 }
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"
 }