GSMCalls
Guides8 min readUpdated

What Is a GSM Gateway? The Complete Guide (2026)

By GSMCalls Engineering

A GSM gateway is a device that connects an IP phone system to a mobile network. It speaks SIP to a PBX or softswitch on one side and holds SIM cards — in radio modules or real mobile phones — on the other, placing and answering ordinary mobile calls so a VoIP system can reach mobile numbers.

This guide explains how a GSM gateway works, the main types on the market in 2026 — from multi-SIM hardware chassis to phone-based and cloud-managed gateways — what they are used for, how codecs affect call quality, where the legal lines are, and what to check before you buy.

How does a GSM gateway work?

Every GSM gateway does two jobs at once: it terminates a VoIP call on its IP side and bridges it to a mobile call on its radio side. The IP side uses the Session Initiation Protocol (RFC 3261) for signalling and RTP (RFC 3550) for the audio itself. The mobile side is whatever the SIM’s network provides — 2G GSM, 3G, or 4G with VoLTE.

An outbound call through a GSM gateway follows the same few steps whatever the hardware:

  1. Your PBX or softswitch sends a SIP INVITE for a mobile or national number to the gateway, which it sees as a SIP trunk.
  2. The gateway authenticates the request (by registration credentials or an allow-listed IP), applies its routing rules and picks a free line.
  3. That line — a radio module or a phone — dials the number on the mobile network. Ringing and call progress are reported back to the PBX as SIP 180/183 responses.
  4. When the callee answers, the gateway returns 200 OK and starts relaying audio in both directions: RTP on the IP side, the mobile voice channel on the radio side.
  5. When either party hangs up, the gateway clears both legs and writes a call detail record (CDR).

Inbound calls run the same path in reverse. A call to the SIM’s mobile number arrives on the radio side, and the gateway forwards it to the PBX as a SIP INVITE — typically to a fixed extension, a ring group or an IVR, much as a DID would be handled.

Types of GSM gateways

Hardware GSM gateways

The classic GSM gateway is a purpose-built chassis with SIM slots, radio modules and an Ethernet port — the category that includes GoIP-, Dinstar-, OpenVox- and Yeastar TG-style products. Models range from a single channel to 32 or more, and current units use 4G modules rather than 2G/3G ones. Each unit is configured through its own web interface or the vendor’s management tool.

USB dongle gateways

A cheaper variant pairs a Linux server running Asterisk with USB modems. It was popular while 3G voice was widespread, but most voice-capable dongles are 3G devices without VoLTE, and they stop working as operators shut 3G down. Our guide to VoLTE and the 3G shutdown covers why.

Phone-based gateways

Phone-based gateways use ordinary smartphones as the radio. The phone places and answers calls on its own SIM, while software moves the audio between the call and a SIP trunk. Because phones carry current modems, they support VoLTE, Wi-Fi calling and HD voice where the carrier offers them. The hard part is the audio path — see can an Android phone be a GSM gateway? for the details.

Cloud-managed gateways

“Cloud GSM gateway” describes where the management lives rather than the radio hardware. Routing, monitoring, CDRs, usage limits and billing run on a central platform, and each site only has to connect its lines. This is what makes dozens of sites manageable from one portal instead of one web page per box. GSMCalls is a cloud GSM gateway platform built around phones.

TypeRadioTypical managementStrengthsWatch-outs
Hardware chassisBuilt-in 2G/3G/4G modulesPer-device web UI or vendor toolMany SIM slots, compact, low power per channelModule ageing, VoLTE depends on vendor firmware, upfront cost
USB donglesUSB modems (mostly 3G)Asterisk configurationLow entry costFails where 3G is switched off; limited VoLTE
Phone-basedSmartphonesSoftware on a PC or on the phoneCurrent modems, VoLTE/VoWiFi, easy replacementNeeds power, heat and audio-path management
Cloud-managedAny of the aboveCentral web platformMulti-site view, CDRs, billing, alertsNeeds a reliable internet link at each site

What is a GSM gateway used for?

Most GSM gateway deployments are about giving an existing phone system a mobile presence. Common, legitimate uses include:

  • Mobile trunk for a PBX: outbound calls to mobiles leave on a mobile line under a plan the business has arranged with its carrier, often with a familiar local mobile caller ID.
  • Inbound mobile numbers: customers call a mobile number that rings desk phones, softphones or a contact-centre queue.
  • Remote and temporary sites: construction sites, clinics or branches where fixed lines are slow or impossible to install.
  • Failover: a cellular path that keeps calls flowing when a site’s fixed line or primary SIP trunk is down.
  • Monitoring and testing: placing real calls over mobile networks to check reachability and audio quality, with the operator’s knowledge where required.

What a GSM gateway must not be used for is routing international or wholesale traffic around licensed interconnects. That practice is known as SIM-box fraud; it is explained in What Is a SIM Box? and is prohibited by our acceptable use policy.

Codecs and call quality

A codec determines how voice is compressed. A GSM gateway sits between two codec worlds: mobile networks use AMR, AMR-WB or EVS, while SIP trunks use codecs such as G.711, G.729, G.722 or Opus. Every conversion between them costs a little quality, so the fewer the better.

