Skip to main content
You will finish with 3CX sending calls to your SmartAlex agent. The calls go down a SIP trunk (Forward calls, available on any 3CX). Or SmartAlex runs as a 3CX user (Use as PBX extension, early access for 3CX systems you run yourself on a paid licence). The extension steps take about 20 minutes.
In the app: Sidebar → Calls → PBX Extensions (/settings/pbx) → Connect a PBX → PBX platform → 3CX.

Which way to connect

This flowchart shows which 3CX connection type fits your setup.
In the app, the 3CX tile says: “3CX extension mode is in early access. Contact us to connect your 3CX, or forward your calls to a SmartAlex number.” To contact the team, send a support request in the app.

What you need first

  • Admin access to the 3CX Admin Console. These steps follow 3CX V20 (Update 9 for the extension steps).
  • A SmartAlex agent that is ready to answer calls.
  • For extension mode: a 3CX you run on your own server or cloud account on a paid licence. You also need someone who can allow 34.233.117.97 and 15.240.176.215 on your firewall.
  • For Forward calls: the number the AI should answer, and a firewall rule that allows outbound SIP to sip.voice.getsmartalex.com. This host has no fixed IP list, so use a hostname (FQDN) rule.

Option A: Forward calls (SIP trunk)

This sequence shows how a call travels in this mode.

In SmartAlex

1

Open PBX Extensions

In the sidebar, click Calls, then PBX Extensions (/settings/pbx). Click Connect a PBX.
2

Pick 3CX

Under PBX platform, click the 3CX tile.
3

Choose Forward calls

Under Connection Type, choose Forward calls.
The 3CX tile selected with Forward calls chosen under Connection TypeThe 3CX tile selected with Forward calls chosen under Connection Type

Pick 3CX, then Forward calls.

4

Fill in the form

Fill in the fields in the table below. Leave Authentication Method on Credentials.
5

Create the trunk and copy the details

Click Create SIP Trunk. The app says “SIP trunk created. Configure your PBX with these details.” Copy the SIP Server, Port, Username and Password; the password is not shown again.

In the 3CX Admin Console

These steps follow the 3CX V20 administration manual, “Configuring a SIP Trunk / VoIP Provider” (3cx.com/docs/manual/sip-trunks/).
1

Add a trunk

In the 3CX Admin Console, go to Admin > Voice & Chat and click Add Trunk.
2

Choose the generic provider

Under SIP Trunk Details, use the Trunk drop-down to pick the generic SIP trunk entry. If you do not see a generic entry, contact 3CX support or use extension mode.
3

Fill in the trunk details

Fill in the fields in the table below with the values SmartAlex showed you.
4

Add the number

Open the DID Numbers tab, click +Add and enter the number the AI should answer in international form, for example +27 11 555 1234.
5

Save

Click Save. The trunk shows a green indicator when it is registered.
6

Route the number to the AI

Send the number to the destination you want. For an extension, go to Admin > Users, open the user, and on the General tab pick the number under Assigned DID Number(s). For a ring group, queue or digital receptionist, go to Admin > Call Handling, open it and pick the number under Assigned DID Number(s). Does your team also need to dial a number down the SmartAlex trunk? Add an outbound rule for it, as 3CX’s Configuring Outbound Rules guide describes.
7

Match the codecs

Put G.711 u-law (PCMU) and G.711 A-law (PCMA) at the top of the trunk’s codec list.
Port 5060 is the SIP port on the SmartAlex side (5061 for TLS). The AI transfers callers with a SIP REFER to sip:<extension>@<your 3CX FQDN>, so the trunk must allow transfers. Make sure the number is in Sidebar → Calls → Numbers (/phone-numbers) with an agent assigned. If it lives with your own carrier, email support@getsmartalex.com about adding it.

Option B: Use as PBX extension (early access)

These steps follow 3CX V20, Update 9, checked in a 3CX lab. This diagram shows the sign-in and a call.

In the 3CX Admin Console

1

Add a user for the AI

In the 3CX Admin Console, open Users and click Add User. Give it an extension number your team recognises, such as 1000, and a name such as “SmartAlex AI”. Save it.
2

Allow remote sign-in

Open Users > (the AI user) > Options and untick Block remote non-tunnel connections (Insecure!). 3CX shows a security warning. That is expected, because SmartAlex signs in from outside your network. The next step limits it to two addresses.
3

Allow the first SmartAlex address

Open Advanced > IP Blacklist, click Add, then Add single IP Address, then enter 34.233.117.97, set Action to Allow and save. It starts on Deny, so check it before you save.
4

Allow the second SmartAlex address

Repeat for 15.240.176.215, with Action set to Allow.
5

Open your firewall

If a firewall or router sits in front of 3CX, allow SIP from both addresses (your SIP port, usually UDP 5060). Allow call audio too (UDP 7000 to 10999).
6

Copy the sign-in details

Open Users > (the AI user) > IP Phone and choose I will configure the phone myself. Copy the Authentication ID and the password 3CX shows.
7

Give the AI a number

To give the AI its own outside number, add it under Users > (the AI user) > General > Assigned DID number(s). To use a number you already have, point that number at the AI’s extension (see the questions below). Staff can also dial or transfer to the extension.

In SmartAlex

1

Open PBX Extensions

In the sidebar, click Calls, then PBX Extensions (/settings/pbx). Click Connect a PBX.
2

Pick 3CX

Under PBX platform, click the 3CX tile.
3

Choose Use as PBX extension

Under Connection Type, choose Use as PBX extension.
The 3CX tile with Use as PBX extension chosenThe 3CX tile with Use as PBX extension chosen

Pick 3CX, then Use as PBX extension.

4

Fill in the form

Fill in the fields in the table below, and use the Authentication ID as Username from your PBX.
5

Connect

Click Connect to PBX. The app says “Connected. SmartAlex is registering to your PBX now.” and shows Finish the connection.
6

Link the agent

Under 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.
By default, 3CX blocks an address for 24 hours after 5 failed sign-ins. SmartAlex stops signing in as soon as your 3CX refuses it and shows Sign-in paused, so a wrong password does not get our address blocked. If an address is already blocked, remove it from Advanced > IP Blacklist and add it back with Action set to Allow. See Connection status.
Before you go live, open Users > (the AI user) > Forwarding Rules and tick Accept multiple calls on every status. Keep the AI user’s status on Available, so 3CX never sends its calls to voicemail.

Check it worked

1

The status turns green

Under Sidebar → Calls → PBX Extensions, the card shows Connected as ext 1000 for extension mode; for anything else, see Connection status. For Forward calls the card shows the trunk, and the trunk in 3CX shows a green indicator.
2

Diagnostics pass (extension connections)

For an extension connection, 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.
4

A transfer works

Ask the agent to put you through to a colleague, and the call rings that person’s 3CX extension.

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 needs SIP access to the 3CX itself, which a 3CX-hosted system or a free licence does not give. Use Forward calls.
Open UDP 7000 to 10999 for audio from both SmartAlex addresses. With only part of that range open, calls connect in silence.
The Authentication ID from Users > (the AI user) > IP Phone, not the extension number.
In the 3CX Admin Console, open Inbound Rules and point that number’s rule at the AI’s extension. No Inbound Rules on your 3CX? Assign the number to the AI’s user under Users > (the AI user) > General > Assigned DID number(s) instead.

SIP trunk (Forward calls)

All trunk settings explained.

Network requirements

Ports and the firewall change request.

Call routing and transfers

How the AI puts callers through.

Troubleshooting

Audio and sign-in problems.
Last modified on November 27, 2026