Auto Dial (Ring Group)

The PBX will dial contact number automatically, after the call is answered, the PBX will initiate the call to the Ring Group members.

Note:
  • To make outbound calls, you need to add an extension that has outbound call permission in the API request.
  • The dialed numbers should match the outbound route rules.

Endpoint

POST /api/v1.1.0/ringgroup/dial_outbound?token={token}

Request Parameters

Name Importance Type Description
ringgroupid Required Int The Ring Group number.
outto Required String The dialed external number (the outbound dial pattern should be matched).
fromext Required String Which extension's call permission will be applied.

Response Parameters

Name Type Description
callid String A unique identifier for the call.

Examples

Request Example
POST /api/v1.1.0/ringgroup/dial_outbound?token=1e3b3ebb6a974cb42ed31de5413df52d HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: 192.168.5.150
{
    "ringgroupid": "6200",
    "outto": "118396210850",
    "fromext": "1000"
}
Response Example
HTTP/1.1 200 OK
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
{
    "status": "Success",
    "callid": "1495698843.215"
}