The roles are complementary
An FXS interface supplies the analog telephone-side service, including line feed and ringing behavior. An FXO interface behaves as the line-consuming side, as a conventional phone does toward a telephone line. To connect an analog phone to a SIP service, you normally need an ATA's FXS port. To bring an existing analog line into an IP PBX, you normally need an FXO gateway port. Devices such as the HT813 provide both roles in one unit, but the ports are not interchangeable.
Multi-line gateways such as the HT841 and HT881 combine several FXO ports with one FXS port. Count and label the two roles separately.
FXS supplies the line service; FXO uses it. These are two separate connection examples. Never connect two live FXS sources together.
Check more than port count
For FXS, verify ringing load, supported caller-ID format, country impedance settings and the attached device's dialing behavior. Multiple physical ports do not necessarily share one SIP identity or provide the same simultaneous-call capacity. For FXO, verify line supervision: how answer and disconnect are detected, whether polarity reversal or current interruption is supplied, and which tones and cadence apply. A line that remains seized after hangup may have a supervision mismatch rather than a SIP failure.
Avoid damaging assumptions
Do not connect two line-supplying interfaces together or feed an ATA into building wiring that is still connected to a live outside line. Have the wiring isolated and identified by a competent installer. For selection, record the required port role, regional electrical profile and call behavior. Then test ring, answer, DTMF and disconnect in both directions. A dial tone alone is not enough: it may be generated locally even when upstream service is unavailable.
Identify every GXW4200 v2 socket as FXS
The GXW4200 v2 family guide explains why these subscriber ports must not accept an outside analog line.
Confirm the HT81x V2 ports are FXS
The HT812 V2 and HT814 V2 supply FXS ports for analog endpoints; they are not FXO interfaces for connecting telephone-company lines.
Use current HT841 and HT881 port-role examples
The HT841 and HT881 show why PSTN-facing FXO ports and device-facing FXS ports cannot be interchanged.
Use HT813 as a one-to-one role example
On HT813, FXS powers the phone or fax while FXO faces the PSTN or traditional PBX line; swapping them changes the electrical and call boundary.
Map ports, spans and channels explicitly
The AMI DAHDI guide keeps FXS or FXO port identity distinct from DAHDI span, channel, group and call leg.
Sources & applicability
Primary references for the technical details above. Operational examples and planning checklists are VoIP.info editorial guidance.
- Grandstream HT813 administration and analog interfaces ↗
- Grandstream HT841/HT881 product specifications ↗
- Grandstream HT841/HT881 user manual ↗
- ↗
- ↗
- ↗
- ↗
- ↗
- ↗
- ↗
- ↗
- ↗
- ↗
- ↗
- Grandstream HT812 v2 product page ↗
- Grandstream HT814 v2 product page ↗
- Grandstream HT812 v2 datasheet ↗
- Grandstream HT814 v2 datasheet ↗
- Grandstream HT81x V2 Administration Guide ↗
- Grandstream HT81x V2 User Guide ↗
- Grandstream HT8xx V2 firmware 1.0.15.3 release notes ↗
- Grandstream Firmware Upgrade Guide ↗
- Grandstream HT841 and HT881 datasheet ↗
- Grandstream HT841 and HT881 user manual PDF ↗
- Grandstream HT841 and HT881 FAQ ↗
- Grandstream HT8x1 firmware 1.0.11.8 release notes ↗
- Grandstream UCM6xxx with HT841 and HT881 FXO gateway guide ↗
- Grandstream HT841 and HT881 quick installation guide ↗
- Grandstream HT813 product page ↗
- Grandstream HT813 datasheet ↗
- Grandstream HT813 user guide ↗
- Grandstream HT813 FAQ ↗
- Grandstream HT813 firmware 1.0.19.6 release notes ↗
- Grandstream peering HT8xx with HT813 guide ↗
- Grandstream HT813 quick installation guide ↗
- Asterisk DAHDIShowStatus AMI action ↗
- Asterisk DAHDIShowChannels AMI action ↗
- Asterisk DAHDIChannel AMI event ↗
- Asterisk SpanAlarm AMI event ↗
- Asterisk SpanAlarmClear AMI event ↗
- Asterisk channel fundamentals ↗
- Asterisk AMI v2 specification ↗
- Asterisk Manager TCP/IP API ↗
- Asterisk AMI event filtering ↗
- Asterisk network security guidance ↗
Examples require adaptation to your topology. No live PBX or hardware testing is claimed.