CodecBitrateAudio bandwidthWhere you meet it
G.711 (PCMA / PCMU)64 kbit/sNarrowband (8 kHz sampling)Default on most SIP trunks; A-law in Europe and most of the world, µ-law in North America and Japan
G.7298 kbit/sNarrowbandBandwidth-constrained trunks and wholesale links
G.72264 kbit/s (48/56 modes exist)Wideband (16 kHz sampling)HD voice on IP phones and PBXs
Opus6–510 kbit/sNarrowband to fullbandWebRTC and modern softphones
AMR-WB (G.722.2)6.6–23.85 kbit/sWidebandHD voice on 3G/4G mobile networks (VoLTE)

If the mobile call is wideband but the gateway’s audio path is narrowband, the “HD” is thrown away at the gateway. That is why the audio interface matters as much as the trunk codec: an analogue cable or a Bluetooth hands-free link at 8 kHz caps quality, while a digital wideband path can carry HD voice through to a G.722 or Opus endpoint. The GSMCalls Smart Bridge was designed for exactly that; see GSM gateway without a PC.

The equipment itself is legal to buy and operate in most countries, and GSM gateways are sold by mainstream telecom vendors. What matters is how they are used:

  • Carrier terms: many mobile plans — especially consumer and unlimited plans — prohibit use in gateways or for commercial call routing. Use business plans that permit your use case, and read the terms.
  • Licensing: in many countries carrying third-party voice traffic, or offering telephone service to the public, requires a licence. Using your own lines for your own organisation’s calls usually does not, but check.
  • Interconnect bypass: delivering international calls as if they were local mobile calls is illegal in most jurisdictions and is aggressively detected and prosecuted.
  • Caller ID: presenting a number you are not authorised to use is unlawful in many countries.

This article is general information, not legal advice. Confirm local telecommunications rules and your carriers’ terms before deploying — see Wholesale VoIP & Call Termination Explained for how the lawful market works.

How to choose a GSM gateway

Before comparing products, write down what you need. These are the questions that separate a good fit from an expensive mistake:

  1. Concurrent calls and sites: how many simultaneous calls, at how many locations — and how fast will that grow? Multi-site operators should look closely at multi-site GSM gateway management.
  2. Network generation: will the lines work on your carriers’ networks for the next five years? Insist on VoLTE support wherever 2G/3G is being retired.
  3. PBX compatibility: confirm tested setups for your platform — for example FreePBX, Asterisk or 3CX — including registration or IP authentication and DTMF handling.
  4. Audio quality: narrowband or wideband end to end? How much transcoding happens in the chain?
  5. Security: SIP over TLS, media over SRTP, IP allow-listing and a sensible firewall policy.
  6. Operations: can you see every line’s status, signal and call results in one place? Are CDRs, ASR and ACD reported per line and per site?
  7. Total cost: hardware, SIM plans, spare units, power and the staff time to run it — not just the purchase price.
  8. Compliance: does the vendor’s own policy make clear what the product is for?

Where GSMCalls fits

GSMCalls turns ordinary mobile phones into managed SIP gateways and runs everything else in the cloud. Each site chooses how its phones connect: Wireless Connect pairs phones over Bluetooth (Bluetooth GSM gateway); the Smart Bridge puts a small microcontroller on the phone’s USB-C port while the GSMCalls app streams digital wideband HD audio (G.722) straight to the cloud with no PC; and USB Connect wires phones to a gateway PC for dense racks. Android sites can start from the Android SIP gateway overview.

Whatever the method, your PBX sees standard SIP trunks over UDP, TCP or TLS, and the platform handles routing, CDRs, prepaid billing, minute profiles and multi-site monitoring. Plans start at $100 per month for 10 phones — see pricing or book a demo to see it on your own setup.

Frequently asked questions

What is a GSM gateway in simple terms?

It is a bridge between an internet phone system and the mobile network. Your PBX sends it a call over SIP, and the gateway places that call from a SIM card as a normal mobile call — and the reverse for incoming calls.

What is the difference between a GSM gateway and a VoIP gateway?

A VoIP gateway is any device that converts between VoIP and another network, such as analogue lines, ISDN or mobile. A GSM gateway is the type whose non-IP side is a mobile network. See GSM gateway vs traditional VoIP gateway.

Does a GSM gateway need a SIM card?

Yes. Each simultaneous call needs a line with an active SIM (or eSIM) on a mobile network. In a phone-based gateway, the SIM sits in the phone.

Do GSM gateways still work after 2G and 3G shutdowns?

Only if they support 4G voice (VoLTE) on your carrier. Older 2G/3G-only gateways and USB dongles stop working when those networks are retired. Smartphones certified by the carrier generally support VoLTE out of the box.

Is using a GSM gateway legal?

Operating one is legal in most countries, but your carrier’s terms and local licensing rules decide how you may use it. Using gateways to bypass international interconnects (SIM-box fraud) is illegal in most jurisdictions.

Can a GSM gateway work with FreePBX, Asterisk or 3CX?

Yes. A GSM gateway appears to the PBX as a standard SIP trunk. Our FreePBX GSM gateway setup guide walks through the configuration step by step.