FXS and FXO are the name of the ports used by analog phone lines (also known as POTS – Plain Old Telephone Service) or phones.
FXS – Foreign eXchange Subscriber interface is the port that actually delivers the analog line to the subscriber. In other words it is the “plug on the wall” that delivers a dial tone, battery current and ring voltage.
FXO – Foreign eXchange Office interface is the port that receives the analog line. It is the plug on the phone or fax machine, or the plug(s) on your analog phone system. It delivers an on-hook/off-hook indication (loop closure). Since the FXO port is attached to a device, such as a fax or phone, the device is often called the “FXO device”.
FXO and FXS are always paired, i.e similar to a male / female plug.
Without a PBX, a phone is connected directly to the FXS port provided by a telephone company.
If you have a PBX, then you connect the lines provided by the telephone company to the PBX and then the phones to the PBX. Therefore, the PBX must have both FXO ports (to connect to the FXS ports provided by the telephone company) and FXS ports (to connect the phone or fax devices to).
FXS & FXO & VoIP
You will come across the terms FXS and FXO when deciding to buy equipment that allows you to connect analog phones to a VoIP Phone System or traditional PBXs to a VoIP service provider or to each other via the Internet.
An FXO Gateway
To connect analog phone lines to an IP phone system you need an FXO gateway. This allows you to connect the FXS port to the FXO port of the gateway, which then translates the analog phone line to a VoIP call. There are a number of different FXO gateways available. You can view a list of gateways that 3CX Phone System supports, here.
An FXS Gateway
An FXS gateway is used to connect one or more lines of a traditional PBX to a VoIP phone system or provider. Alternatively, you can use it to connect analog phones to it and re-use your analog phones with a VoIP phone system. You need an FXS gateway because you want to connect the FXO ports (which normally are connected to the telephone company) to the Internet or a VoIP system.
An FXS adapter a.k.a. ATA adapter
An FXS adapter is used to connect an analog phone or fax machine to a VoIP phone system or to a VoIP provider. You need this because you need to connect the FXO port of the phone/fax machine to the adapter.
FXS/ FXO gateways are widely available. 3CX Phone System for Windows automatically configures FXS/FXO Gateways to allow you to easily continue using your existing PSTN lines and/or analog phones. You can download the Free edition here.
More information about FXS / FXO and VoIP in general can be found in our Basic Training Videos.
FXS/ FXO Procedures – How Does it Work in Detail
If you are interested to know in more technical detail how an FXS/ FXO port interoperate, here is the exact sequence:
When you wish to place a call:
- You pick up the phone (the FXO device). The FXS port detects that you have gone off hook.
- You dial the phone number, which is passed as Dual-Tone Multi-Frequency (DTMF) digits to the FXS port.
- The FXS port receives a call, and then sends a ring voltage to the attached FXO device.
- The phone rings.
- As soon as you pick up the phone you can answer the call.
Ending the call – normally the FXS port relies on either of the connected FXO devices to end the call.
Note: The analog phone line passes approximately 50 volts DC power to the FXS port. That’s why you get a faint “shock” when you touch a connected phone line. This allows a call to be made in the event of a power cut.