Skip to main content

How a call is handled

An inbound call begins when the carrier or SIP provider sends it to one of the tenant's SIP trunks. Voxtronics matches the trunk, then evaluates the tenant's active inbound routes in list order. The first route whose caller and called patterns both match decides the call; later routes are not evaluated. A matching reject route ends the call. The selected route supplies the destination agent, the bot pool, the ringing timeout, and the optional recording and DTMF capabilities. The trunk supplies the media encryption policy that the call must meet.

Before any bot is involved, Voxtronics checks the tenant's credit balance. If the balance cannot cover the admission reserve, the call is rejected and recorded with a credit failure. If credit is available, Voxtronics reserves bot capacity from the route's pool. An empty bot pool means any online bot may take the call; a filled pool restricts the call to the selected bots. A bot must be active, online, and below its concurrency limit. When no bot can take the call, the record is marked as rejected because there was no capacity. A call rejected before a route is resolved is still recorded, with no agent or route, the trunk when it was identified, and the reason the path stopped.

Once a bot is assigned, the agent's current configuration and its pipeline are resolved. That means the welcome message, conversation starter, prompt, variables, tools, turn detection, and call limits from the agent, and the provider objects and credentials from its pipeline, all travel with the session. The session also carries the configured language and whether the pipeline is multilingual, so the bot knows which language to start in and whether to follow the caller. The bot joins the call, starts the voice pipeline, and the call becomes active. If a required provider, credential, or pipeline setting is missing, the call fails before the conversation begins and the reason appears on the call record.

During the conversation, the pipeline turns speech into text, produces a response, and turns that response back into speech, or it uses a realtime model that does both sides itself. When the model decides to use a tool, Voxtronics checks that the tool belongs to the agent and is enabled for the tenant, then performs the action. A tool can end the call, transfer the caller, send keypad digits, search knowledge, call an HTTP service, or call a remote MCP tool. Tool results return to the conversation so the agent can tell the caller what happened.

The call ends when the caller hangs up, the agent ends it, a transfer completes, a call limit is reached, the route's ringing timeout expires, the balance runs out, or a technical failure stops the session. Voxtronics then records the final status, duration, outcome, and failure reason, and releases any unused credit reservation. If recording is enabled for the route and the tenant, the recording is attached to the call record after the call ends but never changes its outcome. The call detail shows the lifecycle timeline and every bot attempt, which is useful when a call was offered to one bot and then retried on another.

Outbound calls start from the Agents page. You choose an agent, a destination number, and optionally a caller ID. Voxtronics evaluates the agent's active outbound routes in list order and picks the first one whose caller and called patterns match. A matching reject route blocks the dial; if no route matches, the attempt is recorded as rejected before dialing. The route supplies the destination trunk, and the trunk supplies the outbound address, transport, media encryption policy, and its own caller ID list. The route's ringing timeout ends an unanswered outbound call. The same credit admission and bot capacity rules apply.

A call record can be in provisioning while Voxtronics is preparing it, active while the conversation is connected, ended when it completed, failed when it was attempted and then stopped, or rejected when it never connected. The outcome is in_progress, completed, failed, or rejected. Rejected calls are still visible so that capacity, credit, and configuration problems are not hidden. A call that fails before routing may have no agent or route, and no trunk when none was identified; the failure reason and lifecycle timeline show where the path stopped. Calls that never reach a bot have no conversation telemetry, but they still show why they were rejected.

Inbound and outbound routing solve different problems. Inbound routing locates the destination agent for a call that has already arrived. Outbound routing selects the destination trunk for a call the tenant starts. Both use the same ordered route matching, trunk, bot, credit, and pipeline rules, so a change to an agent's pipeline affects the next call in either direction.

A browser test call does not use the telephone path. It runs in the browser with the selected agent and its pipeline, with no trunk, route, or phone number. The call still appears in history and shows the usual conversation telemetry, so it is the fastest check of an agent before a number is connected; it does not validate SIP, routing, or recording configuration.