Skip to main content
By the end of this tutorial your SmartAlex agent is signed in to your Grandstream UCM as a SIP extension. It answers the number you route to it and can put callers through to your team. Grandstream has no tile in SmartAlex, so you use the Other tile with Use as PBX extension. A SIP trunk (Forward calls) works too and is covered at the end.
In the app: Sidebar → Calls → PBX Extensions (/settings/pbx) → Connect a PBX → PBX platform → Other (“Any SIP-compatible system”) → Connection Type → Use as PBX extension.
These UCM steps follow Grandstream’s UCM630x Series user manual (UCM6300 series) on documentation.grandstream.com. The manual does not state one firmware version, but the UCM shows yours under System Status > System Information > General. Menu names on older UCM6xxx models are close but can differ.

What you need first

  • Admin access to the UCM web interface.
  • A SmartAlex agent that is ready to answer calls.
  • A SIP extension on the UCM kept for the AI, such as 850. Never use a person’s extension.
  • Someone who can allow 34.233.117.97 and 15.240.176.215 on your firewall and on the UCM. SmartAlex registers over UDP and sends call audio from UDP ports 50000 to 60000.

How it connects

This sequence shows SmartAlex signing in to a Grandstream UCM as an extension, answering a call and transferring it.

Option A: Use as PBX extension

Part 1: Set up the Grandstream UCM

1

Open Extensions

Log in to the UCM web interface and go to Extension/Trunk > Extensions.
2

Add a SIP extension

Click Add, and choose SIP Extension as the type.
3

Fill in the extension

Set Extension to the AI’s number, such as 850. Keep the generated SIP/IAX Password, or set a strong one, and note it. Leave Auth ID blank unless you need a separate one, and the UCM then uses the extension number to sign in.
4

Save

Save the extension. Click Apply Changes if the UCM asks.
5

Allow our addresses in Fail2Ban

Go to System Settings > Security Settings > Fail2Ban. Add 34.233.117.97 and 15.240.176.215 to the whitelist (labelled Fail2Ban Whitelist on the UCM630x, Allowlist on newer firmware) so a typing mistake does not ban them. The whitelist takes an IP address, a CIDR mask or a hostname.
6

Allow them on the extension (if you restrict it)

If the extension has an ACL Policy that limits who can register, add both addresses there too.
The extension must allow G.711 u-law (PCMU) and A-law (PCMA), the only codecs extension mode uses.

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 Other

Under PBX platform, click the Other tile. Under Connection Type, choose Use as PBX extension.
Other tile with Use as PBX extension selectedOther tile with Use as PBX extension selected

Grandstream uses the Other tile.

3

Enter the extension

Fill in the fields in the table below. Click Connect to PBX. The app says “Connected. SmartAlex is registering to your PBX now.”
4

Link the agent

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

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.

Part 3: Send calls to the AI on the UCM

1

Open Inbound Routes

On the UCM, go to Extension/Trunk > Inbound Routes.
2

Add a route

Click Add, choose the trunk that carries your number, and set the DID Pattern to your number.
3

Set the destination

Point the destination at the AI’s extension, or add the extension to a ring group or an IVR option instead.
4

Save

Save the route and click Apply Changes.

Option B: Forward calls (SIP trunk)

1

Create the trunk in SmartAlex

On the Other tile, choose Forward calls, enter Trunk Name and PBX SIP Domain, click Create SIP Trunk, and copy the username and password. The app says “SIP trunk created. Configure your PBX with these details.” The password is not shown again.
2

Add a VoIP trunk on the UCM

Open Extension/Trunk > VoIP Trunks and create a SIP trunk. Use the host name sip.voice.getsmartalex.com, transport UDP, port 5060, and the username and password from SmartAlex.
3

Codecs and DTMF

Put PCMU and PCMA first. Set the trunk’s DTMF Mode to RFC 2833. Newer UCM firmware may list RFC 4733 instead, which is backward-compatible with RFC 2833.
4

Route calls to the trunk

Add an outbound route that sends the AI’s number down the trunk. The number must be in Sidebar → Calls → Numbers (/phone-numbers) with an agent assigned.

Check it worked

1

The status turns green

Under Sidebar → Calls → PBX Extensions, an extension connection shows Connected as ext 850. The first registration usually lands within a minute, and if it shows anything else, see Connection status.
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 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.

Questions people ask

Grandstream UCM uses standard SIP, so the Other tile covers it with the same settings.
Turn off SIP ALG on any router in front of the UCM, including a Grandstream router. Then open the UCM’s RTP range to both SmartAlex addresses. See Network requirements.
The UCM or a firewall in front of it is dropping our sign-in, so check the Fail2Ban whitelist above, then click Force re-register. See Connection status.

Generic SIP

The settings any SIP system needs.

PBX extension mode

How extension mode works.

Testing and validation

Test before go-live.

Troubleshooting

Symptoms and fixes.
Last modified on November 27, 2026