Skip to content
Try simtrunk free for 14 days.Start free trial
Asterisk and FreePBX

A GSM gateway for Asterisk and FreePBX

simtrunk connects your SIM cards to Asterisk or FreePBX as an ordinary SIP trunk: calls to the SIMs reach your dialplan by DID, and your extensions call out on the SIMs.

A line rings a desk phone, softphones and a PBXA line rings a desk phone, softphones and a PBX

What your PBX gets

A SIP trunk

One trunk for all your SIM lines, over UDP, TCP or TLS.

Dial-in by DID

A call to a SIM’s number reaches the PBX addressed to the line’s DID, so inbound routes pick who answers.

Dial-out on the SIMs

Outbound routes send calls to the trunk; they leave on the SIM chosen by DID, by prefix or the first idle one.

SMS and USSD

Texts and USSD codes ride the trunk as SIP MESSAGE.

Three ways to connect

Asterisk registers to simtrunk

The registrar mode. The PBX signs in, as a phone does, so it can sit behind NAT.

simtrunk registers to Asterisk

The register mode, for a PBX reachable on the internet.

Peers

No registration: each side sends to the other’s address. Calls are taken only from the PBX’s addresses.

Questions about Asterisk and FreePBX

Do I need chan_dongle or a GSM card in the PBX?

No. The SIMs stay in a SIM bank, which can be another computer; the PBX only sees a SIP trunk.

Which Asterisk channel driver?

Any that speaks SIP. The guide shows PJSIP, and a PJSIP trunk in FreePBX.

Calls connect with no audio?

Turn on symmetric RTP and NAT handling on the PBX: in Asterisk, rtp_symmetric, force_rport and rewrite_contact.

How many trunks can I have?

1 on Solo, 5 on Team and no limit on Business.

01

Features

Lines, calls, SMS and USSD, phones, SIP trunks, webhooks and the API.

02

How it works

SIM banks, simserve and how a bank links to simtrunk.

03

Pricing

Solo at $5 a line, Team at $20 and Business at $50 a month, with unlimited answered minutes.

04

Getting started

From a new organization to your first call, step by step.

Give your Asterisk mobile lines.

Start a 14-day trial with one line, and connect it to your PBX.

GSM gateway for Asterisk and FreePBX: SIM lines as a SIP trunk — simtrunk