Skip to main content
By the end of this tutorial your SmartAlex agent answers calls as an extension on your own phone system. It can also put callers through to your team. It takes about 20 minutes once you have an extension and its password from your PBX.
In the app: Sidebar → Calls → PBX Extensions (/settings/pbx) → Connect a PBX. This tutorial uses Use as PBX extension, which works for most PBXs. For other options, see Connection modes.

What you need first

  • A paid plan. On the Free plan, PBX extensions is locked.
  • A role that can add PBX connections and phone numbers. To link the agent, it must also be able to edit agents; without that, the button reads “You don’t have permission to edit agents”.
  • A SmartAlex agent that is ready to answer calls.
  • An extension on your PBX kept for the AI, with its SIP username and password, and never use a person’s extension.
  • Someone who can allow 34.233.117.97 and 15.240.176.215 on your firewall and PBX.

The steps at a glance

This diagram shows the whole tutorial, from opening the connect page to a test call.

Connect it

1

Open PBX Extensions

In the sidebar, click Calls, then PBX Extensions (/settings/pbx). The page is titled “PBX extensions”. Click Connect a PBX.
PBX extensions page with the Connect a PBX buttonPBX extensions page with the Connect a PBX button

Start on Calls, then PBX Extensions

2

Choose your PBX

On Add connection (/phone/connect?type=pbx), choose PBX platform. Under Choose your PBX, click your system’s tile, or Other if it is not listed.
Choose your PBX tiles with eight phone systemsChoose your PBX tiles with eight phone systems

Pick your phone system, or Other

3

Choose Use as PBX extension

Under Connection Type, choose Use as PBX extension. Yeastar and Porta always use it, and Yeastar then offers its guided setup, described in the Yeastar guide.
4

Enter the extension

Fill in the fields in the table below, then click Connect to PBX. The app shows “Connected. SmartAlex is registering to your PBX now.”
Use as PBX extension form with five fields and a Connect to PBX buttonUse as PBX extension form with five fields and a Connect to PBX button

Enter the extension your PBX gave the AI

5

Allow our addresses

The connect screen shows both addresses with copy buttons, so allow them on your firewall and in your PBX’s own block list or allowed hosts.
6

Link the agent

Under Finish the connection, find Which agent answers?, choose your agent and click Link agent.
7

Set up the inbound route

Under Which number rings it?, click Set up the inbound route. The Connect a PBX Extension dialog already knows the connection and the linked agent. It asks only for the Extension, the Number callers dial in full international form, such as +27 11 555 1234, and an optional Label. Click Connect.
8

Send calls to the AI on your PBX

On your PBX, point the number’s inbound route, a ring group or an IVR option at the AI’s extension. Your PBX guide names the exact menu.

Every field on the form

Check it worked

1

The status turns green

Under Sidebar → Calls → PBX Extensions, the card shows Connected as ext N. The first registration usually lands within a minute, and if it shows anything else, see Connection status.
2

Diagnostics pass

Open the card’s menu, choose Show diagnostics, and check Registration, PBX reachable and Inbound routing all pass.
3

A call reaches the AI

Call the number from a mobile phone. Your agent answers.

Next

Fill the extension directory

So the AI can put callers through to your team.

Test before go-live

The full test plan.

Questions people ask

Use a SIP trunk or number forwarding instead. See Connection modes.
The username is usually wrong. Fix it with Edit connection. See Connection status.
Yes. Click Connect a PBX again, and each connection gets its own card, agent and directory.

PBX extension mode

How extension mode works.

Network requirements

Addresses, ports and the change request.
Last modified on November 27, 2026