> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vatel.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Dispatch

> Ring an on-call list from the Dispatch node

The **Dispatch** node rings a list of phone numbers until someone accepts. It is available on any start flow, end flow, or logic flow. On the main conversation flow it is listed under Function.

For when to use dispatching, see [Dispatching](https://docs.vatel.ai/configure/capabilities/dispatching.md).

![Dispatch settings with attended transfer, queue ringing, and DTMF answer signals](https://mintcdn.com/devpro-38b0cd42/hdbCFLBnzC5gA6Ir/images/configure/dispatch-settings.jpg?fit=max\&auto=format\&n=hdbCFLBnzC5gA6Ir\&q=85\&s=9a245795ac0474ee5f0e34b013bf75fc)

Dispatch settings on the main flow. Dispatch type is Attended transfer, ring strategy is Queue, and continue the queue by default is on. Answered is 1 and Continue is 2.

## Dispatch type

The **Dispatch type** dropdown at the top of the settings panel determines how the system reaches the on-call list.

### Dial

Dial places brand-new outbound calls through a second agent you select. The original caller is not connected to these calls. The second agent calls each number on the list, briefs whoever answers using the variables you passed in, and handles the conversation independently. The original call keeps going, whether the Dispatch node runs mid-conversation or on the end flow.

Start flows and end flows can only use Dial, because there is no active caller to transfer at those points.

You must choose a **Route** for Dial (SIP or Twilio), and you must select an **Agent**. The Agent dropdown lists every other agent in your organization. The agent that owns the current graph is excluded, because the purpose is to hand the outbound call to a different agent.

### Attended transfer

Attended transfer rings the on-call list using the same phone connection the caller is already on. The caller is placed on hold while the system rings each number. When someone answers, your agent briefly consults with them (the consultation phase). If the on-call person accepts, the caller is connected directly to them. If the on-call person declines, the system moves to the next number or returns to the caller, depending on your settings.

Attended transfer does not use a second agent, a route, a trunk, or variables, because it reuses the call that is already connected.

## Ring strategy

The **Ring strategy** dropdown controls how the system works through your list of on-call numbers.

**Queue** rings one number at a time, in the order you listed them. If the first person does not answer or declines, the system moves to the second number, and so on. When using Dial, the queue waits for each outbound call to fully finish before dialing the next number. Queue is the right choice when you have a priority order (for example, the primary on-call person should always be tried first).

**Ring all** rings every number on the list simultaneously. With Dial, all outbound calls stay active independently. With Attended transfer, the first person who answers is connected to the caller, and the remaining ringing calls are automatically cancelled. Ring all is the right choice when speed matters more than priority order.

### Queue settings

These settings appear when the strategy is set to Queue.

| Field | Range | What it controls |
| - | - | - |
| Loop count | 1 to 5, default 1 | How many times the system walks through the entire list from top to bottom. For example, if you have three numbers and set loop count to 2, the system will try all three numbers, then start over and try all three again. Applies to Dial queue only. |
| Retry count | 0 to 5, default 0 | How many extra attempts the system makes for a single number before moving on to the next one. For example, if retry count is 2, a number that does not answer will be called up to 3 times total (the initial attempt plus 2 retries). Applies to Dial queue only. |
| Retry delay | 0 to 120 seconds, default 0 | How long the system waits between retry attempts for the same number. This gives the recipient time to notice a missed call and pick up on the next ring. Applies to Dial queue only. |
| Continue the queue by default | on by default | Controls what happens when someone picks up but does not explicitly signal "answered" or "continue" (see DTMF digits below). When this is on, the queue keeps moving to the next number. When this is off, the pickup is treated as the answer and the queue stops. |
| Answered digit | one DTMF digit, optional | A keypad digit (for example, `1`) that the on-call person can press to signal "I accept this call." Pressing this digit stops the queue immediately and treats the call as answered. |
| Continue digit | one DTMF digit, optional | A keypad digit (for example, `2`) that the on-call person can press to signal "skip me, try the next person." Must be a different digit from Answered. |

Each recipient number is entered as its own field in the form. You can type a literal phone number, or you can use a `{{variable}}` to pull the number from your call data. When you use a variable, the retry count and retry delay settings apply to that individual entry.

### Continue the queue by default

This toggle answers one question: if someone picks up but neither the Answered nor Continue DTMF digit is pressed, what should happen?

**When the toggle is on (the default):** The system assumes the pickup was not a definitive answer. After that outbound call finishes, the queue moves on to the next number. This is useful when on-call staff might pick up accidentally or when the second agent needs an explicit confirmation before stopping.

**When the toggle is off:** The system treats any pickup as the answer. The queue stops as soon as someone answers the phone, even if they never press a DTMF digit.

If the on-call person presses the Answered or Continue DTMF digit, that always takes priority over this toggle.

Under the hood, this toggle maps to the `continue_call_queue` variable, which the outbound agent can also set programmatically using a [Set Variables](https://docs.vatel.ai/configure/editor/setting-variables.md) node. This variable only applies to Dial mode.

For Attended transfer, the toggle works differently. When the toggle is on and the agent selects "go back to caller" during the consultation phase, the queue continues to the next number. When the toggle is off and the agent selects "go back to caller," the system returns to the original caller and stops the queue.

### DTMF digits on the queue

The Answered and Continue digits give on-call staff a way to accept or decline without speaking a command.

| Digit | Dial | Attended transfer |
| - | - | - |
| Answered | The on-call person presses this digit to say "I'll take it." The queue stops immediately, and this call is treated as the final answer. | Completes the transfer. The original caller is connected to the on-call person. |
| Continue | The on-call person presses this digit to say "Not me, try the next person." The queue moves to the next number. | Declines the transfer. If "continue the queue by default" is on, the system rings the next number. If it is off, the system returns to the original caller. |

For Attended transfer, the on-call person presses these digits during the consultation phase (the brief window after they pick up but before the caller is connected).

## Route, trunk, and variables

These fields appear only when the dispatch type is set to Dial. Attended transfer does not show them because it reuses the existing phone connection.

| Field | What it controls |
| - | - |
| Route | How the outbound call is placed. **Twilio** routes the call through Twilio using the phone number assigned to the selected agent. **SIP** routes the call through a SIP trunk you specify. Choose Twilio if you are using Twilio phone numbers for your agents. Choose SIP if your telephony infrastructure uses SIP trunking. |
| SIP trunk | The specific SIP trunk to use for the outbound calls. This field appears only when the route is set to SIP. The dropdown lists every trunk configured in your organization. |
| Variables | Key/value pairs that are passed into the outbound call as session variables. The second agent can read these variables in its prompt and graph, which is how you relay context like the caller's name, the nature of the emergency, and the address. Each variable has a key (the name) and a value, which can be plain text or a `{{variable}}` reference that pulls from the original call's data. For example, you might set `caller_name` to `{{caller_name}}` and `issue` to `{{call_summary}}`. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.