> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/c/cisco-unified-communications-manager.md).

# Cisco Unified Communications Manager

Cisco Unified Communications Manager (CUCM) is the call control platform for Cisco IP phones and soft clients. OctoXLabs uses its AXL API to add phones, and optionally end users, to the inventory.

## Use cases

* List IP phones and soft clients that CUCM manages.

```
Adapters = cisco-cucm
```

* Find CUCM phones that were not seen in the last 30 days.

```
Adapters = cisco-cucm AND NOT LastSeen last now-30d/d
```

## Before you begin

### Network

| Source              | Destination                       | Port                | Protocol |
| ------------------- | --------------------------------- | ------------------- | -------- |
| OctoXLabs connector | CUCM Publisher node (AXL service) | 8443 (configurable) | HTTPS    |

### Required permissions

| Scope or role                                                                       | Permission | Needed for                                  |
| ----------------------------------------------------------------------------------- | ---------- | ------------------------------------------- |
| Standard AXL API Access (or Standard AXL Read Only API Access, CUCM 11.5 and later) | Read       | Phones (listPhone) and end users (listUser) |

## Create credentials in Cisco Unified Communications Manager

{% stepper %}
{% step %}

### Choose the node

Use the CUCM **Publisher** node, not a Subscriber. The AXL service runs only on the Publisher.
{% endstep %}

{% step %}

### Create the account

In Cisco Unified CM Administration, go to **User Management > Application User** and create an Application User. An End User also works, but an Application User is recommended.
{% endstep %}

{% step %}

### Assign the AXL role

Assign the **Standard AXL API Access** role, or the read-only variant **Standard AXL Read Only API Access** (CUCM 11.5 and later). Without the role, AXL requests return HTTP 403. End users are also subject to User Rank (1 to 10); the default rank 1 has full access.
{% endstep %}

{% step %}

### Find the CUCM version

Open **Cisco Unified CM Administration > About** and note the version. Set the AXL API Version and Namespace to match.
{% endstep %}

{% step %}

### Handle the certificate

CUCM uses a self-signed Tomcat certificate by default. Import it into your trust store, or accept that the adapter does not verify the certificate chain.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter         | Required | Type     | Default                             | Description                                                        |
| ----------------- | -------- | -------- | ----------------------------------- | ------------------------------------------------------------------ |
| IP                | Yes      | Text     |                                     | Hostname or IP of the CUCM Publisher.                              |
| Port              | No       | Number   | 8443                                | AXL service port.                                                  |
| Is Secure         | No       | Boolean  | True                                | Use HTTPS.                                                         |
| AXL API Version   | No       | Text     | 15.0                                | Must match the CUCM release. Use 12.5 for System version 12.5.x.   |
| AXL API Namespace | No       | Text     | <http://www.cisco.com/AXL/API/15.0> | Keep the version part aligned with AXL API Version.                |
| Username          | Yes      | Text     |                                     | CUCM account with the AXL role.                                    |
| Password          | Yes      | Password |                                     | Password of the account.                                           |
| Fetch Users       | No       | Boolean  | False                               | Also fetch end users. Phones are always fetched.                   |
| Timeout           | No       | Number   | 60                                  | Seconds to wait for AXL responses. Raise it for large deployments. |

## Troubleshooting

| Error message                                                         | Cause                       | Fix                                                            |
| --------------------------------------------------------------------- | --------------------------- | -------------------------------------------------------------- |
| AXL request ... returned 404 (path/service issue, not session expiry) | The AXL path was not found. | Check that the host is the Publisher and the AXL service runs. |
| AXL request ... failed after 2 retries                                | The request failed twice.   | Check the version, namespace and credentials.                  |

## Change history

{% hint style="info" %}
Available starting from version 6.5.2.
{% endhint %}
