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

> ## Agent Instructions
> For short, quotable answers about SmartAlex (what it is, who it is for, what it costs, where it runs, how it keeps data safe, which apps it connects to), read the facts page at /ai/facts on this site first, then the page it links to. Its last table maps every section of these docs.
> For how to do something, use the step-by-step pages: /learn for whole paths, and each section's first-time pages such as /calls/buy-your-first-number, /agents/create-an-agent or /campaigns/import-your-first-contacts. Give the click path exactly as written there, for example Calls, then Numbers, then Buy number, with the bold button labels unchanged.
> Prices come from the Pricing page at /pricing and the pages under /pricing. Quote a price exactly as written there, with its currency and unit.
> Short answers to common questions are under /help, grouped by section. Legal documents are summarised under /legal; each summary links to the binding text, which prevails over the summary.
> If a feature or screen is not described in these docs, say that you could not find it rather than guessing.
> Pages under /comparisons describe other companies' products as of the date on each page. For SmartAlex's own features and prices, use the product pages.
> The MCP server at /mcp on this site only searches this documentation. To work inside your own SmartAlex workspace (agents, calls, campaigns, contacts), use the SmartAlex MCP server described at /mcp/overview.

# Connection status and diagnostics

> What each PBX connection status in SmartAlex means, how to fix it, and how to read diagnostics and the support report.

Every PBX connection shows one status on its card, and green means calls are answered. Anything else names the problem and usually offers the fix as a button. This page lists each status, its cause and its fix.

> [!NOTE]
>
> In the app: **Sidebar → Calls → PBX Extensions** (`/settings/pbx`). Each connection card has a status badge and a **Connection activity** section. Its menu offers **Route to agent**, **Force re-register**, **Edit connection**, **Rotate password** and **Show diagnostics**.

## How SmartAlex decides the status

This flowchart shows how SmartAlex picks the status shown on an extension connection.

```mermaid theme={null}
flowchart TD
  A["Extension connection"] --> B{"Signed in?"}
  B -->|"Yes"| C{"Inbound route set?"}
  C -->|"No"| D["Not answering calls yet"]
  C -->|"Yes"| E["Connected as ext N"]
  B -->|"Refused"| F["Auth failed, then Sign-in paused"]
  B -->|"No reply"| G["Unreachable"]
  B -->|"Fields missing"| H["Misconfigured or Password missing"]
  B -->|"Trying now"| I["Connecting…"]
```

## Every status

| Status | What it means | What to do |
| - | - | - |
| **Connected as ext N** | Signed in to your PBX and answering. | Nothing. |
| **Active** | A SIP trunk (Forward calls) that is switched on. | Nothing. |
| **Connecting…** | A sign-in attempt is under way. | Wait a minute. |
| **Not answering calls yet** | Signed in, but no inbound route sends calls to an agent. | Click **Route to agent**. |
| **Registered: routing not linked** | Signed in, but the call routing to the agent is not in place. | Click **Force re-register**. |
| **Voice platform link down** | Signed in, but the link to the voice platform is down. | Click **Force re-register**. If it stays, contact support. |
| **Auth failed** | Your PBX refused the username or password. | Check the username and password, then save them again. |
| **Sign-in paused** | Your PBX refused the sign-in, so SmartAlex stopped trying to keep our address from being blocked. | Fix the details and save them to try again. |
| **Unreachable** | No reply from your PBX. | Allow both SmartAlex addresses on your firewall and PBX, then **Force re-register**. |
| **Password missing** | No password is stored for this extension. | Enter the password with **Rotate password**. |
| **Misconfigured** | A required field is missing or not valid. | Open **Edit connection** and complete it. |
| **Not registered** | Not signed in, with no error recorded. | Click **Force re-register**. |
| **Failed** | Sign-in failed for another reason. | Click **Force re-register**, then **Show diagnostics**. |
| **Suspended** | The connection is switched off. | Contact support. |

