Switchvox - IP Configuration
Table of Contents
IP Configuration
This tool lets you set the IP configuration for Switchvox. These settings are similar to settings you would set on any other computer on your network.
NOTE: Saving these changes requires a restart; all active calls will be dropped. We do not recommend making these changes during business hours.
Enter the following information to set the IP Configuration, then click Save IP Configuration.
Gateway Address. The IP address of the machine to which Switchvox sends outbound traffic. It is typically the address of your router.
DNS Addresses. Up to three DNS addresses. Switchvox uses these addresses to translate any host/domain names into IP addresses.
Allow NAT Port Forwarding. Select YES to allow NAT Port Forwarding to Switchvox. This option is useful if you need to handle calls going to and coming from an external network, and Switchvox is behind a router that performs NAT.
On your router, you must forward the ports in the table below to your Switchvox server. Also, in Machine Admin > Access Control, you must have a rule that allows the appropriate traffic for an external network. See https://sangomakb.atlassian.net/wiki/spaces/Switchvox/pages/721485941 for more information.
Ports to forward to your Switchvox Server
Protocol | TCP/UDP | Ports | Description |
---|---|---|---|
IAX | UDP | 4569 | Signaling port needed for phones outside of your network |
SIP | UDP | 5060 | Signaling port needed for phones outside of your network |
SIP | UDP | 10000-10500 | RTP audio ports needed for phones outside of your network |
| TCP | 80 | HTTP porlt for remote web voicemail access |
| TCP | 443 | HTTPS port for remote web admin access |
| TCP | 5222 & 843 | Ports for using the Switchboard remotely |
| TCP | 5269 | Ports for remote XMPP (Jabber/chat) access |
External IP Address. The public IP Address of your router. If you are not sure what your public IP is, click Look Up External IP to automatically find it.
NOTE: SIP phones that are outside of your network must use this external IP for registration.
You cannot use this feature if your ISP does not give you a static external IP address. Check with your ISP to make sure that the public IP you enter here will not change. If you do not have a static public IP, you will only be able to use phones from within your local network.
eth0 Interface
Protocol. Select either DHCP or Static.
IP Address. Set when you installed the Switchvox software, and you do not normally need to change this information after installation.
Netmask. Set when you installed the Switchvox software, and you do not normally need to change this information after installation.
Advanced Options
It is unusual to change the Advanced Options, so they are hidden. If you find that you need to change an Advanced Option, click Show Advanced Options. You can enter information in the following fields:
Label.
Hostname. You can set a hostname for Switchvox (e.g., pbx.example.com) if you have a DNS setting. This may alleviate problems with delivering emails through particularly strict SMTP servers.
IMPORTANT: This option also sets the web server’s SSL key. This may help prevent warnings from your browser when logging into Switchvox. In most cases it is best to leave this option unchanged.
IP ToS Audio and IP ToS Video. These options let you set the ToS or DSCP field in VOIP packets sent by Switchvox. This field can be used by firewalls and switches to distinguish specific types of traffic to apply QoS rules, such as favoring all voice traffic for better quality. Setting the ToS field isn’t a requirement for prioritizing VOIP traffic on your router, it’s just one way to identify VOIP traffic. If you’re not explicitly prioritizing this field in your network equipment, changing this option will have no effect on your VOIP quality.
For more information see the following resources:
RFC 2474 - "Definition of the Differentiated Services Field (DS field) in the IPv4 and IPv6 Headers", Nichols, K., et al, December 1998. IANA Assignments, DSCP registry, Differentiated Services Field Codepoints: http://www.iana.org/assignments/dscp-registry .
Additional Local Networks. Use this option to list any additional networks that are not separated from Switchvox by a NATing router. If there are any other local networks where phones are found, and where phones should connect to Switchvox using its Internal / Private IP, add that network to this list.
This option is only needed if:
Switchvox is behind a router that performs NAT.
You wish to use soft phones from outside your network.
There is more than one network (such as a remote office VPN) connected to the local net.
Networks can be listed in either CIDR (e.g., 192.168.0.0/24) or netmask (e.g.,192.168.0.0/255.255.255) notation.
When you have finished entering/editing the IP Configuration options, click the Save IP Configuration button.
See Also:
- Switchvox - Understanding the Network Settings under Server -> IP Configuration
- Switchvox - How to Unblock an IP Address
- Switchvox - How do I set up my network for Switchvox
- Switchvox - How can IPs become blocked?
- Switchvox - How can I get the hyperlinks in voicemail notifications to point to the public IP of the PBX
- Switchvox - Purpose of "Allow NAT port forwarding" in IP configuration