Place an outbound call (click-to-call)
make_callInitiates outbound calls and connects the callee to an extension, queue, or IVR; use it for click-to-call and keep the returned callId to transfer or hang up.
Instructions
POST /v1/calls (permission pbx:write). connectTo.type=extension: rings the agent first, then dials to and bridges (click-to-call). queue: dials to then connects to a queue. ivr: dials to then connects to an IVR menu. Returns { callId, status: 'initiated', … }; keep callId to transfer/hang up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | External number to call, e.g. 0612345678 | |
| timeout | No | Ring time in seconds (5–120, default 30) | |
| callerId | No | Number presented to the callee. Priority: trunk-enforced number > callerId > extension's presented number. Must belong to the line. | |
| connectTo | Yes |