Switchvox - How do I create a Phone Network for a Digium phone a different subnet or remote location?

Switchvox - How do I create a Phone Network for a Digium phone a different subnet or remote location?

Phone Networks determine how a Digium phone should behave, depending on the IP address and netmask of the phone as it sits on the network. If the phone cannot get on the network because it is using the wrong Phone Networks information (wrong IP or subnet mask), try using the Phone menu > Preferences > Select Network to select the Phone Network that matches the network you want the phone to use. Press Select softkey when network is highlighted. 

NOTE: This is relevant to Digium phones only.

IMPORTANT: For a remote phone (a phone that is not on the same network as Switchvox), make sure that you have an Access Control Rule in place (under Server > Access Control Rule > Create Access Control Rule), and that your router is forwarding the appropriate ports to Switchvox.

The Phone Network page lists all phone networks with their respective information. Three actions are available for each entry: Details, Modify, and Delete. When creating a Phone Network, enter the following information, and click the Save Phone Network button when finished. This lists the network on the Phone Network screen. Modify options are the same as the Create options.

To create a Phone Network:

  1. Login to your PBX and navigate to the Server drop down menu and select Phone Networks.

rtaImage - 2024-12-27T131723.419.png

 

  1. On the Phones Network page click the Create Phone Network button

rtaImage - 2024-12-27T131739.337.png

 

  1. On the Create Phone Networks page enter the following fields:

           General Settings:  

  • Name: Enter any unique name for this network (don't use special characters).

  • Network: The IP address and Subnet mask of the network where Digium Phones could be located.
    This should be the IP address that the phone obtains and uses to identify itself on this network. For example, this might be a subnet in your office, or the IP address of a phone at an employee's home. (This is not a remote employee's external IP address, which you would use in an Access Control Rule.)
     Example if the phone had an IP of 192.168.1.138 you would enter 192.168.1.0/24

  • Direct Port Access: Set this to YES if the phone, while on this network, has access to these ports on Switchvox: Port 80, for getting phone firmware. (If a remote phone cannot reach your Switchvox to get phone firmware, the phone will get the firmware from Digium's servers). Port 443, for getting additional files and accessing Switchvox's API. IMPORTANT NOTE: As of 6.3.6, Digium phones no longer use port 5062 for configuration, even when Direct Port Access is set to YES in Phone Networks. As the final part of the change to stop using port 5062 for Digium Phone configuration, Switchvox 6.4 no longer responds to requests on that port.
    Normally a phone just uses port 5060 for all of these activities, and for handling calls. But, if this is set to YES, the phone uses those ports as indicated. This is useful because those protocols are better suited for those activities. That's why the default phone network Internal is set to YES.
    NOTE: If the phone cannot reach the server over the other ports (443 and 80), it will use 5060 UDP instead.

  • NTP Server: By default, Digium phones use NTP to retrieve the time setting. Unless you have a particular reason, do not change these settings. If you need to change the time zone for a remote phone in a different time zone, you can do that from that Phone's Menu >  Preferences > Localization Settings > Time Zone: Click Submit after changing time zone.
    Note: If you cannot reach the default NTP server (0.digium.pool.ntp.org), you can set the Switchvox server IP address as the NTP server. Or, you can set it to any other NPT server you wish. 

 

Here is an example of how it should look:

rtaImage - 2024-12-27T131803.769.png

 

  • Primary Host (PBX)

  1.  For a remote phone, this should be the external (public) IP address for the Switchvox server. Or a fully resolvable Hostname.

  2.  For All Networks: Enter the Public IP address of the Switchvox server or the hostname which must be a resolvable hostname. To find the external IP Address, go to Server > IP Configuration > Allow NAT  Port Forwarding: > set to Yes and Look UP External IP. This will give you the external IP address.

  3.  For a phone on the same internal LAN or connected to the local network by a VPN, this should be the internal IP address of the server, or a hostname that resolves to the internal IP address of the server. This would be the IP address assigned to the server under Server > IP Configuration > eth0 Interface

  • Alternate Host:

  1.  Host Address: Enter the hostname or IP address of a separate, failover server (do NOT enter the same server host or IP as this Switchvox). In the event the server goes down, the phone will go to failover mode and register to the alternate server. The phones must be able to reach this server and register. Enter the appropriate port settings.

Advanced Settings:

  • Primary Host (PBX):  You can leave the settings at the default.

  • Alternate Host:  You can leave the settings at the default.

  • Virtual LAN Settings:

  1. Discovery Mode options:

  • LLDP: By default, the phone uses LLDP to discover Virtual Local Area Network information. If the phone does not get a response from LLDP, it will assume that there is no VLAN. (VLAN information cannot be obtained via DHCP.)

  • Manual: Use if you want to set a specific VLAN ID: Example ID, lldp-med.policy.vlan.vid

  • None: Use if you do not want the phone to attempt to use LLDP, and you do not want the phone to use a specific VLAN ID.

  • Voice and SIP 802.1p Priority: You can set priority values here, but if LLDP returns specific values to the phone, the values entered here are ignored.

  1. Quality of Service Settings:

  • Voice DSCP and SIP DSCP: You can set priority values here, but if LLDP returns specific values to the phone, the values entered here are ignored. This does not set the QoS on your network, that is done on your router (refer to your router documentation for information). This should match the QoS you have setup on your network.

  1. Miscellaneous Settings (you do not have to enable these settings):

  • Enable UDP Persist-Connection: Setting to Yes sends a UDP message to the server at the interval set on the next field.

  • UDP Persist-Connection Interval: Attempt to keep NAT tunnel alive by pinging server on a regular interval (20, 30 or 60 should be satisfactory).

Once you have filled out this information click the save button in the lower right hand corner.

rtaImage - 2024-12-27T131824.010.png

 

 

Related content