How to configure your router for high quality VOIP calling

Overview:

This article provides general instructions on how to configure a router for high-quality, Spoke Phone VoIP calling.

It includes the following sections:

Please note that different routers have different settings. The instructions below are generally recommended configurations.

We strongly recommend you engage your IT support professional to correctly configure any network or WiFi changes.

 

Firewall/Router Settings

  1. Your firewall/router should allow outgoing UDP and TCP (HTTPS) to the public internet from the devices that will be using Spoke Phone, and allow return traffic in response.
  2. Check to see if your router includes SIP Application Level Gateway (ALG) and/or Stateful Packet Inspection (SPI)
  3. Disable the SIP Application Level Gateway (ALG) function
  4. Disable the Stateful Packet Inspection (SPI) function
IMPORTANT
Most routers have both these functions turned ON by default.

If you do not
disable them, these functions can interfere with voice traffic and
intermittently block incoming calls from ringing on your phone.

 

Configuring QoS, port access, and whitelisting

If you have a router that allows you to manually configure QoS and prioritize traffic to specific IP addresses and port ranges, use the following configuration:

  • If your router allows you to manually allocate a specific amount of bandwidth
    to the prioritized traffic, allocate 100kb/s per expected concurrent call.

Port Access

As additional traffic on your network impacts audio quality, we suggest opening ports in your router/firewall/antivirus software to the following:

  • TCP: 443, 3478, 5349, 10194
  • UDP: from 10,000 to 60,000

Whitelisting

Whitelist the following URL's:

URL's to whitelist

*.spokephone.com

*.spk.ph

*.amazonaws.com

*.twilio.com

chunderwgll.twilio.com

chunderw-gll.twilio.com

chunderw-vpc-gll.twilio.com

eventgw.twilio.com

matrix.twilio.com

media.twiliocdn.com

Note:
Please note that the * covers all subdomains.

RTP Media (UDP) Traffic

This is the media channel and the most important to have committed bandwidth and QoS. 

Once you have an appropriate router, you can set up QoS rules from your router's interface using the media server IP addresses below. Make sure that you have set all the applicable addresses below that correspond to your location.

Spoke connects to these IP addresses using UDP, port range 10,000-60,000.

Region Location IP Addresses Range Port Range
Nort America US East Coast (Virginia) 54.172.60.0/23 10,000 - 60,000
    34.203.250.0/23 10,000 - 60,000
    168.86.128.0/18 10,000 - 60,000
  US West Coast (Oregon) 54.244.51.0/24 10,000 - 60,000
South America Brazil (São-Paulo) 177.71.206.192/26 10,000 - 60,000
    18.228.249.0/24 10,000 - 60,000
    168.86.128.0/18 10,000 - 60,000
Asia Pacific Australia (Sydney) 54.252.254.64/26 10,000 - 60,000
    3.104.90.0/24 10,000 - 60,000
    168.86.128.0/18 10,000 - 60,000
  Japan (Tokyo) 54.65.63.192/26 10,000 - 60,000
    3.112.80.0/24 10,000 - 60,000
    168.86.128.0/18 10,000 - 60,000
  Singapore 54.169.127.128/26 10,000 - 60,000
    3.1.77.0/24 10,000 - 60,000
    168.86.128.0/18 10,000 - 60,000
Europe Ireland (Dublin) 54.171.127.192/26 10,000 - 60,000
    52.215.127.0/24 10,000 - 60,000
    168.86.128.0/18 10,000 - 60,000
  Germany (Frankfurt) 35.156.191.128/25 10,000 - 60,000
    3.122.181.0/24 10,000 - 60,000
    168.86.128.0/18 10,000 - 60,000
All of these Spoke Phone domains are hosted on AWS (Amazon Web Services). You can find Amazon’s current public ranges by checking here.
Amazon may change these ranges, and services could originate from any address in these ranges.

 

More Information

 

Was this article helpful?
0 out of 2 found this helpful