The POST/call/redirect method redirects a call to another PBX or external number. For this to work, the redirected call must be placed using the POST/send/call method, in order to identify the call with a unique ID.
There are no parameters in the header. All parameters go in the body in JSON Raw format.
|cnumber||string||The number where the call is to be redirected to. This is usually another user's internal PBX line, but can also be any external number.|
|uniqueid||string||A unique ID number for the call. This need to be obtained from the uniqueid field in the response received from the post/send/call method, once the call is placed from that method.|
To redirect a call to extension 1214840 use this syntax:
HTTPS method: POST
If the call was redirected successfully:
If there was a problem redirecting the call (usually due to wrong uniqueid or if the call has already ended):
"message": "The call does not exist."