Firewall settings for EMAK service
This page is for the person who manages your network or firewall. It lists the hostnames, IP addresses and ports that EMAK desk phones, the EMAK Softphone and the EMAK Web App connect to.
Most networks need no changes. Use this page when a firewall restricts outgoing traffic, as managed networks often do, for example clinic networks run by Net+ ACDQ or a similar provider.
Allow these hostnames
Where the firewall accepts hostnames, allow emaktalk.com and every name under it (*.emaktalk.com). A rule by name keeps working if an address changes.
| Hostname | Used for | Served from |
|---|---|---|
| emaktalk.com and your company’s own name, such as company.emaktalk.com | Calls, and the settings each desk phone downloads | EMAK call servers (IP addresses below) |
| f1.emaktalk.com, f2.emaktalk.com | The two call servers by name, for firewalls that can’t use a wildcard | EMAK call servers (IP addresses below) |
| client.emaktalk.com | EMAK Web App | Cloudflare |
| admin.emaktalk.com | Older pages opened from the top menu of the EMAK Web App | Cloudflare |
| alpha.emaktalk.com | Links in emails from EMAK, which open here and then move to client.emaktalk.com | Cloudflare |
| files.emaktalk.com | Downloads: softphone installers, phone firmware, ringtones | Cloudflare |
Important: Allow the four names served from Cloudflare by name, on TCP 443. Cloudflare’s addresses change, so a rule that lists only the IP addresses below blocks the EMAK Web App and downloads.
Allow these IP addresses
If the firewall accepts only IP addresses, allow these four. Phones and softphones send their calls to the first three, the EMAK call servers.
| IP address | Server |
|---|---|
| 15.235.10.24 | Call server 1 (f1.emaktalk.com) |
| 15.235.10.117 | Call server 2 (f2.emaktalk.com) |
| 198.50.157.1 | Failover address shared by the call servers |
| 99.79.51.121 | STUN server used by the EMAK Softphone (UDP 3478 only) |
Allow these ports
Every connection starts from your network. Allow outgoing traffic to the destinations below, and the replies to it, which a stateful firewall allows by default. No port forwarding and no incoming rule is needed.
| Used for | Protocol | Ports | Destination |
|---|---|---|---|
| Call signalling (SIP) | TCP and UDP | 5060-5090 | Call servers |
| Call audio (RTP) | UDP | 16384-32768 | Call servers |
| Phone settings download (HTTPS) | TCP | 443 | Call servers |
| Phone settings and firmware download for older phones that can’t use HTTPS | TCP | 80 | Call servers; files.emaktalk.com for firmware |
| Public address discovery (STUN) | UDP | 3478 | Call servers; 99.79.51.121 for the EMAK Softphone |
| EMAK Web App and downloads | TCP | 443 | The four Cloudflare hostnames above |
- Signalling: the port differs from one phone to the next, so allow the whole range. New desk phones and the EMAK Softphone use TCP; some older phones use UDP.
- Audio: each call uses its own pair of ports, so allow the whole range.
Note: Yealink desk phones that use UDP send a keep-alive every 30 seconds. Keep the firewall’s UDP session timeout longer than that, or incoming calls stop reaching the phone.
Turn off SIP ALG
SIP ALG is a router or firewall feature that rewrites call signalling as it passes through, and it usually damages it. Turn it off. The setting’s name and place depend on the make and model, so check the router’s documentation.
Also exclude traffic to the call servers from deep packet inspection rules that target SIP or UDP.
The usual signs that SIP ALG or inspection is interfering: one person can’t hear the other (one-way audio), sound that cuts in and out, or phones that lose their connection. For other causes of poor sound, see Calls are choppy, cut out or echo.