Introduction

SPLiT is a tool specially developed for a VoIP test environment that can simulate a variety of server services:


SPLiT is not an official Snom product. Snom Technology GmbH does not provide support for this tool and assumes no responsibility or liability for any damages resulting from the use of SPLIT, directly or indirectly. Use it at your own discretion and risk. (SPLiT should NEVER be used in productive environments).



Download & Installation

SPLiT was developed in Python, a modern scripting language. To avoid installing the Python interpreter, SPLiT is provided as a precompiled executable file for Windows and Mac.

Binary files for Windows and Mac OS 10.6+:

Linux

For installation on Linux please use the file "makedist-linux" from the SPLiT directory of the binary files: split_binaries.zip

You can easily start SPLiT from a user with administrative rights (on OSX or GNU/Linux you should use sudo or run it from root).

If the binary package does not work for your operating system, you can run it from the required Python source code (Python 2.X environment).

(https://www.python.org/downloads/release/python-2717/).


SPLiT Configuration

For smooth operation, you need to prepare your PC running SPLiT, which in this context acts as a server providing various services for your Snom phones.

Firstly, you must configure a fixed IP address and secondly, you must correctly set up SPLiT for operation as a DHCP, HTTP or TFTP server. This is done either manually or by means of code string.



  1. Configure your computer with a static IP address and gateway to match your test network, e. g. 192.168.100.1.
    This IP address is also used in the following configuration.





Start precompiled SPLiT Version:


For Windows

  1. Create a "split" folder to which you copy the Windows file.
  2. In the folder "split" create the folders http and/or tftp depending on the task. These serve as root directories for retrieving firmware and provisioning files.
  3. Please temporarily disable the firewall before running the SPLiT tool.
  4. Run the SPLiT executable file (SPLiT-1.1.3_w32.exe) as administrator (right mouse click, "Run as administrator"). 

    Attention: Only deactivate the firewall as long as you do not have a connection to the Internet, and then activate it again immediately.


  5. This is what it looks like when SPLiT is running:




Example for starting SPLiT from the Windows command line with admin right.

  1. Start the command line as administrator from the Windows key press and type "cmd.exe", then right click, and select "Run as administrator".



  2. Change to the directory C:/split with cd/ and cd split.

  3. Execute the following command string.

    SPLiT-1.1.3_w32.exe /-d -i 192.168.100.1 --dhcp-begin=192.168.100.100 --dhcp-end=192.168.100.200 --dhcp-subnetmask=255.255.255.0 --dhcp-gateway=192.168.100.254 --dhcp-dns=1.1.1.1 --dhcp-bcast=192.168.100.255 --dhcp-fileserver=http://192.168.100.1


  4. Under Windows please deactivate the firewall before using the SPLiT tool, otherwise the connected phones cannot get an IP address via DHCP, nor can they receive provisioning files.



For Mac OS

If you are using a Mac:


Alternatively, you can start SPLiT directly from the command line with all necessary configuration parameter:

sudo python ./split/SPLiT.py -d -i 192.168.100.1 --dhcp-begin=192.168.100.100 --dhcp-end=192.168.100.200 --dhcp-subnetmask=255.255.255.0 --dhcp-gateway=192.168.100.254 --dhcp-dns=1.1.1.1 --dhcp-bcast=192.168.100.255 --dhcp-fileserver=http://192.168.100.1


This is what it looks like when SPLiT is running on a Mac:




If you started python without parameters, at least configure the IP address field with the static IP address of your computer.



For Linux



Configuring SPLiT manually

Once you have manually started SPLiT perform the following steps:



Configure DHCP Server

Starting a DHCP server in a network where another DHCP is already running can cause serious problems. Please be careful and make sure that no other DHCP services use the same network. SPLiT provides a DHCP server (deactivated by default). 

  1. Configure the DHCP-Server providing the following information:

    1. DHCP Pool start: the first dynamically assigned IP address
    2. DHCP Pool end: the last IP address from the pool
    3. DHCP Subnet mask: the subnet mask
    4. DHCP Gateway: the standard route of the network
    5. DHCP Broadcast: the broadcast address
    6. DHCP DNS: the DNS transferred to the clients



  2. Click on the button Start DHCP Server.



Configure TFTP-Server

  1. Create a directory named "tftp" (for Mac OSX and Linux the name should be lowercase) in the same location as the SPLiT binary. This is the document root of the TFTP server.
    (Example: C:\python27\tftp)

  2. Make sure that the TFTP port is configured with the value 69 and the TFTP directory with "tftp".

  3. Click the Start TFTP Server button.

  4. Check the DHCP and TFTP services by looking at the Log tab:

    If something is not working right, you will see the error message on the Log tab. You can tick the Debug check box to receive debug messages.




SPLiT - Most common problems



Attention: Only deactivate the firewall as long as you do not have a connection to the Internet and then activate it again immediately.



Documentation on Github

An even more detailed documentation can be found on Github.