News

News

What Is a VoIP Gateway? A Practical Guide to FXS, FXO and SIP

A VoIP gateway is a translation device: it converts voice and fax between traditional telephone interfaces and IP packets. That one job is what lets an analog phone, a fax machine or a carrier line keep working inside an IP-based business phone system.

Definition: A VoIP gateway is a network device that converts voice and fax signals between analog or digital telephone interfaces and IP networks, so that legacy equipment can register as extensions on an IP-PBX and connect to the public telephone network.

What the gateway actually converts

Voice on a traditional phone line is an analog electrical signal. Voice on an IP network is a stream of packets. The gateway sits between them and does four things: it converts the analog signal into digital data, packetises it with the routing information needed to reach the far end, compresses and encodes it with a codec to make efficient use of bandwidth, and routes the result over SIP or another signalling protocol. In the other direction it reverses the whole sequence, turning packets back into a signal a conventional phone can use.

That same pipeline handles fax, which is why T.38 negotiation matters. A fax negotiated as a real-time media stream fails in bursts on a jittery network, while T.38 relays it reliably.

The three gateway types

Gateways are named after the interface they present. An FXS gateway feeds the station: it provides dial tone and power to analog phones, fax machines and PBX extensions, and those devices register as extensions on the IP-PBX. An FXO gateway connects to the office: it takes dial tone from the exchange, so carrier lines can be brought into the IP-PBX for backup or failover. A digital trunk gateway terminates carrier channels and is what terminates SIP trunking.

Beyond conversion, gateways add the features an IP network expects: echo cancellation, jitter buffering, quality of service, and the ability to scale as channels are added. Our analog VoIP gateway guide covers port sizing and setup in practical detail.

VoIP gateway types by interface

Gateway typePresentsConnects toTypical use
FXSAnalog station interfaceAnalog phones, fax, PBX extensionsKeeping existing handsets in service
FXOAnalog office interfaceCarrier lines from the exchangeBackup lines and failover during cutover
Digital trunkDigital channel interfaceCarrier channels or SIP trunksThe main outside line after migration

Newrock perspective

Newrock's MX series covers the full range of interfaces in one product line, from the eight-port MX8G for a small branch to the MX120G with 96 FXS/FXO ports for a hotel or campus. All models support SIP, MGCP and IMS signalling, so the same unit bridges an old proprietary PBX during migration and remains in production afterwards.

The practical difference between a gateway that works and one that causes support calls is usually remote management. A gateway in a back room or a building closet is one somebody has to visit, and in a multi-site deployment that visit is the real running cost. UMS configures devices in batches, reports faults as they happen, and shows trunk and call recording status from a single console.

Frequently Asked Questions

What does a VoIP gateway do exactly?

It converts voice and fax between analog or digital telephone interfaces and IP packets, then routes the result using SIP or equivalent signalling. In practice it lets analog phones, fax machines and carrier lines operate as extensions on an IP-PBX.

Do I need a VoIP gateway to make VoIP calls?

No. If every endpoint is an IP phone and you connect through SIP trunks, no gateway is needed. You need one when legacy equipment enters the picture — analog handsets, fax machines, door entry, paging, or an old PSTN line kept as backup.

How many ports do I need?

Count the analog devices you want to keep alive plus any carrier lines you are retaining. That total is your FXS plus FXO requirement. Leave roughly 20 percent headroom, because a second fax line or a new door station always arrives within a year.

What is the difference between a VoIP gateway and an SBC?

A gateway converts signalling and media between interfaces; a session border controller primarily protects and controls SIP sessions at the network edge — topology hiding, rate limiting, denial-of-service defence. They solve different problems and are often deployed together at the edge of a carrier network.

Does a VoIP gateway support fax?

Yes, with T.38 fax negotiation, which is what makes fax reliable over IP. Confirm the gateway specification lists T.38 before you commit, because fax without it fails in bursts.

Related reading on the Newrock site

Conclusion

A VoIP gateway is the piece that lets a business phone system grow out of what it already has. It is not a transitional compromise to be removed later; in an estate with fax machines, door entry or a retained carrier line, it is a permanent part of the architecture.

Identify which interface you actually need — FXS for the devices you own, FXO for the lines you keep, digital trunk for the trunks you terminate — size it with headroom, and then check the operational question that decides long-term cost: who updates the firmware, and do they have to travel to the building to do it.

Customer-centric, focus on customer value

Consult now

Copyright © New Rock Technologies, Inc. All Rights Reserved. 沪ICP备15008515号-1