The port type settles which side supplies dial tone. It does not settle whether a fax machine or alarm panel will get its data through an IP network. Fax is the usual example. The VG400 documents two methods, T.38 fax relay and fax pass-through. The POTS replacement service from Atlantech Online, a business phone and fiber provider, uses T.38 relay or G.711 pass-through for fax lines. Whichever method is used, the gateway has to use the same one as the service on the other side.
Atlantech's service also shows how the pieces fit together in a building. It replaces copper phone lines with a managed appliance, and its cutover description says "each analog line is moved to an FXS port on the new appliance." That appliance is doing a gateway's FXS job for elevator phones, fire panels and fax machines, the kind of legacy devices at risk when copper lines are retired. On the other side it connects over broadband, with 4G LTE as a second path.
The port is one of three things to check, along with transport and power. The port role is FXS, which tells you the device will be given an analog line. The transport is broadband or LTE, which tells you how the call leaves the building. A copper line was powered from the phone company's office, and an appliance needs power on site. Atlantech lists up to 24 hours of battery backup.
None of the three shows that a particular alarm panel will report correctly, and Atlantech's process does not assume it will. Fire and elevator lines are "tested end-to-end with the monitoring center after each cut." That live test with the party on the far end is the step to copy with any gateway, whoever supplies it.