Transfer Outbound Calls

Through this interface, an outbound call from the PBX's trunk can be transferred to an extension, IVR, queue, ring group, or an external number.

Note: The call can be transferred whether it's a ringing call or an ongoing call.

Endpoint

POST /api/v1.1.0/outbound/transfer_number?token={token}

Request Parameters

Name Importance Type Description
outboundid Required String The outbound ID.
number Required String Transfer to this number.
fromext Required String Which extension's call permission will be applied.

Response Parameters

Name Type Description
callid String A unique identifier for the call.

Examples

Request Example
POST /api/v1.1.0/outbound/transfer_number?token=1e3b3ebb6a974cb42ed31de5413df52d HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: 192.168.5.150
{
    "outboundid": "1495698591.209",
    "number": "18283773",
    "fromext": "4000"
}
Response Example
HTTP/1.1 200 OK
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
{
    "status": "Success",
    "callid": "1495698591.209"
}