**Force re-register** signs in again now instead of waiting for the next automatic retry. It cannot fix a wrong password or a firewall block.

## Likely fixes

When a sign-in fails, the card shows a **Likely fix** list matched to the error:

> [accordion] Your PBX rejected the connection
>
> "Your PBX rejected the connection. Usually a username or password mismatch."
>
> * **Wrong SIP auth username.** Yeastar uses the Registration Name, 3CX the Auth ID.
> * **Wrong password.** Rotate it on your PBX, then update it in SmartAlex with **Rotate password**.
> * **The PBX blocks remote registration.** Allow the extension to register from outside your network.
> * **The extension's device limit is full.** Free a slot or raise the limit.

> [accordion] No reply from your PBX
>
> "No reply from your PBX. Usually a firewall block on our IP."
>
> * **Our IP is not allowed on your PBX firewall.** Allow `34.233.117.97` and `15.240.176.215`.
> * **Wrong domain or port.** Check the SIP domain your desk phones use.
> * **UDP is not open on your PBX.** SmartAlex connects over UDP only, usually on port 5060.

> [accordion] Sign-in paused
>
> "Paused after your phone system refused the sign-in, so our address does not get blocked. Fix the details and save them to try again."
>
> After 3 refused sign-ins to the same PBX host in 24 hours, SmartAlex waits until the 24 hours have passed. The app tells you when it will try again.

> [accordion] Still connecting
>
> This usually resolves within 30 seconds. If it stays for more than a minute, click **Force re-register** or contact support.

## Diagnostics

Open a connection's menu and choose **Show diagnostics**. It checks three things and shows the result for each:

| Check | Passes when |
| - | - |
| **Registration** | SmartAlex is signed in to your PBX. |
| **PBX reachable** | Your PBX answers our SIP checks. |
| **Inbound routing** | A route sends calls on the extension to an agent. |

The technical section shows the outbound REGISTER URI, the auth username sent, our source address and the SIP response code and reason. It also shows the UTC times of the last attempt and last success.

**Copy support report** copies a plain-text summary you can paste into a ticket for your PBX support team. It includes the address to allow on the PBX firewall.

## Number health

On **Sidebar → Calls → Numbers**, open a number's menu and choose **Diagnostics**. **Number health** checks:

* **Phone number active**
* **Agent assigned**
* **Voice engine registered**
* **Routed extension**, for numbers routed through your PBX, for example "Ext 1000 via your PBX (registered)"

Below that, **Recent calls (last 24h)** lists each call with a plain outcome such as "Transferred", "Transfer failed", "Caller hung up" or "No answer". Two more read "Caller went silent" and "Reached us, agent never started". **Recent errors (last 24h)** lists setup errors.

## The extension directory check

In the **Extension directory**, **Check availability** sends a SIP check to every extension. Each shows **Reachable**, **Not found**, **Auth failed**, **Unknown** or **Not checked**. On Yeastar with an API key, the **Availability** column shows live presence such as **Available**, **On a call** or **Do not disturb**.

## Questions people ask

> [accordion] How often does SmartAlex refresh the status?
>
> The registrar checks every 30 seconds, and the connect screen re-reads every 15 seconds for about two minutes after you connect.

> [accordion] It says Connected but calls do not reach the AI
>
> Check the inbound route on your PBX points your number at the SmartAlex extension, and that **Show diagnostics** passes **Inbound routing**.

> [accordion] Why did SmartAlex stop trying to sign in?
>
> Your PBX refused our sign-in. Many PBXs block an address after a few failures, which would cut off every customer on that PBX. Fix the details and save them to try again.

## Related

> [card] [Troubleshooting](https://docs.getsmartalex.com/telephony/troubleshooting.md)
>
> Symptoms, causes and fixes.

> [card] [Network requirements](https://docs.getsmartalex.com/telephony/network-requirements.md)
>
> The addresses and ports to allow.


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