PBX API : POST /Calls/:channel/Transfer/

To transfer, make an HTTP POST request with basic authorization, resource URI:

http(s)://{PBX}/api/v1/Calls/:channel/Transfer/

POST Parameters

Required Parameters

NameDescription
to

Number or сhannel
Example:

  • 333
  • +391234567890
  • SIP/333-00000193

Optional Parameters:

NameDefaultDescription
typeRedirectRedirect or Bridge
contextdialplan of the authorized userOnly for type redirect
priority1Only 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
}