[← All integrations](/integrations/)

Asterisk and FreePBX integration

# Give your Asterisk system an AI voice.

Asterisk and FreePBX stay your phone system. You route the calls you want to a Sempera agent with a change in your own dialplan or FreePBX settings, and our technology team helps you through it.

[Start building](https://app.sempera.org/sign-up)[Talk to our technology team](/demo/?cta=integrations)

Status today: Asterisk and FreePBX are connected with you during onboarding. Forwarding and direct connection instructions exist, but the direct connection is not open to every account yet, and our technology team confirms which route is available to you.

### Fits your dialplan

On FreePBX, Sempera is a destination your inbound routes, time conditions and ring group failovers can point at. On plain Asterisk, the same idea applies in your dialplan: pick the calls, send them out, keep the rest.

### Your public address, our connection sheet

For a direct connection your admin adds a SIP trunk to the Sempera address we provide and tells us the public address of the PBX so we can allow it. The other route skips that and forwards calls to your Sempera number.

### We check what your system supports

Asterisk and FreePBX builds differ. Our technology team looks at your version and trunk setup first, and tells you which route to use instead of guessing. Direct connections are arranged with us, not switched on by a form.

### Credentials stay out of the page

Trunk settings that need a secret are exchanged during setup with our technology team. Nothing sensitive belongs in a support ticket, a screenshot or this website.

### Pick the calls Sempera answers

Route every call on one number, only the ones nobody answers, or only the hours you are closed. Sempera answers those, and your staff keep everything else without a change to how they work.

### Reaching a person

The agent can take a message or arrange a callback that shows up in your call record. Passing a live call back to an extension, with details about the caller, depends on how your system accepts transfers, and we scope it with you.

## Connect Asterisk or FreePBX

Four steps. You change your own routing; we prepare the Sempera side.

1. 01

   Tell our technology team whether you run FreePBX or plain Asterisk, its version, and which numbers or time conditions should reach the agent.

2. 02

   Choose the route together. On FreePBX, forwarding means adding a Misc Destination for your Sempera number. A direct connection means adding a SIP trunk to the address on your connection sheet.

3. 03

   Point the matching inbound route or time condition at the new destination or trunk, press Apply Config, and send us your PBX's public address if you chose the direct route.

4. 04

   Place a test call, confirm the agent answers and the call appears in Sempera, then add the rest of your routing.

Our technology team works with you to define the connection, fit it to your existing systems, and support the launch.

[Talk to our technology team](/demo/?cta=integrations)

## Drop Sempera into your editor.

Use the REST API, the command line or the hosted MCP endpoint from the tools you already work in. Every example reads your key from the environment.

[Read the API docs](https://docs.sempera.org/)

### cURL

### JavaScript

### CLI

### MCP Copy code 1 curl --fail-with-body https://api.sempera.org/v1/me \
2 -H "Authorization: Bearer $SEMPERA_API_KEY"

Reads the account behind your key. It places no call and sends no message. [API reference](https://docs.sempera.org/)

## Frequently asked questions

###

### How does an Asterisk or FreePBX system connect to Sempera?

Either by sending calls to your Sempera number from an inbound route, or by adding a SIP trunk to Sempera's address. Our technology team chooses with you based on your setup.

###

### Does it work with other PBX software?

Often, if it can send calls to an outside number or add a SIP trunk. We do not claim support for every product, so tell us what you run and we confirm it.

###

### Can my PBX accept a transfer back from the agent?

That depends on your configuration. Taking a message or a callback works without any transfer, and a live handoff into an extension is scoped with you during setup.

###

### Does Sempera pass call details with a transfer?

Not as a finished feature yet. If your system can receive extra call details with a transfer, we look at what is possible and agree it before you rely on it.

###

### Can I keep my carrier and phone numbers?

Yes. Your numbers stay with your carrier, and your PBX sends the chosen calls to Sempera. Moving a number to Sempera is optional and handled separately with the technology team.

## Related integrations

[ SIP Connect an existing business phone system or carrier trunk to your phone agent. Enterprise only, set up by hand with us. ](/integrations/sip/)[ 3CX Let a Sempera phone agent answer calls your 3CX system sends it, by forwarding or a direct connection. ](/integrations/3cx/)[ Cisco UCM and CUBE Route selected calls from Cisco Unified CM or a CUBE gateway to a Sempera phone agent, set up with our technology team. ](/integrations/cisco-ucm-cube/) [View all integrations →](/integrations/)

## Our technology team scopes the integration with you.

They map Sempera to your stack, design the rollout, and stay with you through go-live.

[Talk to us](/demo/?cta=integrations)[See Enterprise pricing](/pricing/)

## Build with Sempera in your editor.

Connect through the API, command line or hosted MCP endpoint. Start with the setup guide for your development environment.

[Start building](https://app.sempera.org/sign-up)[Read the API docs](https://docs.sempera.org/)
