Skip to main content
By the end of this tutorial your SmartAlex agent is signed in to your Yeastar PBX as an extension. It answers the number you route to it, and can put callers through to your team. You connect it as a Use as PBX extension connection, the only type Yeastar supports. The guided setup reads your extension directory over the Yeastar API.
In the app: Sidebar → Calls → PBX Extensions (/settings/pbx) → Connect a PBX → PBX platform → Yeastar. Yeastar connections always use extension mode, so there is no Connection Type choice to make.
These PBX steps follow the Yeastar P-Series documentation on help.yeastar.com for the Cloud, Appliance and Software editions. Yeastar’s pages give no firmware version for these screens, so check the Yeastar guide for your edition if a label differs on your PBX.

What you need first

  • Admin access to the Yeastar web portal.
  • A SmartAlex agent that is ready to answer calls.
  • A new extension for the AI on your Yeastar, for example “Reception AI”. Never use a person’s extension, because the AI would answer their calls before their phone rings.
  • Someone who can allow 34.233.117.97 and 15.240.176.215 on your firewall and in the PBX’s own allow list. SmartAlex registers over UDP and sends call audio from UDP ports 50000 to 60000.

How it connects

This sequence shows the guided Yeastar setup: an API sign-in, then SmartAlex registering as the extension you pick.

Part 1: Set up the Yeastar PBX

Create the AI’s extension

1

Open Extension

Log in to the Yeastar web portal and go to Extension and Trunk > Extension.
2

Add a SIP extension

Click Add, then Add again. In the Basic section, set Extension Type to SIP Extension.
3

Fill in the extension

Under Extension Information, set Extension Number to the number for the AI, such as 1000. Note the Registration Name and Registration Password shown there: Yeastar generates both at random, and you can keep them. See the table below.
4

Allow registration from outside (Appliance and Software editions)

Click the Security tab and tick Allow Remote Registration in the SIP Security section. This option is off by default. On P-Series Cloud there is no such setting and none is needed.
5

Limit registration to SmartAlex (optional)

If you use IP restriction on the extension, stay on the Security tab. Under SIP Registration IP Restriction, tick Enable IP Restriction and click Add IP. Add both SmartAlex addresses, each with a Subnet Mask that covers only that one address, because our team can move a connection between them.
6

Save

Click Save and Apply.

Allow our addresses

1

Open Security Rules

On P-Series Cloud, go to Security > Security Rules and open the Allowed IPs tab.
2

Add each address

Click Add. Set Name to SmartAlex 1, set Type to IP Address, enter 34.233.117.97 in IP Address, and click Save. Repeat with 15.240.176.215.
3

Check Block IPs

If you run the Appliance or Software edition, open the Security section of the web portal and check that neither address appears under Block IPs. If one does, delete it from that list. Add both addresses to the PBX’s allowed list too, so Auto Defense does not block our registrations.
Yeastar’s Auto Defense rules block a source that sends too many packets in a short time, which is why the allowed list matters.

Switch on the API

1

Open API

In the web portal, go to Integrations > API.
2

Enable it

Turn on API. IP Restriction is optional here, so leave it off unless your policy needs it.
3

Copy the credentials

Copy the Client ID and the Client Secret shown there, ready to paste both into SmartAlex next.

Part 2: Connect it in SmartAlex

1

Open PBX Extensions

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

Choose Yeastar

Under PBX platform, click the Yeastar tile.
3

Enter the PBX details

Fill in Trunk Name, Your PBX SIP Domain (the hostname your desk phones use), Client ID and Client Secret. Click Check details and find extensions.
Yeastar guided setup asking for Client ID and Client SecretYeastar guided setup asking for Client ID and Client Secret

Paste the Client ID and Client Secret from your Yeastar

4

Pick the AI's extension

Under Which extension should SmartAlex be?, search by number or name and pick the extension you made. “In use” means a phone or Linkus is signed in on it, and SmartAlex would answer its calls instead.
5

Choose outbound calling

Turn on Allow outbound calls if the agent should make its outbound calls through this PBX, showing this extension’s own number. The extension must be allowed to dial out on your Yeastar.
6

Connect

Click Connect as extension 1000 (your number shows on the button). The app says “Connected. SmartAlex is registering to your PBX now.” and SmartAlex signs in within a minute.
7

Link the agent

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

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. The Extension directory fills itself from your Yeastar.
No API access? Click PBX API unavailable? Set up manually. Enter the Extension number for SmartAlex. Next comes the Username from your PBX, the extension’s Registration Name, often a random code, not the extension number. Last comes the Password from your PBX, which is the Registration Password. The form’s PBX API (optional) section says: “Add credentials from Integrations > API to import your extension directory automatically.” You can add the API key later.

Point your number at the extension on Yeastar

1

Open Inbound Route

In the Yeastar web portal, go to Call Control > Inbound Route and click Add.
2

Name the route and pick the trunk

Enter a Name, then move the trunk that carries your number from Available to Selected in the Trunk section.
3

Set the destination

Under Default Destination, choose the AI’s extension, such as 1000. You can also route an IVR option or a ring group to it.
4

Save

Click Save and Apply.

Check it worked

1

The status turns green

Under Sidebar → Calls → PBX Extensions, the card shows Connected as ext 1000. 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.
4

A transfer works

Ask the AI to put you through to a colleague. See Testing and validation.

Next

Fill the extension directory

So the AI can put callers through to your team.

Test before go-live

The full test plan.

What the API adds

Common API messages

Copy both again from Integrations > API, with no spaces before or after. If the secret was regenerated, use the new one.
The PBX allows 8 API sessions, so if you connected or imported several times in the last half hour, wait 30 minutes and try again.
On the PBX, open Integrations > API and check the API is turned on.
Update the PBX to the latest P-Series firmware, then try again, or use manual setup.

Questions people ask

New Yeastar connections always use extension mode, because the API key, the directory import and availability checks only work that way.
Yeastar PBXs on South African hosts start on our Cape Town server (15.240.176.215), but allow both addresses anyway.
The extension’s Registration Name, shown on the extension, is often a random code. The extension number goes in its own field.
Yes. It is a normal extension, so staff can dial or transfer to it.

PBX extension mode

How extension mode works on any PBX.

Call routing and transfers

Attended transfers and availability checks.

Euphoria Telecom

A South African hosted PBX.

Connection status

Fix Auth failed or Unreachable.
Last modified on November 27, 2026