To transfer, make an HTTP POST request with basic authorization, resource URI:
http(s)://{PBX}/api/v1/Calls/:channel/Transfer/
POST Parameters
Required Parameters
Name | Description |
---|---|
to | Number or сhannel
|
Optional Parameters:
Name | Default | Description |
---|---|---|
type | Redirect | Redirect or Bridge |
context | dialplan of the authorized user | Only for type redirect |
priority | 1 | Only for type redirect |
Example:
POST params
type=Redirect to=+391234567890 context=users
POST http://{PBX}/api/v1/Calls/SIP%2F111-00000153/Transfer/
{ "type":"result", "result": true }