Skip to main content
With Forward calls, your PBX sends calls to SmartAlex over a SIP trunk. By the end of this page the AI answers the numbers you route down that trunk and can hand callers back to your extensions. You create the trunk in SmartAlex, copy the server, username and password into your PBX, and route the numbers. The app describes it as “Best for dedicated AI phone numbers.”
In the app: Sidebar → Calls → PBX Extensions (/settings/pbx) → Connect a PBX → PBX platform, pick your PBX, then Connection Type: Forward calls. The Microsoft Teams and RingCentral tiles open straight on this setup.

What you need first

  • A SmartAlex agent that is ready to answer calls.
  • Admin access to your PBX, so you can add a SIP trunk and an inbound or outbound rule.
  • The number the AI should answer, in Sidebar → Calls → Numbers (/phone-numbers) with that agent assigned. If it is not there yet, plan to ask the team to add it.
  • Someone who can allow outbound SIP and audio to sip.voice.getsmartalex.com on your firewall.

How a call travels

This sequence shows a call travelling from your PBX to SmartAlex over the SIP trunk, including the password check and a transfer.

Set it up

1

Open the connect screen

Go to Sidebar → Calls → PBX Extensions, click Connect a PBX, choose PBX platform and pick your PBX tile.
2

Choose Forward calls

Under Connection Type, choose Forward calls.
3

Fill in the trunk

Enter the Trunk Name and PBX SIP Domain. Choose the Authentication Method. Leave the username and password blank unless your policy needs your own.
Forward calls form with the Authentication Method choiceForward calls form with the Authentication Method choice

Fill in the trunk and choose how it is authenticated

4

Click Create SIP Trunk

The app shows “SIP trunk created. Configure your PBX with these details.” and lists the SIP Server (sip.voice.getsmartalex.com), Port, Transport, Encryption, Codecs, DTMF (RFC 2833), Username and Password. Copy them now. The password is stored encrypted and the form does not show it again.
5

Add the trunk on your PBX

Create a SIP trunk to sip.voice.getsmartalex.com, port 5060 (or 5061 for TLS), with the username and password from SmartAlex. Allow G.711 u-law and A-law. Set DTMF to RFC 2833. Your PBX guide has the exact menu names.
6

Route numbers down the trunk

On your PBX, send the numbers the AI should answer to the new trunk, for example with an inbound rule or an outbound route.
7

Make sure SmartAlex knows the number

The number your PBX sends must be in Sidebar → Calls → Numbers with an agent assigned. If the number lives with your own carrier and is not in your workspace yet, email support@getsmartalex.com about adding it.
8

Test a call and a transfer

Call the number, talk to the AI, then ask to be put through to an extension. See Testing and validation.

Every setting on the form

The form shows these fields in this order. Advanced Settings is closed until you open it.

Firewall

Allow outbound SIP from your PBX to sip.voice.getsmartalex.com on UDP or TCP 5060 (or TCP 5061 for TLS). For audio, allow outbound UDP 10000 to 60000. The return path must be open too, and this address has no fixed IP list, so use an FQDN rule. Turn off SIP ALG. The full change request is on Network requirements.

Check it worked

1

The card shows the trunk

Under Sidebar → Calls → PBX Extensions, the new connection has its own card. If its status is not what you expect, see Connection status.
2

A call reaches the AI

Call the number from a mobile phone: your agent answers, and the call appears under Sidebar → Calls → Call Logs (/call-logs).
3

A transfer reaches your team

Ask the AI to put you through to an extension. Your PBX rings it. If it does not, check that your PBX accepts REFER on this trunk.

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. Your PBX starts the trunk, so you allow outbound signalling and audio; a stateful firewall lets the replies back in.
Credentials works from any address and suits most PBXs; IP Whitelist suits a PBX with a fixed public IP. Both makes a call pass both checks, for stricter security policies.
Yes. Set Transport to tls (port 5061) and Media Encryption (SRTP) to Allow or Require, and your PBX must support the same.
The AI sends a SIP REFER on the live call to sip:<extension>@<PBX SIP Domain>, with the caller’s number in P-Asserted-Identity. Your PBX takes over and rings the extension. Your PBX must accept REFER on this trunk. See Call routing and transfers.
Open the same PBX tile again. The SIP Password field says “Saved. Re-enter to rotate.” Type a new password, click Update Connection, then put the same password on your PBX.
SmartAlex loads your saved connection for that PBX so you can edit it. The button changes to Update Connection and leaves the saved password alone unless you type a new one.

Network requirements

Ports, FQDN rules and SIP ALG.

Connection modes

Compare Forward calls with extension mode.

Any SIP system

Generic PBX settings for this mode.

Troubleshooting

When calls do not arrive or audio is one-way.
Last modified on November 27, 2026