Transfer Inbound Calls

Through this interface, an inbound 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/inbound/transfer_number?token={token}

Request Parameters

Name Importance Type Description
inboundid Required String The inbound 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/inbound/transfer_number?token=1e3b3ebb6a974cb42ed31de5413df52d HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: 192.168.5.150
{
    "inboundid": "1495698591.209",
    "number": "4001",
    "fromext": ""
}
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"
}