> For the complete documentation index, see [llms.txt](https://user-docs.voipcube.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://user-docs.voipcube.io/user-manual/client/protocol-handling.md). Agents can also search and read this documentation through its [MCP server](https://user-docs.voipcube.io/~gitbook/mcp).

# Protocol Handling

Handling callto:// and tel:// protocols, and using voipcube://

## callto:// and tel://

{% hint style="warning" %}
This feature is currently only available to windows users
{% endhint %}

Using VoIPcube to handle the callto and tel protocols results in VoIPcube starting a call on your PBX for your user when you click on a callto or tel link.

### Setup

In order for VoIPcube to handle these links, the application must be set as the default in windows.

1. Open the windows setting: Default apps

<figure><img src="https://content.gitbook.com/content/wEXkLtRvTd1RXgHiCIAq/blobs/qAXrWQttLJaRfE4t9XUk/image.png" alt=""><figcaption></figcaption></figure>

2. Search for VoIPcube

<figure><img src="https://content.gitbook.com/content/wEXkLtRvTd1RXgHiCIAq/blobs/3RS7cUeK4VJZE5J2KfNO/image.png" alt=""><figcaption></figcaption></figure>

3. Assign the wanted protocols

<figure><img src="https://content.gitbook.com/content/wEXkLtRvTd1RXgHiCIAq/blobs/hLyHa7xTH7dmXPDuTDF8/image.png" alt=""><figcaption></figcaption></figure>

VoIPcube should now start a call with your PBX if your client is authenticated.

## voipcube://

The `voipcube://` protocol can be used to launch the VoIPcube client. Launching the protocol without parameters will just open de VoIPcube client on the user dashboard.

Launching the protocol with the `call-history` path and a `callId` will directly open de call history window on the specified callId. This allows users to quickly open a call and it's related journey or recording through a deeplink.

Example:

```
voipcube://call-history?callId={PbxCallId}
```

{% hint style="info" %}
You can use integration functionality to automatically construct the above link and use it in CRM/ERP notes or other fields. Then the users can click on these links to automatically open the related call directly in VoIPcube.
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://user-docs.voipcube.io/user-manual/client/protocol-handling.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
