Ring a number without connecting (gate opener)
ring_numberRing a Czech or Slovak phone number for a few seconds WITHOUT connecting anyone - built to open a GSM gate, door lock or box that opens when a number on its allowed list calls and the call is rejected. The ring goes out from one of this account's own active numbers (from) and that number is what the gate sees as the caller, so it must be on the gate's allowed list; without from the first active number of the account is used (ring_needs_number when the account has none). ringSecs sets how long it rings (whole seconds, 3 to 30, default 10), then volai hangs up. This returns right after the order is placed with the carrier, with status initiated - ringing and hang-up run in the background, so the outcome arrives afterwards: read it with get_call (kind ring, status no_answer or completed, ring.outcome rang, ended_early, answered or unknown) or from the call.no_answer / call.completed webhook. An unanswered ring is reported as no_answer, which for a gate usually means it rejected the call and opened. Billed 0.25 CZK per attempt, plus the normal outbound per-second price when the number is actually answered; nothing is charged when the carrier rejects the order. Unlike make_call a ring never counts towards the automatic 30-day destination block (the manual do-not-call list still applies). The destination stays locked for ringSecs plus 30 seconds, so a second ring to the same number in that window fails with destination_busy, and there are per-account and per-destination rate limits (rate_limited, nothing is charged). With a monthly spending cap set by the customer (see get_spend_cap) and reached this month, this fails with spend_cap_reached (HTTP 402): nothing is charged and retrying will not help, so tell the customer, who can raise or remove the cap (set_spend_cap, clear_spend_cap) or wait for the next month. Same data as POST /v1/rings (response schema in /openapi.json).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"to": "<to>"
},
"name": "ring_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Phone number to ring, in E.164 format, for example +420777123456. Czech and Slovak numbers only, so outside CZ and SK send +420 or +421. Without a country code it is read as the account's country. Do-not-call numbers are rejected. | |
| from | No | Your own active volai number to ring from, in E.164 format, for example +420601234567. The gate sees this number as the caller. Omit it to use the first active number of the account. | |
| ringSecs | No | How long the number rings before volai hangs up, in whole seconds, 3 to 30. Defaults to 10. |