# Connectivity

The network connections Ella PSAP accepts and opens.

## Inbound

Connections Ella PSAP accepts.

| Port | Protocol | Purpose | Set by |
| --- | --- | --- | --- |
| 5040 | TCP (HTTP or HTTPS) | API and UI | `api.port` in the [configuration file](<https://docs.ellanetworks.com/psap/reference/config_file/index.md>) |
| 5060 | UDP and TCP (SIP) | Emergency calls from the [SIP trunks](<https://docs.ellanetworks.com/psap/reference/api/sip_trunks/index.md>) | `sip.port` in the [configuration file](<https://docs.ellanetworks.com/psap/reference/config_file/index.md>) |
| 5061 | TCP (SIP over TLS) | Emergency calls from the SIP trunks | `sip.tls.port` in the [configuration file](<https://docs.ellanetworks.com/psap/reference/config_file/index.md>) |
| 5041 | UDP (WebRTC: ICE, DTLS-SRTP) | The call takers' audio, from their browsers | `media.webrtc.port` in the [configuration file](<https://docs.ellanetworks.com/psap/reference/config_file/index.md>) |
| 20000 to 20999 | UDP (RTP and RTCP) | The callers' audio, from the media gateways or phones in the SIP trunks' SDP | `media.rtp` in the [configuration file](<https://docs.ellanetworks.com/psap/reference/config_file/index.md>) |

## Outbound

Connections Ella PSAP opens.

| Destination | Protocol | Purpose | Set by |
| --- | --- | --- | --- |
| Each address of each SMSC | SMPP 3.4 over TCP, or over TLS from the first octet | Receive emergency texts and AML, send replies | The [SMSCs](<https://docs.ellanetworks.com/psap/reference/api/smscs/index.md>) |

The call takers' browsers load the map tiles directly from the tile server, over HTTPS, set by `map` in the [configuration file](<https://docs.ellanetworks.com/psap/reference/config_file/index.md>).
