api:pbx:app:action:transfer
Table of Contents
API : PBX : APP : Action : Transfer
Introduction
This request will transfer an ongoing call.
Request
| URL | https://api.telecomx.dk/pbx/app/action/transfer | ||
|---|---|---|---|
| Method | GET | ||
| Access level | PERSONAL, VIEWER, MANAGER, OWNER, RESELLER, ADMIN. | ||
| query | source | String | Id of call leg user holds for the call to transfer |
| destination | String | Id of call leg user holds, to perform attended transfer to. | |
| target | Id/String | Extension id or phone number, to perform blind transfer to. | |
Request example
https://api.telecomx.dk/pbx/app/action/transfer?source=pbx4.telecomx.dk:48989839.43&destination=pbx4.telecomx.dk:489893793.34 https://api.telecomx.dk/pbx/app/action/transfer?source=pbx4.telecomx.dk:48989839.43&target=12345678901234567890ABCD https://api.telecomx.dk/pbx/app/action/transfer?source=pbx4.telecomx.dk:48989839.43&target=201
Response
| Json object | ||
|---|---|---|
| success | Boolean | True on success |
Example
{ "success": true }
Errors
| Error code | Message | Description |
|---|---|---|
| 422 | source | Invalid source |
| 422 | destination | Invalid destination |
| 422 | target | Invalid target |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/pbx/app/action/transfer.txt · Last modified: 2020/06/19 21:19 by Per Møller