# Set up Jam voice

> Let the people in a Jam talk to each other, at home and away.

Page: https://songstress.app/docs/admin/jam-voice/

People in a Jam can talk while they listen. Voice is on until you turn it off, and works on most networks with
nothing to set up. Its settings are in **Manage ▸ Server ▸ Access ▸ Jam voice**, on the web and desktop.

## How voice gets through [#how-voice-gets-through]

1. **Directly, on its own port.** Voice uses UDP port 8093, and the same TCP port for networks that block UDP. The
   compose file publishes both.
2. **Through your router, by itself.** Voice asks a public STUN server how its port looks from the internet, so
   people who reach your server by its domain usually get through with no port forwarded.
3. **Through your server's own connection,** when the first two can't. It always works, as long as anything in
   front of your server allows WebSocket upgrades.

The **Jam voice** card says how it is going, and what to open if something is blocked.

## Settings [#settings]

- **Voice in Jams** turns voice on or off for everyone.
- **Port** changes the port. Leave it empty for 8093. If you change it, change `VOICE_PORT` in `.env` to match, so
  the compose file publishes the same port.
- **Public addresses for voice** are usually empty. Fill them in only when the card asks you to.

## For people outside your network [#for-people-outside-your-network]

If some people still can't connect, forward UDP port 8093 on your router to the server.

## Choose the STUN server [#choose-the-stun-server]

`VOICE_STUN` in `.env` sets where voice asks about its port: empty for a public one (by default
`stun.cloudflare.com:3478`), up to three of your own as `host:port,host:port`, or `off` to never ask. Only that
question goes there; voices go only through your server.

<Callout type="warn" title="Behind the VPN overlay">
The VPN overlay doesn't publish the voice port, so voice can't connect directly there. See
[Compose files](/docs/reference/compose/#route-downloads-through-a-vpn).
</Callout>
