> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/general/voip/how-the-voip-queue-works/initializer-block-voip.md).

# Initializer Block - VoIP

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FRd7jKVLZJxFftktAW35L%2FDALL%C2%B7E%202025-03-29%2010.36.11%20-%20A%20cute%20and%20colorful%20illustration%20representing%20the%20VOIP%20service%20of%20Sprinthub.%20A%20smiling%20purple%20octopus%20is%20using%20different%20communication%20tools%20like%20head.webp?alt=media&amp;token=de79f703-854c-40a6-bf46-5de01ea36e8d" alt=""><figcaption></figcaption></figure>

This article aims to explain the main features of **Initializer Block** in Sprinthub's VOIP system. This block is responsible for managing how calls are distributed to agents and what happens if the waiting time is exceeded.

***

### What is the Initializer Block?

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FgZ2uGLmeSInVSenb9Bzc%2Fimage.png?alt=media&amp;token=47e2ab8c-0086-43d7-8a58-31031662652c" alt=""><figcaption></figcaption></figure>

The **Initializer Block** is the configuration point in the call flow that defines:

* Whether the system can **Make Calls** (outgoing calls).
* Whether the system can **Receive Calls** (passive/incoming calls).
* How the service queue will work (waiting time and distribution mode).

It is essential to ensure an appropriate service flow, whether for small or large teams.

***

### Main Settings

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2Fs0xsObkjk2BMTHqzNRw2%2Fimage.png?alt=media&amp;token=0bfb8701-0ba7-4770-94b3-349f74419d74" alt=""><figcaption></figcaption></figure>

#### Make and Receive Calls

1. **Make Calls**:
   * When enabled, the system will be able to initiate outgoing calls to customers or other numbers.
2. **Receive Calls**:
   * When enabled, the system will be able to receive external calls.
   * If disabled, no calls can enter the queue.

***

#### Maximum Waiting Time

* Set in **seconds** how long the customer can wait in the queue until the next action.
* Example: if set to 120 seconds, after this period the call takes a defined destination (redirect or message).

***

#### Action After Maximum Time

When the maximum waiting time is reached, you have two options:

1. **Redirect to Number**
   * Enter the phone number to which calls will be forwarded if the maximum time is exceeded.
   * Example: a on-call cell phone number, another team, or even an external provider.
2. **Play Message**
   * When the configured time is exceeded, the system plays an audio message to the customer.
   * Message example: “Hello, no agent is available at the moment. Please try again later.”

> **Note:** Choose only **one** of these options (redirect **or** play message).

***

### Service Modes

The Initializer Block allows you to define the call distribution mode for operators:

1. **Simultaneous**
   * All operators receive the call at the same time.
   * The first one to answer takes over the service.
   * Ideal for more agile teams, where everyone can answer at any time.
2. **Random**
   * The system randomly chooses the operator who will receive the call.
   * Useful for distributing the workload evenly when there is no priority among agents.
3. **Sequential**
   * Calls go from one agent to another following the **configured priority** in the system (operators' queue order).
   * Only if the first one does not answer does the next one in the list receive the call.
   * Recommended for teams with different specialties or support levels.

***

### Make All Users Operators

At the bottom of the Initializer Block, there is a button to **“Make all users operators”**.

* When clicked, all users registered in the system become operators able to receive calls.
* It is a shortcut that speeds up mass configuration, if the whole team needs to answer calls.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sprinthub.com/en/topics/general/voip/how-the-voip-queue-works/initializer-block-voip.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
