Skip to main content
In extension mode, SmartAlex signs in to your PBX as one of its extensions, like a desk phone. Point an inbound route at that extension and the AI answers. Staff can dial or transfer to it, and the AI hands callers back with your PBX’s own transfer rules.
In the app: Sidebar → Calls → PBX Extensions (/settings/pbx) → Connect a PBX → PBX platform, pick your PBX, then Connection Type: Use as PBX extension. Yeastar and Porta connections always use this mode.

How it works

This sequence shows SmartAlex signing in to your PBX as an extension and answering a call.

Supported phone systems

What you need first

  • A spare extension on your PBX, made for the AI; do not reuse a person’s extension, because SmartAlex would answer their calls.
  • That extension’s SIP username (often called the Registration Name or Auth ID) and its SIP password, not a web login.
  • Your PBX’s SIP domain or public IP address, the one your desk phones use.
  • The extension allowed to register from outside your network.
  • Both SmartAlex addresses allowed through your PBX firewall: 34.233.117.97 and 15.240.176.215. See Network requirements.

Set it up

1

Create the extension on your PBX

Add a SIP extension as you would for a desk phone, for example 1000. Allow it to register from outside your network. Note the username and password.
2

Allow both SmartAlex addresses

Let SIP sign-in and call audio through from 34.233.117.97 and 15.240.176.215, on your firewall and in any IP block list on the PBX itself. Allow both, even though a connection signs in from one at a time: our team can move a connection between them.
3

Open the connect screen

In SmartAlex, go to Sidebar → Calls → PBX Extensions, click Connect a PBX, choose PBX platform and pick your PBX tile.
4

Choose Use as PBX extension

Under Connection Type, choose Use as PBX extension. The app explains it as “Dial or transfer calls to this extension to reach your AI agent.”
5

Fill in the sign-in details

  • Trunk Name: a label, for example Office PBX (ext 1000).
  • Your PBX SIP Domain: the hostname or IP your desk phones use.
  • Extension number for SmartAlex: the extension you created.
  • Username from your PBX: the extension’s SIP username.
  • Password from your PBX: the extension’s SIP password. It is stored encrypted.
Open Advanced Settings only if your PBX listens on a port other than 5060. Extension mode signs in over UDP.
6

Click Connect to PBX

The app shows “Connected. SmartAlex is registering to your PBX now.” The first registration usually lands within a minute; click Check registration to read it again.
7

Choose the agent

Under Which agent answers?, pick an agent and click Link agent. Linking also switches on transfers to this PBX and the team look-up for that agent.
8

Set up the inbound route

Under Which number rings it?, click Set up the inbound route. Enter the Number callers dial with its country code, for example +27 11 555 1234, and an optional label. Calls to the extension are not answered until it has an inbound route.
9

Point your number at the extension on your PBX

On your PBX, set the inbound route for that number to ring the extension you created. This is separate from the SmartAlex route above, and you need both.
10

Fill the extension directory

The Extension directory lists the people and departments the AI can put callers through to. On Yeastar with an API key it imports itself, otherwise use Import → From a CSV file or Add extension. See Call routing and transfers.
11

Make a test call

Dial the number from a mobile. The AI should answer within a ring or two. Ask to be put through to someone in the directory. See Testing and validation.

Every setting on the form

What the status means

The connection card on Sidebar → Calls → PBX Extensions shows one status; the full list, with fixes, is in Connection status.

Sign-in safety

Many PBXs block an address after a few failed sign-ins. Every customer PBX sees SmartAlex from the same shared addresses, so a block would cut off everyone on that PBX. SmartAlex protects against this:
  • After your PBX refuses a sign-in, SmartAlex stops trying and shows Sign-in paused. 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 says when it will try again.
  • A connection that never gets an answer stops trying after 10 minutes.

Outbound calls through your PBX

Turn on Allow outbound calls under Edit connection to have the agent make its outbound calls through your PBX, showing this extension’s own number. It is off by default. The extension must be allowed to dial out on your PBX. Emergency numbers are always refused.

Check it worked

1

The status turns green

Under Sidebar → Calls → PBX Extensions, the card shows Connected as ext N; any other status is explained in 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

No. Extension mode signs in over UDP only. The app refuses TCP or TLS with “Only UDP is supported for this connection type.” For encrypted signalling, use Forward calls with TLS.
G.711 u-law and G.711 A-law. Make sure the extension allows at least one of them.
Yes. It is an extension like any other, so staff can dial it, transfer to it, or add it to ring groups and queues.
On Yeastar the guided setup shows “In use” next to an extension with a phone or Linkus signed in, and asks before taking it over. Taking it over means SmartAlex answers that extension’s calls, so make a new extension for the AI instead.
Each connection has a concurrent call limit, and your workspace has its own limit. A call over the connection limit gets a busy signal before it is answered, so it is not billed. See Capacity and limits.
Yes. SmartAlex sends the original caller’s number with the transfer. See Call routing and transfers.
Each inbound route names the agent that answers it, and you can see and change routes under Inbound routes on the connection card. The agent linked to the connection is the one that can transfer callers to this PBX and look up your team.

Connection status

Every status and its fix.

Network requirements

IP addresses, ports and the firewall change request.

Call routing and transfers

How the AI hands callers to people.

Troubleshooting

One-way audio, failed sign-ins and more.
Last modified on November 27, 2026