# Setting up the Alemba Service Manager CTI

## Enabling CTI for Alemba Service Manager

1. From the main ASM window, click the Admin button and select the System Administration option from the menu that displays. This will open the System Administration window.
2. From the System Administration window, go to the list of options displayed under the Preview Settings tab and click the Settings option:

<figure><img src="https://content.gitbook.com/content/xP0IZ1PKDWM22PFPFi0l/blobs/nmu5Tm0CvuqeHVhpQYOK/Screenshot%202023-05-30%20at%208.48.52%20AM.png" alt=""><figcaption></figcaption></figure>

3. In the page that loads to the right, scroll down until you see settings for CTI:

<figure><img src="https://content.gitbook.com/content/xP0IZ1PKDWM22PFPFi0l/blobs/ZNaevBJjv4DkEE9kLTzX/Screenshot%202023-05-30%20at%208.49.02%20AM.png" alt=""><figcaption></figcaption></figure>

4. To enable CTI, you must tick the "CTI" box. By selecting the CTI option, you will:
   * Enable the Caller Info window
   * Enable the CTI Caller IDs Explorer option on the customer’s Person Details window
5. Configure **Push**, or **Telephone Host** settings.

{% hint style="info" %}
*When this setting is **not** set to Push Notification, the CTI is pushed via signalR to the client whenever the CTI url is called*
{% endhint %}

## Configure SignalR

**SignalR** is a free and open-source software library for Microsoft ASP.NET that allows server code to send asynchronous notifications to client-side web applications. While used primarily for load balancing, CTI uses SignalR whenever **Telephone Host** is enabled.

The library includes server-side and client-side JavaScript components.  Assuming your server meets the prerequisites, your SignalR should be configured. Please see below for the prerequisites:

{% embed url="<https://docs.alemba.com/asm/setup-and-configure-asm/installation-and-upgrade>" %}

When your CTI is **not set to "Push"** the CTI is pushed via SignalR to the client whenever the CTI URL is called.

<figure><img src="https://content.gitbook.com/content/xP0IZ1PKDWM22PFPFi0l/blobs/mXhOcqcHIQnutnWBebOO/Screenshot%202023-05-30%20at%209.31.13%20AM.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.alemba.com/asm-gaia-10.4/setup-and-configure-asm/setting-up-your-system/system-administration-settings/preview-features-advanced-options/settings/cti/setting-up-the-alemba-service-manager-cti.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
