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

# 3CX plugin

> Add a Humain Kiosk AI destination to 3CX using a CallFlow app — no scripting required.

> [!NOTE]
>
> This page is for 3CX administrators who want to route calls to the Humain AI using the 3CX
> management interface. For programmatic control via SIP trunk without the plugin, see the
> [SIP gateway](https://humain.mintlify.site/voip/sip-gateway.md) guide instead.

The **Humain Kiosk** 3CX app is a **CallFlow application** that appears as a destination in the
3CX call routing editor. Route any inbound DID, IVR option, or queue overflow to the Humain AI
— configured entirely from the 3CX Management Console.

***

## Installation

**1. Install the app from the 3CX App Marketplace**

In the **3CX Management Console**, go to **Integrations → 3CX App Marketplace**. Search for
**"Humain Kiosk"** and click **Get App**.

> [accordion] Screenshot — installing from the 3CX App Marketplace
>
> Screenshot: Integrations → 3CX App Marketplace → Humain Kiosk → Get App

Alternatively, download the `.zip` from the
[3CX App Marketplace page](https://www.3cx.com/app-marketplace/humain-kiosk/) and install
it via **Integrations → 3CX Apps → Upload App**.

**2. Configure your credential**

After installation, go to **Integrations → 3CX Apps → Humain Kiosk → Settings**. Paste your
device credential token into the **Credential** field and click **Save**.

> [accordion] Screenshot — Humain Kiosk app settings
>
> Screenshot: Integrations → 3CX Apps → Humain Kiosk → Settings → Credential field

> [!NOTE]
>
> Issue credentials from the Humain admin panel under **Kiosk → Credentials → Issue new
> credential**. The token is displayed only once — copy it before closing that page.

**3. Add a Humain Kiosk CallFlow destination**

Go to **Call Routing → CallFlow**. Click **Add App Instance** and select **Humain Kiosk**.
Configure the instance:

* **Name** — a label for this CallFlow destination (e.g., "AI Receptionist")
* **Codec** — G.722 recommended; G.711 PCMU for legacy carrier compatibility
* **Maximum call duration** — timeout in seconds (0 = unlimited)
* **Fallback extension** — where to transfer if the AI session cannot be opened

> [accordion] Screenshot — adding a Humain Kiosk CallFlow instance
>
> Screenshot: Call Routing → CallFlow → Add App Instance → Humain Kiosk settings form

Click **OK**, then **Save** the CallFlow.

**4. Route calls to the AI**

With the CallFlow instance saved, you can route calls to it from anywhere in 3CX:

> [tab] Inbound rule
>
> Go to **Call Routing → Inbound Rules**. Edit the rule for your DID number. Set the
> **Route calls to** destination to your Humain Kiosk CallFlow instance.
>
> > [accordion] Screenshot — inbound rule pointing to Humain Kiosk
> >
> > Screenshot: Call Routing → Inbound Rules → Route calls to → Humain Kiosk

> [tab] Digital receptionist (IVR)
>
> Go to **Call Routing → Digital Receptionist**. Edit your IVR menu and assign a menu
> option (e.g., press `2` for AI support) to the Humain Kiosk CallFlow destination.
>
> > [accordion] Screenshot — digital receptionist option to Humain Kiosk
> >
> > Screenshot: Digital Receptionist → IVR option 2 → Humain Kiosk CallFlow

> [tab] Queue overflow
>
> Go to **Call Routing → Call Queues**. Edit your queue and set the **Overflow destination**
> to the Humain Kiosk CallFlow instance. When the queue is full or wait time exceeds the
> threshold, callers are transferred to the AI.
>
> > [accordion] Screenshot — queue overflow to Humain Kiosk
> >
> > Screenshot: Call Routing → Call Queues → Overflow destination → Humain Kiosk

**5. Test with sandbox mode**

Before going live, enable **Sandbox mode** in **Integrations → 3CX Apps → Humain Kiosk →
Settings**. In sandbox mode, the AI uses stub responses so you can verify call routing
without consuming LLM credits.

Call the DID or trigger the IVR option and confirm you hear the sandbox response. Then
disable sandbox mode and save.

> [accordion] Screenshot — sandbox mode in 3CX app settings
>
> Screenshot: Integrations → 3CX Apps → Humain Kiosk → Settings → Sandbox mode toggle

***

## Advanced settings

> [accordion] Caller metadata
>
> When **Pass caller metadata** is enabled (default: on) in the app settings, the plugin
> passes the following fields to each Humain Kiosk session:
>
> | Metadata key | Value |
> | - | - |
> | `caller_id` | Caller CLI (ANI) |
> | `did` | Dialled DID (DNIS) |
> | `queue_name` | Source queue name, if routed from a queue |
> | `wait_time_seconds` | Time the caller spent waiting before AI answered |
>
> Your kiosk's action endpoints can use this data to personalise the response — for example,
> greeting callers by name after a CRM lookup.

> [accordion] Transferring back to a live agent
>
> The Humain AI can transfer a call back to a 3CX extension or queue using the **Transfer**
> action defined in your kiosk's action endpoints. Configure the target extension number in
> the action endpoint's response payload; the 3CX plugin will execute a supervised transfer.
>
> See the admin panel (**Kiosk → Actions**) for configuring action endpoints.

> [accordion] Supported 3CX versions
>
> | 3CX version | Support |
> | - | - |
> | 3CX v20 (latest) | ✅ Fully supported |
> | 3CX v18 | ✅ Supported |
> | 3CX v16 | ⚠ Limited — CallFlow apps require v18+ for some features |
> | 3CX v15.5 and earlier | ❌ Not supported |


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