# Cloud Voice TA FXO Gateway Integration

Many sites still have analog phone lines from the local phone company (the PSTN, or Public Switched Telephone Network) wired in. When you want your Cloud Voice hosted PBX (Private Branch Exchange, the system that routes calls for your organization) to place and answer calls over those physical lines, you can bridge them onto the platform with a TA-series FXO gateway. This guide follows a complete, worked example that connects a TA810 FXO gateway to Cloud Voice and extends eight FXO trunks onto the PBX. A trunk is simply a line that carries calls between the PBX and the outside world.

:::note[What an FXO gateway does]
FXO stands for Foreign Exchange Office. An FXO port is the interface that plugs into an analog line and accepts dial tone from it, so an FXO gateway lets a cloud PBX reach lines it cannot physically connect to on its own. Do not confuse it with FXS (Foreign Exchange Station), which is the port type that a phone plugs into. The TA810 has eight FXO ports, which is why this example produces eight FXO trunks: one trunk per physical line.
:::

## Example environment

Every procedure in this guide refers back to a single worked example. The equipment, firmware, and addressing shown below are the values used throughout. Swap in your own wherever they differ.

![Cloud Voice, network diagram of a TA810 FXO gateway linked to the hosted PBX to carry analog FXO trunks](/images/pbx/ta-fxo-gateway-p-series-cloud-02.png)

| Equipment | Firmware version | Address |
| --- | --- | --- |
| Cloud Voice hosted PBX | 84.10.0.30 | voice.example.com |
| Cloud Voice TA810 FXO Gateway | 41.19.0.25 | 192.168.6.24 (LAN) |

:::note[These addresses are examples]
The firmware versions and addresses above are the lab values used to write this guide, not settings you should copy. The gateway address `192.168.6.24` is a private LAN (local area network) address, so it is the address on your own site network. Use the values that match your equipment.
:::

## What this guide covers

Complete the tasks in order. The first brings the gateway and the PBX together; the remaining two set up call routing so the new trunks can carry traffic in each direction.

:::tip[Do the tasks in order]
The routing tasks depend on the connection task. The outbound and inbound routes have nothing to route until the gateway is registered and the eight FXO trunks show as up on the PBX, so finish task 1 and confirm the trunks are online before you start tasks 2 and 3.
:::

1. [Connect Cloud Voice and the TA810 gateway](/pbx/integrations/cloud-voice-ta/connect-cloud-voice-p-series-cloud-pbx-and-cloud-voice-ta810-gateway/), register the gateway with the PBX and bring up eight FXO trunks.
2. [Make outbound calls through the extended FXO trunks](/pbx/integrations/cloud-voice-ta/make-outbound-calls-through-the-extended-fxo-trunks/), add the outbound routes that send calls out over the analog lines.
3. [Receive inbound calls through the extended FXO trunks](/pbx/integrations/cloud-voice-ta/receive-inbound-calls-through-the-extended-fxo-trunks/), add the inbound routes that deliver calls arriving on the analog lines.
