Skip to content NEW BitVoice AI Agents now speak 22 Indian languages Learn more →
BitVoice

FXS vs FXO: Which Analog Port Do You Need?

FXS vs FXO in plain words: FXS gives analog phones a dial tone, FXO takes one from a line. What to connect to each and how many gateway ports you need.

Technician connecting telephone cables to an analog VoIP gateway in a rack

FXS and FXO are the two kinds of analog port you meet when connecting old telephone equipment to a new IP phone system. They look the same, both take an ordinary RJ11 telephone cable, but they do opposite jobs. Plug a phone into the wrong one and you get silence. This guide explains FXS vs FXO in plain words, shows what to connect to each, and helps you decide which gateway ports your site needs.

FXS vs FXO in one line

FXS gives a phone a dial tone. FXO takes a dial tone from a line.

  • FXS (Foreign Exchange Station) behaves like the telephone exchange. It supplies power, dial tone and ringing voltage. You connect analog phones, fax machines and door phones to it.
  • FXO (Foreign Exchange Office) behaves like a telephone. It expects power and dial tone from someone else. You connect an analog telephone line from an operator, or an extension port of an old EPABX, to it.

A simple test: if the device on the other end of the cable is something a person picks up and talks into, it needs an FXS port. If the cable comes from the wall socket of a telephone line, it goes into an FXO port.

Side-by-side comparison

PointFXS portFXO port
Acts likeThe exchangeA telephone
Supplies dial tone and ringYesNo, it receives them
Connect to itAnalog phones, cordless base stations, fax machines, door phones, lift phonesAnalog lines from a telephone operator, extension ports of an old PBX
Typical useKeep existing handsets as extensions on an IP PBXBring existing landlines into an IP PBX
Direction of callsInternal users make and take calls through the PBXOutside calls come in and go out through the line
Common mistakeConnecting an operator line to it, which can damage the portConnecting a phone to it, which gives no dial tone

Where FXS ports are used

Most Indian sites that move to an IP PBX still have analog handsets that work fine. Replacing every one at once is costly, and in some places an analog phone is simply the better choice.

  • Hospitals: ward phones, nurse stations and lab extensions on old cabling.
  • Hotels: room phones, where long cable runs already exist to every room.
  • Factories and warehouses: robust shop-floor phones that survive dust and rough handling.
  • Campuses and hostels: many low-use extensions spread across buildings.
  • Fax machines and door phones: devices that only have an analog connection.

An FXS gateway sits near the existing cable termination. Each port becomes an extension on the IP PBX, so an analog phone can use transfer, voicemail and short codes like any IP phone. Read connect analog phones to an IP PBX for the full migration steps.

Where FXO ports are used

FXO ports matter less than they used to, because most businesses now take outside lines as SIP trunks or PRI. They still help in a few cases:

  • A branch office has only one or two analog landlines and no SIP trunk is available yet.
  • You need a backup line that works when the internet link is down.
  • You want to connect an old EPABX to a new IP PBX during a phased migration, so both systems can call each other.

If your outside lines are digital, read what is a PRI line and SIP trunk in India instead.

How many ports do you need?

Count devices, not people.

  1. FXS: one port for every analog phone, fax or door phone you will keep. Add a few spare ports for growth and for faulty cables you find during installation.
  2. FXO: one port for every analog line you will bring in. Most offices need very few, or none.
  3. Group ports by location. A building with 40 analog phones on one cable frame is better served by one large gateway there than by many small ones across the site.

Gateways come in fixed sizes, so round up. The BitVoice analog VoIP gateways come in 8, 16, 24 and 32 port models, all TEC certified under MTCTE, which matters for government and PSU tenders.

Setting up FXS ports with Voxdial IP PBX

Voxdial IP PBX manages analog gateways from its Auto Provision section. The operator:

  1. Adds the gateway with its name, MAC address and model. The model sets the number of ports.
  2. Maps each port to an extension.
  3. Generates the configuration and lets the gateway pick it up.

The gateway list shows how many ports are in use out of the total, and the operator can restart a gateway from the same screen. BitVoice gateways are auto-provisioned this way, so a technician does not have to configure each port by hand on the gateway itself.

For outside lines, Voxdial works with SIP trunks, PRI E1 cards and analog FXO and FXS gateways, so a site can mix old and new lines while it migrates.

Tips before you buy

  • Walk the site and label every analog device before you count ports.
  • Check cable runs and the condition of old copper. Long or damaged runs cause hum and ring problems that look like gateway faults.
  • Keep fax machines on G.711 or T.38 rather than a compressed codec. See fax over IP with T.38.
  • Put the gateway on a UPS with the network switch, so analog phones keep working during short power cuts.

Not sure whether you need FXS, FXO or both? Talk to BitVoice and we will help you count ports for your site.

FAQs

What is the difference between FXS and FXO?

An FXS port supplies dial tone and ringing to an analog phone. An FXO port receives dial tone from an analog telephone line. Phones go into FXS ports; operator lines go into FXO ports.

Can I connect an analog phone to an FXO port?

No. An FXO port does not supply power or dial tone, so the phone will stay silent. Analog phones, fax machines and door phones need FXS ports.

Do I need FXO ports if I have a SIP trunk?

Usually not. A SIP trunk connects straight to the IP PBX over the network. FXO ports are only needed for analog landlines, a backup line or linking an old EPABX.

How many FXS ports do I need?

One for each analog phone, fax machine or door phone you keep, plus a few spare. Gateways come in fixed sizes such as 8, 16, 24 or 32 ports, so round up.

Share

Related articles

See BitVoice working on your calls

Book a demo and we'll map your call flows and suggest the right setup.