Introduction
The quality of a Voice over IP (VoIP) client call is heavily dependent on the environment that call is running in. From the device the client is running on, to the network characteristics and firewall/router configuration – a successful VoIP deployment requires careful consideration of the end to end experience. This document is intended to share the best practices in configuring and selecting the best environment for VoIP calling over unmanaged networks using Twilio Client.
Firewall Configuration
Ports and Network Connectivity Requirements
Please refer to this FAQ for necessary requirements regarding your network configuration, including ports, bandwidth and firewall configuration.
Additionally, in order to check your overall firewall and port configuration, we recommend:
- http://www.netscan.co/ for a general scan
- https://pentest-tools.com/discovery-probing/udp-port-scanner-online-nmap for a UDP port scan.
- http://netalyzr.icsi.berkeley.edu/ for a much more detailed network scan, including testing for bufferbloat.
IP Whitelisting
You can find a fixed range of IP addresses in the Twilio network which signaling and media will come from in our Twilio Client Regions documentation.
Other
If your router includes SIP Application Level Gateway (ALG) function or Stateful Packet Inspection (SPI), disable both these functions.