Auto Dial (Queue)
The PBX will dial contact number automatically, after the call is answered, the PBX will initiate the call to the Queue agents.
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/queue/dial_outbound?token={token}
Request Parameters
Name | Importance | Type | Description |
---|---|---|---|
queueid |
Required | Int | The Queue 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 ExamplePOST /api/v1.1.0/queue/dial_outbound?token=1e3b3ebb6a974cb42ed31de5413df52d HTTP/1.1 Content-Type:application/json; charset=utf-8 Host: 192.168.5.150 { "queueid": "6700", "outto": "118396210850", "fromext": "1000" }
HTTP/1.1 200 OK Access-control-allow-origin: * Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE { "status": "Success", "callid": "1495698843.215" }