api:pbx:app:action:steal
Table of Contents
API : PBX : APP : Action : Steal
Introduction
This request will takeover an ongoing call from another extension.
Request
| URL | https://api.telecomx.dk/pbx/app/action/steal | ||
|---|---|---|---|
| Method | GET | ||
| Access level | PERSONAL, VIEWER, MANAGER, OWNER, RESELLER, ADMIN. | ||
| Query | device | Id | Id of device to steal with. |
| target | Id | Id of call to steal | |
Request example
https://api.telecomx.dk/pbx/app/action/steal?device=12345678901234567890ABCD&target=pbx4.telecomx.dk:45455544.43
Response
| Json object | ||
|---|---|---|
| success | Boolean | True on success |
Example
{ "success": true }
Errors
| Error code | Message | Description |
|---|---|---|
| 422 | device | Invalid device |
| 422 | target | Invalid target |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/pbx/app/action/steal.txt · Last modified: 2024/12/10 11:57 by Joakim Andersen